![TEKTELIC Communications Kona T0004895 Скачать руководство пользователя страница 18](http://html.mh-extra.com/html/tektelic-communications/kona-t0004895/kona-t0004895_technical-reference-manual_1077273018.webp)
Kona LoRa IoT Home Sensor TRM
T0005370_TRM
Version 1.2
TEKTELIC Communications Inc.
Confidential
Page 18 of 35
Door Open/Close detection would use both rising and falling triggers to detect when the door
was opened and when it was closed.
3.4.2.2
Count Threshold
The Count Threshold determines when the Sensor transmits after seeing an event on the Reed
Switch. A value of 0 (zero) disables the event driven transmission, while a value of 1 (one) or
greater triggers an event-based transmission after the configured number of events has
occurred, which is when the event
“
counter
”
reaches the value of the Count Threshold.
Whenever such event-based transmission occurs, the event counter is automatically reset to 0
and starts incrementing as events occur until the counter reaches the threshold again and
another event-based transmission occurs.
Application Examples:
If a sensor is intended to monitor room utilization, it may be configured either to disable event-
based transmission in favor of getting hourly reports from the sensor, or to only transmit after
50 “events” logged in the room. The latter may be useful for alerting cleaning staff that room
requires attention.
3.4.2.3
Value to Tx
The Value to Tx determines what information is transmitted whenever an event or periodic
digital transmission is req
uired. If the value is “Counter Value”, the transmission contains the
number of times the Reed Switch was triggered since the last transmission, while the value of
“Input State” causes a transmission of the current input state of the switch (i.e. Open or
Closed).
3.4.2.4
Default Configuration
Table 3-9 shows the default values for the Reed Switch configuration registers.
Table 3-9: Default Values of Reed Switch Configuration Registers
Mode
Rising and Falling Edge Enabled
Threshold
1 (one)
Value to Tx
State and Count Enabled
3.4.2.5
Example DL Messages
In the following example payloads, the Command Field is boldfaced:
•
Have Reed Switch be triggered only on rising edges:
o
DL payload: { 0x
AA
01 }
▪
Reg 2A with write bit set to true