Changes

no edit summary
Line 2,034: Line 2,034:  
| style="vertical-align: middle; text-align: center;" |<span style="background:#00BFFF">67</span>
 
| style="vertical-align: middle; text-align: center;" |<span style="background:#00BFFF">67</span>
 
|'''Battery voltage –''' raw value example 0x67 hex. Decimal value of parameter 103'''.''' To calculate battery voltage need to use calculation 2000 + (VALUE * 10). In this case battery voltage value 2000+(103x10)= 3030 mV
 
|'''Battery voltage –''' raw value example 0x67 hex. Decimal value of parameter 103'''.''' To calculate battery voltage need to use calculation 2000 + (VALUE * 10). In this case battery voltage value 2000+(103x10)= 3030 mV
|}
  −
  −
===<p style="font-size:24px"><span style="color:#0054A6">FM Packet parsing example (Base firmware / Advanced mode)</span>===
  −
  −
  −
{| class="nd-othertables_2" style="width:100%;"
  −
|+
  −
! colspan="3" style="border-bottom: 2px solid #0054A6; vertical-align: middle; text-align: center;" | Unparsed data
  −
|-
  −
| style="vertical-align: middle; text-align: center;" | Received data in hexadecimal stream: <code>00000000000000488E010000017CA6B6BFD8010F0E5188209AB482008600A80F0000000</code><br><code>00006000000020019090400560024000301CF0000001601D00000FF4D01D10000006D00000001014B0001B6010000CF7D</code>
  −
|}
  −
  −
{| class="nd-othertables_2" style="width:100%;"
  −
! colspan="3" style="border-bottom: 2px solid #0054A6; vertical-align: middle; text-align: center;" |AVL Data Packet
  −
|-
  −
! colspan="2" rowspan="1" style="width:60%; vertical-align: middle; text-align: center;" | AVL Data Packet Part
  −
! rowspan="1" style="width:40%; vertical-align: middle; text-align: center;" |HEX Code Part
  −
|-
  −
| rowspan="4" style="vertical-align: middle; text-align: center;" |
  −
| style="vertical-align: middle; text-align: center;" |Zero Bytes
  −
| style="vertical-align: middle; text-align: center;" | 00 00 00 00
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |Data Field Length
  −
| style="vertical-align: middle; text-align: center;" |00 00 00 48
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |Codec ID
  −
| style="vertical-align: middle; text-align: center;" |8E (Codec8 Extended)
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |Number of Data 1 (Number of Total Records)
  −
| style="vertical-align: middle; text-align: center;" |01
  −
|-
  −
| rowspan="34" style="vertical-align: middle; text-align: center;" |AVL Data
  −
| style="vertical-align: middle; text-align: center;" |Timestamp
  −
| style="vertical-align: middle; text-align: center;" |00 00 01 7C A6 B6 BF D8 (GMT: Friday, 22 October 2021 06:36:07)
  −
|-
  −
| style="vertical-align: middle; text-align: center;" | Priority
  −
| style="vertical-align: middle; text-align: center;" |01
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |Longitude
  −
| style="vertical-align: middle; text-align: center;" |0F 0E 51 88
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |Latitude
  −
| style="vertical-align: middle; text-align: center;" |20 9A B4 82
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |Altitude
  −
| style="vertical-align: middle; text-align: center;" |00 86
  −
|-
  −
| style="vertical-align: middle; text-align: center;" | Angle
  −
| style="vertical-align: middle; text-align: center;" |00 0A
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |Satellites
  −
| style="vertical-align: middle; text-align: center;" |0E
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |Speed
  −
| style="vertical-align: middle; text-align: center;" |00 00
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |Event IO ID
  −
| style="vertical-align: middle; text-align: center;" |00 00
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |N of Total ID
  −
| style="vertical-align: middle; text-align: center;" |00 06
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |N1 of One Byte IO
  −
| style="vertical-align: middle; text-align: center;" |00 00
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |N2 of Two Bytes IO
  −
| style="vertical-align: middle; text-align: center;" |00 02
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |ID
  −
| style="vertical-align: middle; text-align: center;" |00 19 (25 = BLE Temperature #1)
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |Value
  −
| style="vertical-align: middle; text-align: center;" |09 04 (2308=23.08°C)
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |ID
  −
| style="vertical-align: middle; text-align: center;" |00 56 (86 = BLE Humidity #1)
  −
|-
  −
| style="vertical-align: middle; text-align: center;" | Value
  −
| style="vertical-align: middle; text-align: center;" | 00 36 (24 %RHT)
  −
|-
  −
| style="vertical-align: middle; text-align: center;" | N4 of Four Bytes IO
  −
| style="vertical-align: middle; text-align: center;" |00 03
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |ID
  −
| style="vertical-align: middle; text-align: center;" |01 CF (463 - BLE 1 Custom #2 = Movement status and movement events count)
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |Value
  −
| style="vertical-align: middle; text-align: center;" |00 00 00 16 (Currently not moving events count 22)
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |ID
  −
| style="vertical-align: middle; text-align: center;" |01 D0 (464 - BLE 1 Custom #3 = Angle )
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |Value
  −
| style="vertical-align: middle; text-align: center;" |00 00 FF 4D (Pitch = 0°, Roll = -179°)
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |ID
  −
| style="vertical-align: middle; text-align: center;" |01 D1 (465 - BLE 1 Custom #4 = Battery Voltage)
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |Value
  −
| style="vertical-align: middle; text-align: center;" |00 00 00 6D (109 = 2000 + 109 * 10 mV = 3090 mV)
  −
|-
  −
  −
| style="vertical-align: middle; text-align: center;" |N8 of Eight Bytes IO
  −
| style="vertical-align: middle; text-align: center;" |00 00
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |NX of X Bytes IO
  −
| style="vertical-align: middle; text-align: center;" |00 01
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |N’th IO ID - AVL ID.
  −
| style="vertical-align: middle; text-align: center;" |01 4B (331 - BLE 1 Custom #1 = Flags)
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |Length of Variable Length IO
  −
| style="vertical-align: middle; text-align: center;" |00 01
  −
|-
  −
| style="vertical-align: middle; text-align: center;" | Value of Variable Length IO
  −
| style="vertical-align: middle; text-align: center;" |B7 = (MSB)<span style="background:#B284BE">1</span>1011 011<span style="background:#00FFFF">1</span>(LSB)
  −
It's parsed from least significant byte(LSB):
  −
  −
  −
Bit 0 – Temperature value presence.
  −
  −
<span style="background:#00FFFF">1</span> Means device is reading and transmitting temperature value.
  −
  −
  −
Bit 1 – Humidity value presence.
  −
  −
1 Means device is reading and transmitting humidity value.
  −
  −
  −
Bit 2 – Magnetic sensor presence.
  −
  −
1 Means device is reading and transmitting Magnetic sensor value.
  −
  −
  −
Bit 3 – Magnetic sensor state
  −
  −
1 magnetic field is detected/0 magnetic field is not detected) Valid value is present only if bit 2 flag is set.
  −
  −
  −
Bit 4 – Movement sensor counter.
  −
  −
1 Means device is reading and transmitting movement state and count values.
  −
  −
  −
Bit 5 – Movement sensor angle.
  −
  −
1 Means device is reading and transmitting angle roll and pitch values.
  −
  −
  −
Bit 6 – Low Battery indication.
  −
  −
0 – Means device battery is from 100 to 15 % (When value changes to 1 Battery level is lower than 15 %.
  −
  −
  −
7 – Battery voltage value presence.
  −
  −
<span style="background:#B284BE">1</span> Means device is reading and transmitting battery voltage value.
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |Number of Data 2 (Number of Total Records)
  −
| style="vertical-align: middle; text-align: center;" |01
  −
|-
  −
| style="vertical-align: middle; text-align: center;" |CRC-16
  −
| style="vertical-align: middle; text-align: center;" |00 00 CF 7D
  −
|-
   
|}
 
|}
 
</div>
 
</div>

Navigation menu