Changes

7,931 bytes added ,  07:04, 23 September 2022
Line 667: Line 667:  
| -
 
| -
 
| -
 
| -
 +
|}
 +
 +
 +
 +
 +
==== lost & found FM Packet parsing with the new firmware ====
 +
===<p style="font-size:24px><span style="color:#0054A6">FM EYE Sensor record parsing example with the new firmware (EYE Sensor filtering by name / not released yet)</span>===
 +
'''Parsing EYE Sensor records example''' <br>
 +
Below You will find an example on how to parse EYE Sensor record with two EYE Sensors present.
 +
 +
{| 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>000000000000004b8e010000018368952793000f0e54fc209ab05800b300b40e0000<br>
 +
2a4f000100000000000000000001</code><span style="background-color:#91d4b9;">2a4f001e011c0001a40110eb47706aa38255aa96f21a154e2d00550d01000e020bd6</code><code>010000823f</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 4b
 +
|-
 +
| 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="24" 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 83 68 95 27 93 (GMT: Tuesday, 18 June 2019 08:25:22.001)
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Priority
 +
| style="vertical-align: middle; text-align: center;" |00
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Longitude
 +
| style="vertical-align: middle; text-align: center;" |0f 0e 54 fc
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Latitude
 +
| style="vertical-align: middle; text-align: center;" |20 9a b0 58
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Altitude
 +
| style="vertical-align: middle; text-align: center;" |00 b3
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Angle
 +
| style="vertical-align: middle; text-align: center;" |00 b4
 +
|-
 +
| 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;" |2a 4f (10831)
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |N of Total ID
 +
| style="vertical-align: middle; text-align: center;" |00 01
 +
|-
 +
| 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 00
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |N4 of Four Bytes IO
 +
| style="vertical-align: middle; text-align: center;" |00 00
 +
|-
 +
 +
| 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;" |2a 4f (10831)
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Length of Variable Length IO
 +
| style="vertical-align: middle; text-align: center;" |00 1e (30 bytes)
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Value of Variable Length IO 10831
 +
| style="vertical-align: middle; text-align: center;" |
 +
'''011c0001a40110eb47706aa38255aa96f21a154e2d00550d01000e020bd6'''
 +
|-
 +
| 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 01 2a 4f
 +
|-
 +
|}
 +
 +
==== Parsing AVL ID 10831 data ====
 +
 +
{| class="nd-othertables_2" style="width:100%;"
 +
|+
 +
! colspan="3" style="border-bottom: 2px solid #0054A6; vertical-align: middle; text-align: center;" |AVL ID 11317 Unparsed data
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |<code>'''011c0001a40110eb47706aa38255aa96f21a154e2d00550d01000e020bd6'''</code>'''<br>
 +
|}
 +
 +
{| class="nd-othertables_2" style="width:100%;"
 +
|+
 +
 +
! colspan="3" style="border-bottom: 2px solid #0054A6; vertical-align: middle; text-align: center;" |Parsing the data
 +
|-
 +
! 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="3" |
 +
| style="vertical-align: middle; text-align: center;" |Constant
 +
| style="vertical-align: middle; text-align: center;" |01
 +
|-
 +
! style="vertical-align: middle; text-align: center;" |Eye Beacon #1 data length
 +
| style="vertical-align: middle; text-align: center;" |1c (28 bytes)
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Parameter ID
 +
| style="vertical-align: middle; text-align: center;" |00 (Eye Beacon RSSI)
 +
|-
 +
| rowspan="60" style="vertical-align: middle; text-align: center;" |AVL Data
 +
| style="vertical-align: middle; text-align: center;" |Parameter data length
 +
| style="vertical-align: middle; text-align: center;" |01 (1 byte)
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Parameter data
 +
| style="vertical-align: middle; text-align: center;" |a4 (Converted to Decimal from signed 2s complement = -92dBm)
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Parameter ID
 +
| style="vertical-align: middle; text-align: center;" |01 (Beacon ID)
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Parameter data length
 +
| style="vertical-align: middle; text-align: center;" |10 (16 bytes)
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Parameter data
 +
| style="vertical-align: middle; text-align: center;" |eb 47 70 6a a3 82 55 aa 96 f2 '''1a 15 4e 2d 00 55''' (Eddystone Namespace + '''Instance ID''')
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Parameter ID
 +
| style="vertical-align: middle; text-align: center;" |0d (parameter ID #13 low battery voltage indicator)
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Parameter data length
 +
| style="vertical-align: middle; text-align: center;" |01 (1 byte)
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Parameter data
 +
| style="vertical-align: middle; text-align: center;" |00 (no low battery voltage detected)
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Parameter ID
 +
| style="vertical-align: middle; text-align: center;" |0e (Eye Beacon Battery voltage)
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Parameter data length
 +
| style="vertical-align: middle; text-align: center;" |02 (2 bytes)
 +
|-
 +
| style="vertical-align: middle; text-align: center;" |Parameter Data
 +
| style="vertical-align: middle; text-align: center;" |0b d6 (3030mV)
 +
|-
 
|}
 
|}