14.3 PingSlotChannelReq
- This command is sent by the server to the end-device to modify the frequency on which this
 - end-device expects the downlink pings.
 
30
| Octets | 3 | 1 | 
|---|---|---|
| PingSlotChannelReq | Frequency | DrRange | 
| Payload | 
31
- The Frequency coding is identical to the NewChannelReq MAC command defined in the
 - Class A.
 - Frequency is a 24bits unsigned integer. The actual ping channel frequency in Hz is 100 x
 - frequ. This allows defining the ping channel anywhere between 100MHz to 1.67GHz by
 - 100Hz step. The end-device has to check that the frequency is actually allowed by its radio
 - hardware and return an error otherwise.
 - A value of 0 instructs the end-device to use the default frequency plan.
 
©2016 LoRa™ Alliance Page 48 of 70
The authors reserve the right to change specifications without notice.
LoRaWAN Specification
- DrRange is the data rate range allowed on this channel. This byte is split in two 4-bit
 - indexes.
 
3
| Bits | 7:4 | 3:0 | 
| DrRange | Max data rate | Min data rate | 
4
5 Following the convention defined in the LoRaWAN Regional Parameters document
- [PARAMS], the ―Min data rate‖ subfield designates the lowest data rate allowed on this
 - channel. For example 0 designates DR0 / 125 kHz in the EU physical layer. Similarly ―Max
 - data rate‖ designates the highest data rate. For example in the EU spec, DrRange = 0x77
 - means that only 50 kbps GFSK is allowed on a channel and DrRange = 0x50 means that
 - DR0 / 125 kHz to DR5 / 125 kHz are supported.
 
| 11 | Upon reception of this command the end-device | answers with a PingSlotFreqAns | |||
|---|---|---|---|---|---|
| 12 | message. The MAC payload of this message contains the following information: | ||||
| 13 | |||||
| Size (bytes) | 1 | ||||
| pingSlotFreqAns Payload | Status | 
14 The Status bits have the following meaning:
| Bits | 7:2 | 1 | 0 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Status | RFU | Data rate range | Channel | ||||||
| ok | frequency ok | ||||||||
| 15 | |||||||||
| Bit = 0 | Bit = 1 | ||||||||
| Data rate range ok | The designated data rate | The data rate range is | |||||||
| range exceeds the ones | compatible with the | ||||||||
| currently defined for this end | possibilities of the end device | ||||||||
| device, the previous range is | |||||||||
| kept | |||||||||
| Channel frequency ok | The device cannot use this | The device is able to use this | |||||||
| frequency, the previous ping | frequency. | ||||||||
| frequency is kept |