
Kona Home Sensor TRM
T0005370_TRM
Version Rev-C 1.0
TEKTELIC Communications Inc.
Confidential
Page 14 of 34
3.3
LoRaWAN MAC Configuration
LoRaWAN MAC options can be configured using the LoRaWAN DL. These configuration options
change the default MAC configuration that the Sensor loads on start-up. They can also change
certain run-time parameters. Table 3-2 shows the MAC configuration registers.
Table 3-2: LoRaWAN MAC Configuration Registers
Address Access Value
Size
[bytes]
Description
0x10
R/W
Join Mode
2
Bit 15: 0=ABP, 1=OTAA
0x11
R/W
Disable/Enable ADR
Disable/Enable Duty
Cycle
Private/Public Networks
Unconfirmed/Confirmed
UL
2
Bit 0: 0=unconfirmed UL, 1=confirmed UL
Bit 1: 0=private networks, 1=public
networks
Bit 2: 0=disable duty cycle, 1=enable duty
cycle
Bit 3: 0=disable ADR, 1=enable ADR
0x12
R/W
Default DR number
Default Tx Power
number
2
Bits 3
–
0: default Tx power number (see
LoRaWAN Regional Specification
[3])
Bits 11
–
8: default DR number (see
LoRaWAN Regional Specification
[3])
0x13
R/W
Rx2 window channel
number
Rx2 window DR number
2
Bits 3
–
0: DR number in Rx2 window
Bits 11
–
8: Channel number in Rx2 window
0x19
R/W
Net ID MSB
2
MSBs of Net ID
0x1A
R/W
Net ID LSB
2
LSBs of Net ID
Note
: Modifying these values only changes them in the Sensor device. Options for the Sensor in
the NS also need to be changed in order to not strand a Sensor. Modifying configuration
parameters in the NS is outside the scope of this document.
3.3.1
LoRa Config Examples
In the following example payloads, the Command Field is boldfaced:
•
Switch Device to ABP Mode:
o
DL payload: { 0x
90
00 00 }
•
Set ADR On, No Duty Cycle, Public Network, and Confirmed UL Payloads:
o
DL payload: { 0x
91
00 0B }
•
Set default DR number to 15, default Tx Power number to 15, Rx2 DL channel number to
4, and Rx2 DR number to 2:
o
DL payload: { 0x
92
0F 0F
93
04 02 }