Issue link: https://read.uberflip.com/i/1428377
LoRaWAN Specification ©2015 LoRa™ Alliance Page 24 of 82 The authors reserve the right to change specifications without notice. The channel mask (ChMask) encodes the channels usable for uplink access as follows with 1 bit 0 corresponding to the LSB: 2 Bit# Usable channels 0 Channel 1 1 Channel 2 .. .. 15 Channel 16 Table 5: Channel state table 3 A bit in the ChMask field set to 1 means that the corresponding channel can be used for 4 uplink transmissions if this channel allows the data rate currently used by the end-device. A 5 bit set to 0 means the corresponding channels should be avoided. 6 7 Bits 7 [6:4] [3:0] Redundancy bits RFU ChMaskCntl NbRep In the Redundancy bits the number of repetitions (NbRep) field is the number of repetition 8 for each uplink message. This applies only to ―unconfirmed‖ uplink frames. The default value 9 is 1. The valid range is [1:15]. If NbRep==0 is received the end-device should use the 10 default value. This field can be used by the network manager to control the redundancy of 11 the node uplinks to obtain a given Quality of Service. The end-device performs frequency 12 hopping as usual between repeated transmissions, it does wait after each repetition until the 13 receive windows have expired. 14 The channel mask control (ChMaskCntl) field controls the interpretation of the previously 15 defined ChMask bit mask. This field will only be non-zero values in networks where more 16 than 16 channels are implemented. It controls the block of 16 channels to which the 17 ChMask applies. It can also be used to globally turn on or off all channels using specific 18 modulation. This field usage is region specific and is defined in Chapter 7. 19 The channel frequencies are region-specific and they are defined in Chapter 6. An end- 20 device answers to a LinkADRReq with a LinkADRAns command. 21 22 Size (bytes) 1 LinkADRAns Payload Status 23 24 Bits [7:3] 2 1 0 Status bits RFU Power ACK Data rate ACK Channel mask ACK 25
