Line 107: |
Line 107: |
| | | |
| === '''2. Parsing example:''' === | | === '''2. Parsing example:''' === |
| + | |
| + | {| class="nd-othertables_2" style="width:100%;" |
| + | |+ |
| + | ! rowspan="1" style="width:100%; vertical-align: middle; text-align: center;" |Unparsed received data in hexadecimal stream |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |000000000000004608010000017501DAF828010F0E4792209AC4FB00C200D70C0000<span style="background:#0b9768">F9</span>0D06EF01F00 |
| + | 01503C8004501<span style="background:#0b9768">F900</span>B50005B6000342334D43000044000002F10000601A100000000000010000732E |
| + | |- |
| + | |} |
| + | |
| + | |
| + | {| class="nd-othertables_2" style="width:100%;" |
| + | |+ |
| + | ! colspan="2" style="border-bottom: 2px solid #0054A6; vertical-align: middle; text-align: center;" |AVL Data Packet |
| + | |- |
| + | ! rowspan="1" style="width:50%; vertical-align: middle; text-align: center;" |AVL Data Packet Part |
| + | ! rowspan="1" style="width:50%; vertical-align: middle; text-align: center;" |HEX Code Part |
| + | |- |
| + | | 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 44 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |Codec ID |
| + | | style="vertical-align: middle; text-align: center;" |08 (Codec 8) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |Number of Data 1 (Number of Total Records) |
| + | | style="vertical-align: middle; text-align: center;" |01 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |Timestamp |
| + | | style="vertical-align: middle; text-align: center;" |00 00 01 77 49 BC 8E 70 (Thursday January 28 16:03:50 UTC 2021) |
| + | |- |
| + | | 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 07 B5 16 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |Latitude |
| + | | style="vertical-align: middle; text-align: center;" |20 9C D4 FA |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |Altitude |
| + | | style="vertical-align: middle; text-align: center;" |00 00 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |Angle |
| + | | style="vertical-align: middle; text-align: center;" |00 00 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |Satellites |
| + | | style="vertical-align: middle; text-align: center;" |00 |
| + | |- |
| + | | 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;" |<span style="background:#0b9768">F0 (AVL ID: 240, Name: Movement)</span> |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |N of Total ID |
| + | | style="vertical-align: middle; text-align: center;" |0C |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |N1 of One Byte IO |
| + | | style="vertical-align: middle; text-align: center;" |05 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |1’st IO ID |
| + | | style="vertical-align: middle; text-align: center;" |EF (AVL ID: 239, Name: Ignition) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |1’st IO Value |
| + | | style="vertical-align: middle; text-align: center;" |00 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |2’nd IO ID |
| + | | style="vertical-align: middle; text-align: center;" |F0 (AVL ID: 240, Name: Movement) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |2’nd IO Value |
| + | | style="vertical-align: middle; text-align: center;" |00 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |3’rd IO ID |
| + | | style="vertical-align: middle; text-align: center;" |15 (AVL ID: 21, Name: GSM Signal) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |3’rd IO Value |
| + | | style="vertical-align: middle; text-align: center;" |04 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |4'th IO ID |
| + | | style="vertical-align: middle; text-align: center;" |C8 (AVL ID: 200, Name: Sleep Mode) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |4'th IO Value |
| + | | style="vertical-align: middle; text-align: center;" |00 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |5'th IO ID |
| + | | style="vertical-align: middle; text-align: center;" |45 (AVL ID: 69, Name: GNSS Status) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |5'th IO Value |
| + | | style="vertical-align: middle; text-align: center;" |02 |
| + | </span> |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |N1 of Two Byte IO |
| + | | style="vertical-align: middle; text-align: center;" |05 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |1’st IO ID |
| + | | style="vertical-align: middle; text-align: center;" |B5 (AVL ID: 181, Name: GNSS PDOP) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |1’st IO Value |
| + | | style="vertical-align: middle; text-align: center;" |00 00 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |2’nd IO ID |
| + | | style="vertical-align: middle; text-align: center;" |B6 (AVL ID: 182, Name: GNSS HDOP) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |2’nd IO Value |
| + | | style="vertical-align: middle; text-align: center;" |00 00 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |3’rd IO ID |
| + | | style="vertical-align: middle; text-align: center;" |42 (AVL ID: 66, Name: External Voltage) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |3’rd IO Value |
| + | | style="vertical-align: middle; text-align: center;" |17 BA |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |4'th IO ID |
| + | | style="vertical-align: middle; text-align: center;" |43 (AVL ID: 67, Name: Battery Voltage) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |4'th IO Value |
| + | | style="vertical-align: middle; text-align: center;" |10 12 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |5'th IO ID |
| + | | style="vertical-align: middle; text-align: center;" |44 (AVL ID: 68, Name: Battery Current) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |5'th IO Value |
| + | | 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;" |02 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |1’st IO ID |
| + | | style="vertical-align: middle; text-align: center;" |F1 (AVL ID: 241, Name: Active GSM Operator) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |1’st IO Value |
| + | | style="vertical-align: middle; text-align: center;" |00 00 60 19 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |2’nd IO ID |
| + | | style="vertical-align: middle; text-align: center;" |10 (AVL ID: 16, Name: Total Odometer) |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |2’nd IO Value |
| + | | style="vertical-align: middle; text-align: center;" |00 00 00 40 |
| + | |- |
| + | | style="vertical-align: middle; text-align: center;" |N8 of Eight Bytes IO |
| + | | style="vertical-align: middle; text-align: center;" |00 |
| + | |- |
| + | | 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 12 20 |
| + | |- |
| + | |} |
| | | |
| ==In platform== | | ==In platform== |
| [[Category:Usage scenarios]] | | [[Category:Usage scenarios]] |