Document

TS001-1.0.4 LoRaWAN® L2 1.0.4 Specification

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

Contents of this Issue

Navigation

Page 27 of 89

LoRaWAN ® L2 1.0.4 Specification © 2020 LoRa Alliance ® Page 28 of 90 The authors reserve the right to change specifications without notice. MAC Commands which require an answer from the Network expire after the Class A receive 832 windows have elapsed. 833 MAC commands are answered/acknowledged by the receiving end in the same order they 834 were transmitted. The answer to each MAC command is sequentially added to a buffer. All 835 MAC commands received in a single frame SHALL be answered in a single frame, which 836 means that the buffer containing the answers SHALL be sent in a single frame. 837 If the transmitter has a combination of application payload and MAC answers, or new MAC 838 commands to send and they cannot fit in the same frame, the priority for including information 839 in the frame is shown below. Within a single frame, a transmitter SHALL send all higher-priority 840 information before sending any lower- priority information. 841 842 Priority Level Information type Highest MAC answers New MAC commands Lowest Application payload Table 15: Transmit data insertion prioritization 843 844 845 Note: MAC answers are defined as MAC commands sent by the 846 transmitter in response to received MAC commands. New MAC 847 commands are defined as MAC commands sent by the transmitter but 848 not in response to a received MAC command. 849 850 If the MAC command buffer is too large to fit in the frame, the transmitter SHALL truncate the 851 buffer at the end of the last MAC command that is able to fit within the frame. In all cases, the 852 full list of MAC commands SHALL be executed by the receiver, even if the buffer containing 853 the MAC answers must be truncated. 854 855 Note: When receiving a truncated MAC answer, a Network Server may 856 retransmit the MAC commands that could not be answered. The 857 Network Server may elect to send a list of MAC commands, which 858 cannot be answered in a single frame, in order to transition the end- 859 device rapidly to an optimal configuration. 860 861 Note: In general, the transmitter will reply once to a MAC command. If 862 the answer is lost, the original sender has to resend the command. The 863 original sender decides that the command must be resent when it 864 receives a new frame that does not contain the answer. Only the 865 RXParamSetupReq, RXTimingSetupReq, TXParamSetupReq, and 866 DlChannelReq commands impact the downlink parameters and 867 therefore have a different acknowledgment mechanism as described in 868 their corresponding sections. 869 870 Note: When a MAC command is initiated by an end-device, the Network 871 Server may only send the acknowledgment/answer in the RX1/RX2 872 windows immediately following the request. If the answer is not received 873

Articles in this issue

view archives of Document - TS001-1.0.4 LoRaWAN® L2 1.0.4 Specification