Document

LoRaWAN® Specification v1.0.1

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

Contents of this Issue

Navigation

Page 81 of 90

LoRaWAN Specification ©2016 LoRa™ Alliance Page 82 of 91 The authors reserve the right to change specifications without notice. 19 Examples and Application Information 1 Examples are illustrations of the LoRaWAN spec for information, but they are not part of the 2 formal specification. 3 19.1 Uplink Timing Diagram for Confirmed Data Messages 4 The following diagram illustrates the steps followed by an end-device trying to transmit two 5 confirmed data frames (Data0 and Data1): 6 7 8 Figure 17: Uplink timing diagram for confirmed data messages 9 The end-device first transmits a confirmed data frame containing the Data0 payload at an 10 arbitrary instant and on an arbitrary channel. The frame counter Cu is simply derived by 11 adding 1 to the previous uplink frame counter. The network receives the frame and 12 generates a downlink frame with the ACK bit set exactly RECEIVE_DELAY1 seconds later, 13 using the first receive window of the end-device. This downlink frame uses the same data 14 rate and the same channel as the Data0 uplink. The downlink frame counter Cd is also 15 derived by adding 1 to the last downlink towards that specific end-device. If there is no 16 downlink payload pending the network shall generate a frame without a payload. In this 17 example the frame carrying the ACK bit is not received. 18 If an end-device does not receive a frame with the ACK bit set in one of the two receive 19 windows immediately following the uplink transmission it may resend the same frame with 20 the same payload and frame counter again at least ACK_TIMEOUT seconds after the 21 second reception window. This resend must be done on another channel and must obey the 22 duty cycle limitation as any other normal transmission. If this time the end-device receives 23 the ACK downlink during its first receive window, as soon as the ACK frame is demodulated, 24 the end-device is free to transmit a new frame on a new channel. 25 19.2 The third ACK frame in this example also carries an application 26 payload. A downlink frame can carry any combination of ACK, MAC 27 control commands and payload. Downlink Diagram for Confirmed 28 Data Messages 29 The following diagram illustrates the basic sequence of a "confirmed" downlink. 30 31 32 gateway End-point Confirmed Data0 {Cu} ACK {Cd} Confirmed Data0 {Cu} ACK {Cd+1} Confirmed Data1 {Cu+1} Data + ACK {Cd+2} ok ok ok ko ok ok Receive slots (diag 1)

Articles in this issue

view archives of Document - LoRaWAN® Specification v1.0.1