Справочник Пользователя для Libelium Comunicaciones Distribuidas S.L. PARKING-V1

Скачать
Страница из 67
-18-
Frames
7.2.5. Start frames
:KHQWKHQRGHVWDUWVWRZRUNLQWKHSDUNLQJVORWLWZLOOVHQGIUDPHV7KHȴUVWRQHLVGHGLFDWHGWRWKHVHQVRUDQG
WKHEDWWHU\7KHVHFRQGRQHLVXVHGWRVHQGVRPHSDUDPHWHUVDERXWWKHFKRVHQFRQȴJXUDWLRQ
7.2.5.1. Start frame number 1
Byte
Name
Description
0
Basic data
Detailed description in section “Frame”
1
Frame counter
Detailed description in section “Frame”
2
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:
3
Temperature LSB
4
X axis reference MSB
Reference 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 reference LSB
6
Y axis reference MSB
Reference 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 reference LSB
8
Z axis reference MSB
Reference 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 reference LSB
10
Battery voltage MSB
Battery voltage in millivolts. The value stored in these two bytes is an 
unsigned 16-bit value. 
11
Battery voltage LSB
Figure : Start frame number 1 structure
7.2.5.2. Start frame number 2
Bit
Name
Description
0
Basic data
Detailed description in section “Frame”
1
Frame counter
Detailed description in section “Frame”
2
&2'(BΖ'
Firmware version
3
10B67$57
Beginning hour of the night mode
4
10B3(5Ζ2'
Duration in hours of the night mode
5
10B6/((3B7Ζ0(
Sleep time between consecutive sensor measurements (during night mode)
6
10B.((3B$/Ζ9(
Elapsed time since last transmission to trigger a Keep-Alive frame (during 
night mode)
7
5$'Ζ2B02'(
Selected transmission mode between Sigfox, LoRaWAN y their 
combinations
8
6/((3B7Ζ0(
Sleep time between consecutive sensor measurements
9
.((3B$/Ζ9(
Elapsed time since last transmission to trigger a Keep-Alive frame
10
THRESHOLD
Threshold for detecting a vehicle over the parking slot
11
Reserved
Reserved byte. Do not consider. 
Figure : Start frame number 2 structure