Xirgo Technologies Inc. XT3630F Manuel D’Utilisation

Page de 33
 
 
              
28 
4.5 Bluetooth Payload Structure 
Data 
Description 
0xFF 
Ad packet type (0xFF = mfg-specific data) 
0xEF 
Placeholder for a two-byte company ID number 
0xBE  
Placeholder for a two-byte company ID number 
0x00 
Accel data next 
 
Two bytes, little-endian, signed integer, X-axis 
acceleration 
 
Two bytes, little-endian, signed integer, Y-axis 
acceleration 
 
Two bytes, little-endian, signed integer, Z-axis 
acceleration 
 
Two bytes, little-endian, unsigned integer, 
acceleration magnitude 
0x01 
Lux data next 
 
Two bytes, little-endian, unsigned integer, lux 
ADC count 
0x02 
Temp data next 
 
Two bytes, little-endian, unsigned integer, temp 
ADC count 
0x03 
GPS data next  
 
Four bytes, little-endian, signed integer, GPS 
latitude * 1e6 
 
Four bytes, little-endian, signed integer, GPS 
longitude * 1e6
 
 
4.6 Battery Voltage and Temperature Conversion Tables 
4.6.1 Battery Voltage vs. Count Value 
Battery (V)  ADC (Counts) 
4.2 
283.3 
4.1 
276.4 
269.7 
3.9 
263 
3.8 
256.1 
3.7 
249.5 
3.6 
242.7 
3.5 
236 
3.4 
229.4 
3.3 
225 
3.2 
225 
3.1 
226 
227.4 
 
 
Battery voltage can be observed with HyperTerminal, 
SecureCRT or ZOC command ‘Xpd’: 
 
Xpd 
SensorIgnition: Clear (39) 
SensorAccelerometer: {-23131,8,-5216}, 1mg 
SensorVibration: {0} 
SensorMainVoltage: 0.3 (0.8) 
SensorBatteryVoltage: 281.2 (0.0) 
SensorTmp20: 2550,134.5 (274.1) 
SensorAmbientLight: 305.6 (0.0) 
SensorExt1Voltage: 0.0 (0.0) 
SensorSigfoxVoltage: 409.5 (0.0) 
SensorWifiVoltage: 398.6 (0.0)