Vega SI-12 / User Manual
25
Revision 12 – 03 July 2020
"Values of basic settings" bit field decoding
Size in bytes
Field description
0 bit
Activation type: 0 - OTAA, 1 – ABP
1,2,3 bits
Communication period:
|1 == 0|2==0|3==0| - 5 minutes
|1 == 1|2==0|3==0| - 15 minutes
|1 == 0|2==1|3==0|- 30 minutes
|1 == 1|2==1 |3==0|- 1 hour
|1 == 0|2==0|3==1|- 6 hours
|1 == 1|2==0|3==1|- 12 hours
|1 == 0|2==1|3==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 on LoRaWAN port 2
Size in bytes
Field description
Data type
1 byte
Packet type, this packet == 2
uint8
1 byte
Battery charge, %
uint8
1 byte
Values of basic settings (bit field)
uint8
1 byte
Input No, where the alarm is detected (3 or 4)
uint8
4 bytes
Time of the modem at a moment of the packet
transmission (unixtime UTC)
uint32
4 bytes
Input 1 reading (depending on the type – number of
pulses or status: 0 – open, 1 - closed)
uint32
4 bytes
Input 2 reading (depending on the type – number of
pulses or status: 0 – open, 1 - closed)
uint32
4 bytes
Input 3 reading (depending on the type – number of
pulses or status: 0 – open, 1 - closed)
uint32
4 bytes
Input 4 reading (depending on the type – number of
pulses or status: 0 – open, 1 - closed)
uint32
When sending alarm packet, the device uses the data taken at moment of
communication start
3.
External power information packet, sent in case of change external power status on
LoRaWAN port 2
Size in bytes
Field description
Data type
1 byte
Packet type, this packet == 4
uint8
1 byte
Battery charge, %
uint8
1 byte
Values of basic settings (bit field)
uint8
1 byte
External power state (0 – off, 1 - on)
uint8
4 bytes
Generation packet time (unixtime UTC)
uint32