
Vega LM-1 / User Manual
22
Revision 05
5 COMMUNICATION PROTOCOL
This part describes the LM-1 data exchange protocol with LoRaWAN network.
In fields consisting of several bytes, the little endian byte order is used
VEGA LM-1 TRACKING DEVICE TRANSMITS THE FOLLOWING TYPES OF PACKETS
1.
Packet with current readings, sent regularly on LoRaWAN port 2
Size in bytes
Field description
1 byte
Packet type, this packet == 1
1 byte
Battery charge, %
4 bytes
Reading time for values in this packet (unixtime UTC)
1 byte
Temperature,
°
С
1 byte
Movement presence byte
0
–
the static
1
–
the movement
2 bytes
An angel of deviation from the vertical
1 byte
Coordinates validation byte
0
–
not valid
1
–
valid
4 bytes
Latitude in degrees multiplied by 1000000
4 bytes
Longitude in degrees multiplied by 1000000
2 bytes
Course in degrees
2 bytes
Speed, in km/h
2 bytes
The height above the sea level
1 byte
The number of visible satellites at the moment when the packet
formed
1 byte
The number of satellites used in navigation decision
1 byte
Alarm byte
0
–
normal
1
–
alarm
The device has internal clock and calendar; time and date are factory preset. When
sending a packet with the current readings, the device uses the data taken at the nearest time,
which is multiple to the interval, set by the switches:
•
1 hour period: the readings of the beginning of the current hour are sent;
•
6 hours period: 00:00, 06:00, 12:00, 18:00 readings are sent;
•
12 hours period: 00:00, 12:00 readings are sent;
•
24 hours period: the readings of 00:00 of the current day are sent.
Time zone taken into account during collection data from an external meter.