Kona LoRa IoT Home Sensor TRM
T0005370_TRM
Version 1.2
TEKTELIC Communications Inc.
Confidential
Page 13 of 35
3.3
LoRaMAC Configuration
LoRaMAC 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. In this table, B
i
refers to data byte indexed
i
as defined Figure 3-1.
Table 3-2: LoRaMAC Configuration Registers
Address Access Value
# Bytes Description
0x10
R/W
Join Mode
2
B
0
-b
it 7: 0
=
ABP, 1
=
OTAA
B
1
: RFU
0x11
R/W
•
Unconfirmed/Confirmed
UL
•
Disable/Enable Duty
Cycle
•
Disable/Enable ADR
2
B
0
: RFU
B
1
-bit 0: 0
=
Unconfirmed UL, 1
=
Confirmed
UL
B
1
-bit 2: 0
=
Disable duty cycle, 1
=
Enable
duty cycle
B
1
-bit 3: 0
=
Disable ADR, 1
=
Enable ADR
0x12
R/W
•
Default DR number
•
Default Tx Power number
2
B
0
-bits 3
–
0: Default DR number [3]
B
1
-bits 3
–
0: Default Tx power number [3]
0x13
R/W
•
Rx2 window DR number
•
Rx2 window channel
frequency
5
B
0
-B
1
-B
2
-B
3
: Channel frequency in Hz for Rx2
B
4
: DR for Rx2
0x19
R/W
Net ID MSBs
2
Bytes B
0
-B
1
in the
Net ID (
B
0
-B
1
-B
2
-B
3
)
0x1A
R/W
Net ID LSBs
2
Bytes B
2
-B
3
in the
Net ID (
B
0
-B
1
-B
2
-B
3
)
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.1
Default Configuration
Table 3-3 and Table 3-5 show the default values for the LoRaMAC configuration registers (cf.
[1], [3]).
Table 3-3: Default Values of LoRaMAC Configuration Registers
Address
Default Value
0x10
0x 80 00 (OTAA mode)
0x11
0x 00 0C (Unconfirmed UL, enabled duty cycle, enabled ADR)
0x12
0x 00 04 (DR0, Tx Power
0x13
As per Table 3-5
0x19
0x 00 00
0x1A
0x 00 00