VEGA SI-13/User Manual
24
Revision 08 – 04 May 2018
5 COMMUNICATION PROTOCOL
This part describes the SI-13 data exchange protocol with LoRaWAN network. SI-13 uses
the LoRaWAN port 2 for uplink and downlink messages. In fields consisting of several bytes, the
little endian byte order is used.
VEGA SI-13 PULSE COUNTER TRANSMITS THE FOLLOWING TYPES OF PACKETS
1.
Packet with current readings, sent regularly
Size in bytes
Field description
1 byte
Packet type, this packet = 1
1 byte
Reserve
1 byte
Values of basic settings (bit field)
4 bytes
Reserve
1 byte
Temperature,
°
С
4 bytes
Input 1 reading (depending on the type – number of pulses or
status: 0 – open, 1 - closed)
4 bytes
Input 2 reading (depending on the type – number of pulses or
status: 0 – open, 1 - closed)
4 bytes
Reserve
4 bytes
Reserve
"Values of basic settings" bit field decoding
Bits
Field description
0 bit
Activation type: 0 - OTAA, 1 – ABP
1 bit
Query for packet confirmation: 0 – off, 1 – on
2,3 bits
Communication period:
|3==0 |2==0| - 1 hour
|3==0 |2==1| - 6 hours
|3==1 |2==0| - 12 hours
|3==1 |2==1 | - 24 hours
4 bits
First input type: 0 – pulse, 1 - security
5 bits
Second input type: 0 – pulse, 1 - security
6 bits
Third input type: 0 – pulse, 1 - security
7 bits
Fourth input type: 0 – pulse, 1 - security
2.
«Alarm» packet sent in case of security input closure
Size in bytes
Field description
1 byte
Packet type, this packet = 2
1 byte
Reserve
1 byte
Values of basic settings (bit field)
1 byte
Input No, where the alarm is detected (1 or 2)
4 bytes
Input 1 reading (depending on the type – number of pulses or
status: 0 – open, 1 - closed)
4 bytes
Input 2 reading (depending on the type – number of pulses or
status: 0 – open, 1 - closed)