Kona LoRa IoT Home Sensor TRM
T0005370_TRM
Version 1.2
TEKTELIC Communications Inc.
Confidential
Page 19 of 35
▪
“Rising Edge” enabled, “Falling Edge” disabled
•
Read current value of Count Threshold:
o
DL payload: { 0x
2B
}
▪
Reg 2B with write bit set to false
•
Transmit the Reed Switch “state” as soon as the Reed Switch is tripped 10 times:
o
DL payload: { 0x
AB
00 0A
AC
01 }
▪
Reg 2B and Reg 2C with their write bits set to true
▪
Count Threshold set to 10
▪
Value to Tx set to “Input State”
•
Disable the Reed Switch event-driven transmission, but report the number of times the
Reed Switch has been triggered whenever a report is inquired (i.e. in the case of
periodic reporting):
o
DL payload: { 0x
AB
00 00
AC
02 }
▪
Count Threshold set to 0 (zero)
▪
Value to Tx
set to “Counter Value”
3.4.3
External Input Configuration
Table 3-10 shows a list of External Input configuration registers.
Table 3-10: External Input Configuration Registers
Address
Access
Value
# Bytes Description
0x2D
R/W
Mode
1
Bit 0: Rising Edge Enable
Bit 1: Falling Edge Enable
Other bits are ignored.
0x2E
R/W
Count Threshold
2
# of Triggers for event transmission. A
value of 0 disables event transmission
0x2F
R/W
Value to Transmit 1
Bit 0: Input State
Bit 1: Counter Value
Other bits are ignored.
3.4.3.1
Mode
The External Input is edge-triggered and can be set to trigger to rising-edge trigger (Low or
Closed to High or Open), falling-edge triggered (High or Open to Closed or Low) or both. An
attempt to set the Mode to 0x00 (i.e. to disable both rising and falling edges) is ignored by the
Sensor.
Application Examples:
•
Door Open/Close detection would use both rising and falling triggers to detect when the
door was opened and when it was closed.