Issue link: https://read.uberflip.com/i/1428377
LoRaWAN Specification ©2015 LoRa™ Alliance Page 26 of 82 The authors reserve the right to change specifications without notice. 5.4 Receive Windows Parameters (RXParamSetupReq, 1 RXParamSetupAns) 2 The RXParamSetupReq command allows a change to the frequency and the data rate set 3 for the second receive window (RX2) following each uplink. The command also allows to 4 program an offset between the uplink and the RX1 slot downlink data rates. 5 6 Size (bytes) 1 3 RX2SetupReq Payload DLsettings Frequency 7 Bits 7 6:4 3:0 DLsettings RFU RX1DRoffset RX2DataRate 8 The RX1DRoffset field sets the offset between the uplink data rate and the downlink data 9 rate used to communicate with the end-device on the first reception slot (RX1). As a default 10 this offset is 0.. The offset is used to take into account maximum power density constraints 11 for base stations in some regions and to balance the uplink and downlink radio link margins. 12 The data rate (RX2DataRate) field defines the data rate of a downlink using the second 13 receive window following the same convention as the LinkADRReq command (0 means 14 DR0/125kHz for example). The frequency (Frequency) field corresponds to the frequency of 15 the channel used for the second receive window, whereby the frequency is coded following 16 the convention defined in the NewChannelReq command. 17 The RXParamSetupAns command is used by the end-device to acknowledge the reception 18 of RXParamSetupReq command. The payload contains a single status byte. 19 Size (bytes) 1 RX2SetupAns Payload Status 20 The status (Status) bits have the following meaning. 21 Bits 7:3 2 1 0 Status bits RFU RX1DRoffset ACK RX2 Data rate ACK Channel ACK 22 Bit = 0 Bit = 1 Channel ACK The frequency requested is not usable by the end- device. RX2 slot channel was successfully set RX2 Data rate ACK The data rate requested is unknown to the end-device. RX2 slot data rate was successfully set RX1DRoffset ACK the uplink/downlink data rate offset for RX1 slot is not in the allowed range RX1DRoffset was successfully set Table 7: RX2SetupAns status bits signification 23 If either of the 3 bits is equal to 0, the command did not succeed and the previous 24 parameters are kept. 25 26
