Libelium Comunicaciones Distribuidas S.L. PARKING-V1 사용자 설명서

다운로드
페이지 67
-13-
Frames
7.1.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
Temperature (Celsius degrees) from the node's internal sensor. The 
value of temperature is a signed integer.
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
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