Document

LoRaWAN® Specification v1.0.3

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

Contents of this Issue

Navigation

Page 21 of 71

LoRaWAN 1.0.3 Specification ©2018 LoRa™ Alliance Page 22 of 72 The authors reserve the right to change specifications without notice. 5 MAC Commands 608 For network administration, a set of MAC commands can be exchanged exclusively between 609 the network server and the MAC layer on an end-device. MAC layer commands are never 610 visible to the application or the application server or the application running on the end-device. 611 A single data frame can contain any sequence of MAC commands, either piggybacked in the 612 FOpts field or, when sent as a separate data frame, in the FRMPayload field with the FPort 613 field being set to 0. Piggybacked MAC commands are always sent without encryption and 614 MUST NOT exceed 15 octets. MAC commands sent as FRMPayload are always encrypted 615 and MUST NOT exceed the maximum FRMPayload length. 616 Note: MAC commands whose content shall not be disclosed to an 617 eavesdropper must be sent in the FRMPayload of a separate data 618 message. 619 A MAC command consists of a command identifier (CID) of 1 octet followed by a possibly 620 empty command-specific sequence of octets. 621 622 CID Command Transmitted by Short Description End- device Gateway 0x02 LinkCheckReq x Used by an end-device to validate its connectivity to a network. 0x02 LinkCheckAns x Answer to LinkCheckReq command. Contains the received signal power estimation indicating to the end-device the quality of reception (link margin). 0x03 LinkADRReq x Requests the end-device to change data rate, transmit power, repetition rate or channel. 0x03 LinkADRAns x Acknowledges the LinkRateReq. 0x04 DutyCycleReq x Sets the maximum aggregated transmit duty-cycle of a device 0x04 DutyCycleAns x Acknowledges a DutyCycleReq command 0x05 RXParamSetupReq x Sets the reception slots parameters 0x05 RXParamSetupAns x Acknowledges a RXSetupReq command 0x06 DevStatusReq x Requests the status of the end-device 0x06 DevStatusAns x Returns the status of the end-device, namely its battery level and its demodulation margin 0x07 NewChannelReq x Creates or modifies the definition of a radio channel 0x07 NewChannelAns x Acknowledges a NewChannelReq command 0x08 RXTimingSetupReq x Sets the timing of the of the reception slots 0x08 RXTimingSetupAns x Acknowledges RXTimingSetupReq command 0x09 TxParamSetupReq x Used by the network server to set the maximum allowed dwell time and Max EIRP of end-device, based on local regulations 0x09 TxParamSetupAns x Acknowledges TxParamSetupReq command 0x0A DlChannelReq x Modifies the definition of a downlink RX1 radio channel by shifting the downlink frequency from the uplink frequencies (i.e. creating an asymmetric channel) 0x0A DlChannelAns x Acknowledges DlChannelReq command

Articles in this issue

view archives of Document - LoRaWAN® Specification v1.0.3