
LoRaWAN Demonstrator (Provider) - User guide version V1.2
page : 20 / 24
5.3.6
ADR Configuration
These registers are locked. In order to be unlocked, the following command must be sent:
ATT63 PROVIDER<CR>
The Adaptive Datarate (ADR) can be configured through register S220. This register contained 4 bytes, coded as such:
Byte 1
(reserved, write 0)
Byte 2
(reserved, write 0)
Byte 3
(reserved, write 0)
Byte 4
7
6
5
4
3
2
1
0
Byte 4
Bit N°
Default value
Description
0
1
0 =ADR bit disabled
1 = ADR bit enabled
1
1
0 = ADRACKReq disabled
1 = ADRACKReq enabled
7..2
0
Reserved
Note on ADR:
If ADR is activated, the device will have no control over the SF as this parameter may be changed by
the network (see 5.3.4). If ADR is deactivated, the SF value is the one contained in register S201 (see
5.3.7).
Note on ADRACKReq:
When the device has transmitted multiple frames but hasn’t received any downlink (whether it’
s a
generic downlink or an ACQ) from the server, enabling ADRACKReq will allow the device to try and
“force” a downlink from the server when a certain amount of transmitted frames is reached. That way it
can ensure that it is still connected to the network.
If an ADRACKReq is sent but the device still receives no answer, it will increase its SF value in order
to increase the radio link budget. The goal is to re-establish a potentially lost connection between device
and server.
5.3.7
Spreading Factor
These registers are locked. In order to be unlocked, the following command must be sent:
ATT63 PROVIDER<CR>
When ADR is deactivated, the Spreading Factor can be set through register S201:
Register Number
Description
Default Value
Range (Min-Max)
Comment
201
SF
12
5-12
5 = FSK 50kbps
6 = SF7 250kHz
7-12 = SF7-SF12