LoRaWAN Data Registers
Data Registers
The following registers contain information with regards to the LoRaWAN Communication.
Reset
0x95
W
Resets the LoRa Stack. Write 0x01 to rejoin the network
Status
0x96
R
Current join status of the device
LoRa Radio Module
0x97
R
SX126x
Semtech Module (SXxxx)
LoRaWAN Protocol Version
0x99
R
1.0.4
3 bytes The LoRaWAN Protocol Version used
Device EUI
0x9A
R/W
The Device EUI
App EUI
0x9B
R/W
The APP EUI
App Key
0x9C
R/W
The Application Key
LoRaWAN CSMA (Carrier Sense Multiple Access)
0x9E
R/W
0x00
0x00: Disabled 0x01: Enabled
LoRaWAN Device Class
0x9F
R/W
0x00: Class A 0x01: Class B 0x02: Class C
ADR Mode
0XA0
R/W
0x01
The ADR Mode 0x00: Disabled 0x01: Enabled
Number of Join Attempts
0xA4
R/W
2
1 byte, Uint8 n = 0 : disabled (infinite) n > 0 : number of join attempts in the LinkCheckReq timeframe
Timeframe for LinkCheckReq
0xA5
R/W
96
2 bytes, Uint16 amount of hours in which the LinkCheckReq will take place.
Data Retransmission
0xA6
R/W
0x00
0x00: Disabled 0x01: Enabled
LoRa Communication Watchdog Alarm
0xA7
R
Returns the current alarm state of the LoRaWAN watchdog.
0 = No Alarm
1 = Alarm
LoRaWAN Region
The LoRaWAN Region the device is configured to work in, make sure it matches you network as LoRaWAN regions/bands are country dependent.
Do note that you only select the region which is known to be supported and mentioned in the Device’s Manual.
0x00
EU863-870
0x01
AU915-928
0x02
US902-928
0x03
AS923-925
0x04
2.4GHz
Spread Factor
The Spread Factor is the fixed DR used by the device when the ADR is disabled.
0x00
DR0 (SF12 BW125 in EU868 region)
0x01
DR1 (SF11 BW125 in EU868 region)
0x02
DR2 (SF10 BW125 in EU868 region)
0x03
DR3 (SF9 BW125 in EU868 region)
0x04
DR4 (SF8 BW125 in EU868 region)
0x05
DR5 (SF7 BW125 in EU868 region)
0x06
DR6 ((SF7 BW250 in EU868 region)
ADR Profile
The ADR (Adaptive Data Rate) can be set to ON or OFF. More specifically this result in:
ADR ON: the device uses a so called ADR profile to decide how to adapt the data rate. By default, the profile is set to ADR by network : actually means that DR is network controlled, i.e. the LoRaWAN network is responsible for telling the device how to adjust the data rate (spreading factor)
ADR OFF: the device uses the DR set to spread factor register. (Fixed Data Rate)
The ADR profile that the device uses when ADR is set to ON can be changed through a downlink.
ADR by network
0x00
DR controlled by the network
Low Power
0x01
The used SF is distributed as: 30% SF7, 30% SF8, 30% SF9, 10% SF10. It's a tradeoff that favours low power above long range
Long Range
0x02
The used SF is distributed as: 30% SF9, 30% SF10, 20% SF11, 20% SF12. It's a tradeoff that favours long range above low power
Radio Mode
The Radio Mode can be set to the desired radio mode for the device. Please refer to the iQ D2D manual for more information.
0x00
LoRaWAN
0x01
iQ D2D
0x02
iQ D2D + LoRaWAN
Last updated