Line 696: |
Line 696: |
| | | |
| | | |
| + | ===<p style="font-size:24px><span style="color:#0054A6">FM EYE Beacon lost & found record parsing example with the new firmware (not released yet)</span>=== |
| + | Below You will find an example on how to parse lost (AVL ID 10831) or found (AVL ID 10829) EYE Beacon record. |
| | | |
| | | |
− | ==== lost & found FM Packet parsing with the new firmware ==== | + | ==== lost & found EYE Beacon records parsing example ==== |
− | ===<p style="font-size:24px><span style="color:#0054A6">FM EYE Beacon lost & found record parsing example with the new firmware (not released yet)</span>===
| |
− | '''Parsing EYE Sensor records example''' <br>
| |
− | Below You will find an example on how to parse lost (AVL ID 10831) or found (AVL ID 10829) EYE Beacon record.
| |
| | | |
| {| class="nd-othertables_2" style="width:100%;" | | {| class="nd-othertables_2" style="width:100%;" |
Line 797: |
Line 796: |
| |} | | |} |
| | | |
− | ==== Parsing AVL ID 10831 data ====
| |
| | | |
| {| class="nd-othertables_2" style="width:100%;" | | {| class="nd-othertables_2" style="width:100%;" |
Line 860: |
Line 858: |
| |} | | |} |
| NOTE: The record structure for Lost Beacon Record (AVL ID:10829) is the same | | NOTE: The record structure for Lost Beacon Record (AVL ID:10829) is the same |
| + | |
| + | ====Visible EYE Beacons record parsing example with 3 EYE Beacons==== |
| + | Below You will find an example on how to parse visible Beacons list (AVL ID 10828) EYE Beacon record. |
| + | |
| + | {| 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: <br> |
| + | <code>00000000000000898e0100000183a1c8fbe3000f0e310b209ab02600e900760d0000<span style="background-color:#91d4b9;">2a4c0001000000000000000000012a4c005c011c0001c00110eb577075868d55aa96021b20313800550d0100</code><br><code><span style="background-color:#91d4b9;">0e020c1c1c0001b60110ef3f3f74868d55aa9aeae91e313800550d01000e020bae200001a50114faffffff34b6f6aa38255aa9ef619154d0e200050d01000e020ad2</code><code>0100008811</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 89 |
| + | |- |
| + | | 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="80" 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 a1 c8 fb e3 (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 31 0b |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |Latitude |
| + | | style="vertical-align: middle; text-align: center;" |20 9a b0 26 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |Altitude |
| + | | style="vertical-align: middle; text-align: center;" |00 e9 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |Angle |
| + | | style="vertical-align: middle; text-align: center;" |00 76 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |Satellites |
| + | | style="vertical-align: middle; text-align: center;" |0d |
| + | |- |
| + | | 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 4c (10828) |
| + | |- |
| + | | 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 4c (10828) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |Length of Variable Length IO |
| + | | style="vertical-align: middle; text-align: center;" |00 5c (92 bytes) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |Value of Variable Length IO 10831 |
| + | | style="vertical-align: middle; text-align: center;" | |
| + | '''011c0001c00110eb577075868d55aa96021b20313800550d01000e020c1c1c0001b60110ef3f3f74868d55aa9aeae91e313800550d01000e020bae<br>200001a50114faffffff34b6f6aa38255aa9ef619154d0e200050d01000e020ad2''' |
| + | |- |
| + | | 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 88 11 |
| + | |- |
| + | |} |
| + | |
| + | {| class="nd-othertables_2" style="width:100%;" |
| + | |+ |
| + | ! colspan="3" style="border-bottom: 2px solid #0054A6; vertical-align: middle; text-align: center;" |AVL ID 10828 Unparsed data |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |<code>'''011c0001c00110eb577075868d55aa96021b20313800550d01000e020c1c1c0001b60110ef3f3f74868d55aa9aeae91e31380055</code><br><code>0d01000e020bae200001a50114faffffff34b6f6aa38255aa9ef619154d0e200050d01000e020ad2'''</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;" |c0 (Converted to Decimal from signed 2s complement = -64dBm) |
| + | |- |
| + | | 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 57 70 75 86 8d 55 aa 96 02 '''1b 20 31 38 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;" |0c 1c (3100mV) |
| + | |- |
| + | ! style="vertical-align: middle; text-align: center;" |Eye Beacon #2 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) |
| + | |- |
| + | | 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;" |b6 (Converted to Decimal from signed 2s complement = -74dBm) |
| + | |- |
| + | | 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;" |ef 3f 3f 74 86 8d 55 aa 9a ea '''e9 1e 31 38 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 ae (2990mV) |
| + | |- |
| + | ! style="vertical-align: middle; text-align: center;" |Eye Beacon #3 data length |
| + | | style="vertical-align: middle; text-align: center;" |20 (32 bytes) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |Parameter ID |
| + | | style="vertical-align: middle; text-align: center;" |00 (Eye Beacon RSSI) |
| + | |- |
| + | | 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;" |a5 (Converted to Decimal from signed 2s complement = -91dBm) |
| + | |- |
| + | | 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;" |14 (20 bytes) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |Parameter data |
| + | | style="vertical-align: middle; text-align: center;" |fa ff ff ff 34 b6 f6 aa 38 25 5a a9 ef 61 91 54 '''''d0 e2''''' '''00 05''' (iBeacon UUID + '''''Major''''' + '''Minor''') |
| + | |- |
| + | | 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;" |0a d2 (2770mV) |
| + | |- |
| + | |} |
| | | |
| ==<p style="font-size:32px><span style="color:#0054A6">Safety information</span></p>== | | ==<p style="font-size:32px><span style="color:#0054A6">Safety information</span></p>== |