Document

LoRaWAN® Specification v1.0.3

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

Contents of this Issue

Navigation

Page 26 of 71

LoRaWAN 1.0.3 Specification ©2018 LoRa™ Alliance Page 27 of 72 The authors reserve the right to change specifications without notice. The RXParamSetupAns command is used by the end-device to acknowledge the reception 746 of RXParamSetupReq command. The RXParamSetupAns command should be added in 747 the FOpt field of all uplinks until a class A downlink is received by the end-device. This 748 guarantees that even in presence of uplink packet loss, the network is always aware of the 749 downlink parameters used by the end-device. 750 The payload contains a single status byte. 751 Size (bytes) 1 RXParamSetupAns Payload Status 752 The status (Status) bits have the following meaning. 753 Bits 7:3 2 1 0 Status bits RFU RX1DRoffset ACK RX2 Data rate ACK Channel ACK 754 Bit = 0 Bit = 1 Channel ACK The frequency requested is not usable by the end- device. RX2 slot channel was successfully set RX2 Data rate ACK The data rate requested is unknown to the end-device. RX2 slot data rate was successfully set RX1DRoffset ACK the uplink/downlink data rate offset for RX1 slot is not in the allowed range RX1DRoffset was successfully set Table 8: RX2SetupAns status bits signification 755 If either of the 3 bits is equal to 0, the command did not succeed and the previous parameters 756 are kept. 757 758 5.5 End-Device Status (DevStatusReq, DevStatusAns) 759 With the DevStatusReq command a network server may request status information from an 760 end-device. The command has no payload. If a DevStatusReq is received by an end-device, 761 it responds with a DevStatusAns command. 762 Size (bytes) 1 1 DevStatusAns Payload Battery Margin The battery level (Battery) reported is encoded as follows: 763 Battery Description 0 The end-device is connected to an external power source. 1..254 The battery level, 1 being at minimum and 254 being at maximum 255 The end-device was not able to measure the battery level. Table 9: Battery level decoding 764 The margin (Margin) is the demodulation signal-to-noise ratio in dB rounded to the nearest 765 integer value for the last successfully received DevStatusReq command. It is a signed integer 766 of 6 bits with a minimum value of -32 and a maximum value of 31. 767 Bits 7:6 5:0 Status RFU Margin

Articles in this issue

view archives of Document - LoRaWAN® Specification v1.0.3