Document

LoRaWAN® Specification v1.0.1

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

Contents of this Issue

Navigation

Page 26 of 90

LoRaWAN Specification ©2016 LoRa™ Alliance Page 27 of 91 The authors reserve the right to change specifications without notice. If either of the 3 bits is equal to 0, the command did not succeed and the previous 1 parameters are kept. 2 3 5.5 End-Device Status (DevStatusReq, DevStatusAns) 4 With the DevStatusReq command a network server may request status information from an 5 end-device. The command has no payload. If a DevStatusReq is received by an end- 6 device, it responds with a DevStatusAns command. 7 Size (bytes) 1 1 DevStatusAns Payload Battery Margin The battery level (Battery) reported is encoded as follows: 8 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 8: Battery level decoding 9 The margin (Margin) is the demodulation signal-to-noise ratio in dB rounded to the nearest 10 integer value for the last successfully received DevStatusReq command. It is a signed 11 integer of 6 bits with a minimum value of -32 and a maximum value of 31. 12 Bits 7:6 5:0 Status RFU Margin 5.6 Creation / Modification of a Channel (NewChannelReq, 13 NewChannelAns) 14 15 The NewChannelReq command can be used to either modify the parameters of an existing 16 channel or to create a new one. The command sets the center frequency of the new channel 17 and the range of data rates usable on this channel: 18 Size (bytes) 1 3 1 NewChannelReq Payload ChIndex Freq DrRange 19 The channel index (ChIndex) is the index of the channel being created or modified. 20 Depending on the region and frequency band used, the LoRaWAN specification imposes 21 default channels which must be common to all devices and cannot be modified by the 22 NewChannelReq command (cf. Chapter 6). If the number of default channels is N, the 23 default channels go from 0 to N-1, and the acceptable range for ChIndex is N to 15. A 24 device must be able to handle at least 16 different channel definitions. In certain region the 25 device may have to store more than 16 channel definitions. 26 27 The frequency (Freq) field is a 24 bits unsigned integer. The actual channel frequency in Hz 28 is 100 x Freq whereby values representing frequencies below 100 MHz are reserved for 29 future use. This allows setting the frequency of a channel anywhere between 100 MHz to 30 1.67 GHz in 100 Hz steps. A Freq value of 0 disables the channel. The end-device has to 31 check that the frequency is actually allowed by its radio hardware and return an error 32 otherwise. 33 34

Articles in this issue

view archives of Document - LoRaWAN® Specification v1.0.1