
Vega TD-11 / User Manual
17
Revision № 06 – 10 August 2021
4 COMMUNICATION PROTOCOL
This part describes the TD-11 communication protocol with LoRaWAN
®
network.
In fields consisting of several bytes, the little endian byte order is used
SENSOR VEGA TD-11 TRANSMITS THE FOLLOWING TYPES OF PACKETS
1.
Packet with current readings
Sent regularly on LoRaWAN port 2
Size in bytes
Field description
Data type
1 byte
Packet type, this packet == 1
uint8
1 byte
Battery level, %
uint8
1 byte
Overlimits (“0” – no overlimits, “1” – there is overlimit)
uint8
4 bytes
Time of sending readings (unixtime UTC)
uint32
2 bytes
Current temperature in °C multiplied by 10
int16
1 byte
Temperature low threshold
Int8
1 byte
Temperature high threshold
Int8
1 byte
Reason of sending message
uint8
1 byte
TD-11 inputs/outputs state
uint8
If thermistor is not connected to the TD-11 (contacts «Therm» and «
»), in
the «Temperature» field will be sent an -1000 value for breakage or fault
indication. In case of thermistor short circuit will be sent an -1270 value
"Inputs state" bit field decoding
Bits
Field description
Value
0 bit
Security input state
“0” – short, “1” – open
1 bit
Tamper state
“0” – case not open, “1” – case open
2 bit
Hall sensor 1 state
“0” – sensor triggered, “1” – sensor not
triggered
3 bit
Hall sensor 2 state
“0” – sensor triggered, “1” – sensor not
triggered
4 - 7 bits
not used