User's Manual

-15-
Frames
7.2. Firmware version v1.x.x
3OXJ6HQVH6PDUW3DUNLQJQRGHFDQVHQGGHȴQHGIUDPHV$OOIUDPHVDUHE\WHVOHQJWKDQGWKH\DUHWKH
same for Sigfox and LoRaWAN. Bytes 0 and 1 are common for all frames. Byte 0 has the basic information of the
node, and frame and byte 1 is a frame counter. It can be used to detect lost frames.
Bit Name Description
7 Parking slot status
'0' indicates that the parking slot is empty
'1' indicates that the slot is in occupied
6 Battery state
'0' indicates that the battery has a good level of charge
'1' indicates that the battery has little charge and it will be necessary to
change it. When the battery has little charge it is possible that the node
does not work properly and the radios fail sending the frames.
5-4 Reserved Reserved bits. Do not consider.
3
Frame type
0 – Info frame
1 – Keep-Alive frame
2 – Daily update frame
3 – Error frame
4 – Start frame 1
5 – Start frame 2
Values from 6 to 15 are reserved
2
1
0
Figure : Byte 0 description
7.2.1. Info frame
It is the most common frame sent by the node. The node will send this kind of frame each time it detects that the
parking slot changed from empty to occupied or vice-versa. The other bytes are used to give additional data to
the user.
Byte Name Description
0 Basic data Detailed description in the section “Frame”
1 Frame counter Detailed description in the section “Frame”
2 Temperature MSB Raw temperature from the node's internal sensor. The value stored in
these two bytes is a 16-bit value in 2’s complement form. To convert to
Celsius degrees use the next formula:
3 Temperature LSB
4 X axis measurement MSB
Raw value from the sensor associated to the X axis. The value stored in
these two bytes is a 16-bit value in 2’s complement form.
5 X axis measurement LSB
6 Y axis measurement MSB
Raw value from the sensor associated to the Y axis. The value stored in
these two bytes is a 16-bit value in 2’s complement form.
7 Y axis measurement LSB
8 Z axis measurement MSB
Raw value from the sensor associated to the Z axis. The value stored in
these two bytes is a 16-bit value in 2’s complement form.
9 Z axis measurement LSB
10-11 Reserved Reserved bytes. Do not consider.
Figure : Info frame structure