Vega TL-11 / User Manual
23
Revision 03 - 07 September 2020
5 COMMUNICATION PROTOCOL
This part describes the TL-11 data exchange protocol with LoRaWAN network.
In fields consisting of several bytes, the little-endian byte order is used
SENSOR TL-11 TRANSMITS THE FOLLOWING TYPES OF PACKETS
1.
Packet with current readings
Size in bytes
Field description
Data type
1 byte
Battery level, %
uint8_t
4 bytes
Time of sending readings (unixtime UTC)
uint32_t
1 byte
Temperature of built-in thermistor in °C multiplied by 10
int16_t
1 byte
Temperature of external probe in °C multiplied by 10
int16_t
1 byte
Main parameters
uint8_t
If thermistor is not connected to the TL-11 in the «Temperature» field of the
corresponding thermistor will be sent an -1000 value for breakage or fault
indication. In case of thermistor short circuit will be sent an -1270 value
"Main parameters" bit field decoding
Bits
Field description
Value
0-1 bits
Reason of message forming
2 bit
Tamper state
“0” – case not open, “1” – case open
3…7 bits
Reserved (0 always)
“Reason of message forming” field codes
Code
Value
0x00
Sending packet by the time
0x01
By the tamper triggering
0x02
Reserved
0x03
Reserved