Vega TP-11 / User Manual
Revision 09
–
25
5 COMMUNICATION PROTOCOL
This part describes the TP-11 data exchange protocol with LoRaWAN network.
In fields consisting of several bytes, the little-endian byte order is used
CONVERTER TP-11 TRANSMITS THE FOLLOWING TYPES OF PACKETS
1.
Packet with current readings from connected heat meter, sent regularly or by the
request or by the one of “Reason of sending message” field events
Size in bytes
Field description
Data type
1 byte
Packet type, this packet == 1
uint8
1 byte
Battery level, %
uint8
1 byte
Over limits («0» – there is no, «1» - there is)
uint8
4 byte
Time of current readings in that packet (unixtime UTC)
uint32
1 byte
Current device temperature
int8
2 bytes
Current low threshold (mА*100)
uint16
2 bytes
Current high threshold (mА*100)
uint16
1 byte
Reason of sending message
uint8
1 byte
TP-11 inputs/outputs state
uint8
2 bytes
Measurement current of connected sensor (mA*100)
uint16
“Reason of sending message” field codes
Code
Value
0x00
Sending packet by the time
0x01
By the security input 1 triggering
0x02
By the security input 2 triggering
0x03
External power state was change
0x04
Measurement is out of the specified limits
0x05
Transmitting by the request
"Inputs/outputs state" bit field decoding
Bits
Field description
0 bit
Power (0 – battery, 1 – external)
1 bit
Security input 1 (0 - unclosed, 1 – closed)
2 bit
Security input 2 (0 - unclosed, 1 – closed)
3 bit
Output 1 (0 – off, 1 – on)
4 bit
Output 2 (0 – off, 1 – on)
5 bit
reserve (always 0)
6 bit
reserve (always 0)
7 bit
reserve (always 0)