Document

LoRaWAN® Specification v1.0.1

Issue link: https://read.uberflip.com/i/1428386

Contents of this Issue

Navigation

Page 83 of 90

LoRaWAN Specification ©2016 LoRa™ Alliance Page 84 of 91 The authors reserve the right to change specifications without notice. In this example the network has two confirmed data frames to transmit to the end-device. 1 The frame exchange is initiated by the end-device via a normal "unconfirmed" uplink 2 message on channel A. The network uses the first receive window to transmit the Data0 with 3 the bit FPending set as a confirmed data message. The device acknowledges the reception 4 of the frame by transmitting back an empty frame with the ACK bit set on a new channel B. 5 RECEIVE_DELAY1 seconds later, the network transmits the second frame Data1 on 6 channel B, again using a confirmed data message but with the FPending bit cleared. The 7 end-device acknowledges on channel C. 8 9 Figure 20: Downlink timing diagram for frame-pending messages, example 2 10 In this example, the downlink frames are "unconfirmed" frames, the end-device does not 11 need to send back and acknowledge. Receiving the Data0 unconfirmed frame with the 12 FPending bit set the end-device sends an empty data frame. This first uplink is not received 13 by the network. If no downlink is received during the two receive windows, the network has 14 to wait for the next spontaneous uplink of the end-device to retry the transfer. The end- 15 device can speed up the procedure by sending a new empty data frame. 16 Note: An acknowledgement is never sent twice. 17 The FPending bit, the ACK bit, and payload data can all be present in the same downlink. 18 For example, the following frame exchange is perfectly valid. 19 20 21 Figure 21: Downlink timing diagram for frame-pending messages, example 3 22 The end-device sends a "confirmed data" uplink. The network can answer with a confirmed 23 downlink containing Data + ACK + "Frame pending" then the exchange continues as 24 previously described. 25 19.4 Data-Rate Adaptation during Message Retransmissions 26 When an end-device attempts the transmission of a "confirmed' frame toward the network it 27 expects to receive an acknowledgement in one of the subsequent reception slot. In the 28 absence of the acknowledgement it will try to re-transmit the same data again. This re- 29 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)

Articles in this issue

view archives of Document - LoRaWAN® Specification v1.0.1