Issue link: https://read.uberflip.com/i/1428377
LoRaWAN Specification ©2015 LoRa™ Alliance Page 75 of 82 The authors reserve the right to change specifications without notice. Figure 17: Downlink timing diagram for frame-pending messages, example 1 1 In this example the network has two confirmed data frames to transmit to the end-device. 2 The frame exchange is initiated by the end-device via a normal ―unconfirmed‖ uplink 3 message on channel A. The network uses the first receive window to transmit the Data0 with 4 the bit FPending set as a confirmed data message. The device acknowledges the reception 5 of the frame by transmitting back an empty frame with the ACK bit set on a new channel B. 6 RECEIVE_DELAY1 seconds later, the network transmits the second frame Data1 on 7 channel B, again using a confirmed data message but with the FPending bit cleared. The 8 end-device acknowledges on channel C. 9 10 Figure 18: Downlink timing diagram for frame-pending messages, example 2 11 In this example, the downlink frames are ―unconfirmed‖ frames, the end-device does not 12 need to send back and acknowledge. Receiving the Data0 unconfirmed frame with the 13 FPending bit set the end-device sends an empty data frame. This first uplink is not received 14 by the network. If no downlink is received during the two receive windows, the network has 15 to wait for the next spontaneous uplink of the end-device to retry the transfer. The end- 16 device can speed up the procedure by sending a new empty data frame. 17 Note: An acknowledgement is never sent twice. 18 The FPending bit, the ACK bit, and payload data can all be present in the same downlink. 19 For example, the following frame exchange is perfectly valid. 20 21 22 Figure 19: Downlink timing diagram for frame-pending messages, example 3 23 The end-device sends a ―confirmed data‖ uplink. The network can answer with a confirmed 24 downlink containing Data + ACK + ―Frame pending‖ then the exchange continues as 25 previously described. 26 gateway End-point Data uplink {cu} Data0+F_P {cd} void {cu+1} ok void {cu+3} ok ok Data1+F_P {cd} void {cu+2} gateway End-point Confirmed Data uplink {cu} Confirmed Data0+F_P+ACK {cd} ACK {cu+1} Confirmed Data1+F_P {cd+1} ACK {cu+3} ok void {cu+2} Receiving a frame without the ACK bit set , server retransmits Data1 ok ok Confirmed Data1+F_P {cd+1} (diag 2)
