Libelium Comunicaciones Distribuidas S.L. PARKING-V1 Manuel D’Utilisation

Page de 67
-17-
Frames
7.2.4. Error frame
In some cases the node could send a frame if some internal components or processes fail.
Byte
Name
Description
0
Basic data
Detailed description in section “Frame”
1
Frame counter
Detailed description in section “Frame”
2
Error data
Detailed description below
3
Temperature MSB
Raw temperature from the parking 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:
4
Temperature LSB
5
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. 
6
X axis measurement 
LSB
7
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. 
8
Y axis measurement 
LSB
9
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. 
10
Z axis measurement 
LSB
11
Battery level
Battery voltage in millivolts. To convert to millivolts use the next formula:
Figure : Error frame structure
Bit
Name
Description
7-6
Reserved
Reserved bits. Do not consider. 
5
Error Sigfox
Set to '1' when an error related with the Sigfox radio is detected. Clear 
when no issues detected. 
4
Error LoRaWAN
Set to '1' when an error related with the LoRaWAN radio is detected. Clear 
when no issues detected. 
3
Error RTC
Set to '1' when an error related with the RTC (internal clock) is detected. 
Clear when no issues detected. 
2
Error X axis
Set to '1' when an error appears in the X axis of the sensor. Clear when no 
issues detected. 
1
Error Y axis
Set to '1' when an error appears in the Y axis of the sensor. Clear when no 
issues detected. 
0
Error Z axis
Set to '1' when an error appears in the Z axis of the sensor. Clear when no 
issues detected. 
Figure : “Error data” byte structure