Issue link: https://read.uberflip.com/i/1428386
LoRaWAN Specification ©2016 LoRa™ Alliance Page 69 of 91 The authors reserve the right to change specifications without notice. 15 Class B MAC commands 1 All commands described in the Class A specification shall be implemented in Class B 2 devices. The Class B specification adds the following MAC commands. 3 4 CID Command Transmitted by Short Description End- device Gateway 0x10 PingSlotInfoReq x Used by the end-device to communicate the ping unicast slot data rate and periodicity to the network server 0x10 PingSlotInfoAns x Used by the network to acknowledge a PingInfoSlotReq command 0x11 PingSlotChannelReq x Used by the network server to set the unicast ping channel of an end-device 0x11 PingSlotFreqAns x Used by the end-device to acknowledge a PingSlotChannelReqcommand 0x12 BeaconTimingReq x Used by end-device to request next beacon timing & channel to network 0x12 BeaconTimingAns x Used by network to answer a BeaconTimingReq uplink 0x13 BeaconFreqReq x Command used by the network server to modify the frequency at which the end- device expects to receive beacon broadcast 0x13 BeaconFreqAns x Used by the end-device to acknowledge a BeaconFreqReq command 15.1 PingSlotInfoReq 5 With the PingSlotInfoReq command an end-device informs the server of its unicast ping 6 slot periodicity and expected data rate. This command must only be used to inform the 7 server of the parameters of a UNICAST ping slot. A multicast slot is entirely defined by the 8 application and should not use this command. 9 10 Size (bytes) 1 PingSlotInfoReq Payload Periodicity & data rate 11 Bit# 7 [6:4] [3:0] Periodicity & data rate RFU Periodicity Data rate The Periodicity subfield is an unsigned 3 bits integer encoding the ping slot period currently 12 used by the end-device using the following equation. 13 = 2 in seconds 14 Periodicity = 0 means that the end-device opens a ping slot every second 15 Periodicity = 7 , every 128 seconds which is the maximum ping period supported by 16 the LoRaWAN Class B specification. 17 The Data rate subfield encodes the data rate at which the end-device expects any ping. This 18 uses the same encoding scheme that the LinkAdrReq command described in the Class A 19 specification. 20
