Vega SI-12 / User Manual
27
Revision 12 – 03 July 2020
VEGA SI-12 PULSE COUNTER RECEIVES PACKETS OF THE FOLLOWING TYPES:
1.
Real-time clock adjustment – sent by application on LoRaWAN port 4
Size in bytes
Field description
Data type
1 byte
Packet type, this packet = 255
uint8
8 bytes
The value in seconds for which you need to adjust the
time. Can be positive or negative
int64
When receiving the packet, the pulse counter sets its internal clock and calendar in
compliance with the received packet.
2.
Output on command – sent by application on LoRaWAN port 2
Size in bytes
Field description
Data type
1 byte
Packet type, this packet == 3
uint8
1 byte
Output no. (1 or 2)
uint8
1 byte
Output on time in seconds (1…255, 0 - forever).
uint8
3.
Output off command – sent by application on LoRaWAN port 2
Size in bytes
Field description
Data type
1 byte
Packet type, this packet == 4
uint8
1 byte
Output no. (1 or 2)
uint8
4.
Packet with request of settings – sent by application on LoRaWAN port 3
Size in bytes
Field description
Data type
1 byte
Packet type, this packet == 1
uint8
Answering that packet, the device sent the packet with settings.
5.
Packet with settings is identical to such packet from device
Size in bytes
Field description
Data type
1 byte
Packet type, this packet == 0
uint8
2 bytes
ID of parameter
uint16
1 byte
Data length (len)
uint8
len bytes
Parameter value
-----
2 bytes
ID of parameter
uint16
1 byte
Data length (len)
uint8
len bytes
Parameter value
-----
…
…
…
2 bytes
ID of parameter
uint16
1 byte
Data length (len)
uint8
len bytes
Parameter value
-----