Difference between revisions of "ISO6709"
Line 14: | Line 14: | ||
New IO element will be available with Codec 8 Extended only. | New IO element will be available with Codec 8 Extended only. | ||
− | + | ||
− | + | Below, there is listed AVL data package received, with IO element ISO 6709 enabled. | |
+ | |||
+ | Received data in hexadecimal stream: | ||
+ | |||
+ | 00000000000004C08E160000016F7B19C394000F0E57D9209AB9C8008A00230B000000000004000100FA01000200B500050042358B000100100000028E000000000000016F7B1A3865000F0E57D9209AB9C8008A002307000000000004000100FA01000200B500070042358B000100100000028E0000000000000 | ||
+ | |||
+ | |||
+ | Parsed data: | ||
+ | {| 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 4A | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |Codec ID | ||
+ | | style="vertical-align: middle; text-align: center;" |8E | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |Number of Data 1 (Records) | ||
+ | | style="vertical-align: middle; text-align: center;" |01 | ||
+ | |- | ||
+ | | rowspan="25" 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 6B 41 2C EE 00 (GMT: Monday, June 10, 2019 11:36:32 AM) | ||
+ | |- | ||
+ | | 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;" |00 00 00 00 | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |Latitude | ||
+ | | style="vertical-align: middle; text-align: center;" |00 00 00 00 | ||
+ | |- | ||
+ | | 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;" |00 01 | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |N of Total ID | ||
+ | | style="vertical-align: middle; text-align: center;" |00 05 | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |N1 of One Byte IO | ||
+ | | style="vertical-align: middle; text-align: center;" |00 01 | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |1’st IO ID | ||
+ | | style="vertical-align: middle; text-align: center;" |00 01 (AVL ID: 1, Name: DIN1) | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |1’st IO Value | ||
+ | | style="vertical-align: middle; text-align: center;" |01 | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |N2 of Two Bytes IO | ||
+ | | style="vertical-align: middle; text-align: center;" |00 01 | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |1’st IO ID | ||
+ | | style="vertical-align: middle; text-align: center;" |00 11 (AVL ID: 17, Name: Axis X) | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |1’st IO Value | ||
+ | | style="vertical-align: middle; text-align: center;" |00 1D | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |N4 of Two Bytes IO | ||
+ | | style="vertical-align: middle; text-align: center;" |00 01 | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |1’st IO ID | ||
+ | | style="vertical-align: middle; text-align: center;" |00 10 (AVL ID: 16, Name: Total Odometer) | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |1’st IO Value | ||
+ | | style="vertical-align: middle; text-align: center;" |01 5E 2C 88 | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |N8 of Two Bytes IO | ||
+ | | style="vertical-align: middle; text-align: center;" |00 02 | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |1’st IO ID | ||
+ | | style="vertical-align: middle; text-align: center;" |00 0B (AVL ID: 11, Name: ICCID1) | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |1’st IO Value | ||
+ | | style="vertical-align: middle; text-align: center;" |00 00 00 00 35 44 C8 7A | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |2’nd IO ID | ||
+ | | style="vertical-align: middle; text-align: center;" |00 0E (AVL ID: 14, Name: ICCID2) | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |2’nd IO Value | ||
+ | | style="vertical-align: middle; text-align: center;" |00 00 00 00 1D D7 E0 6A | ||
+ | |- | ||
+ | | style="vertical-align: middle; text-align: center;" |NX of X Byte IO | ||
+ | | style="vertical-align: middle; text-align: center;" |00 00 | ||
+ | |- | ||
+ | | rowspan="2" style="vertical-align: middle; text-align: center;" | | ||
+ | | 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 29 94 | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | |||
+ | Server response: <code>00000001</code> <br> | ||
+ | |||
+ | <br /> |
Revision as of 10:12, 7 January 2020
ISO 6709 Standard representation of geographic point location by coordinates is the international standard for representation of latitude, longitude and altitude for geographic point locations.
Buffer with ISO 6709 standard GPS data will be updated every second.
Function to take 3 arguments (latitude, longitude, altitude) and output ISO 6709 format (ex: +27.5916+086.5640+8850).
The required parameter is showed as the I/O element in the Configurator.
This parameter will also be send as the separate I/O element via AVL Data ID 387.
New IO element will be available with Codec 8 Extended only.
Below, there is listed AVL data package received, with IO element ISO 6709 enabled.
Received data in hexadecimal stream:
00000000000004C08E160000016F7B19C394000F0E57D9209AB9C8008A00230B000000000004000100FA01000200B500050042358B000100100000028E000000000000016F7B1A3865000F0E57D9209AB9C8008A002307000000000004000100FA01000200B500070042358B000100100000028E0000000000000
Parsed data:
AVL Data Packet | ||
---|---|---|
AVL Data Packet Part | HEX Code Part | |
Zero Bytes | 00 00 00 00 | |
Data Field Length | 00 00 00 4A | |
Codec ID | 8E | |
Number of Data 1 (Records) | 01 | |
AVL Data | Timestamp | 00 00 01 6B 41 2C EE 00 (GMT: Monday, June 10, 2019 11:36:32 AM) |
Priority | 01 | |
Longitude | 00 00 00 00 | |
Latitude | 00 00 00 00 | |
Altitude | 00 00 | |
Angle | 00 00 | |
Satellites | 00 | |
Speed | 00 00 | |
Event IO ID | 00 01 | |
N of Total ID | 00 05 | |
N1 of One Byte IO | 00 01 | |
1’st IO ID | 00 01 (AVL ID: 1, Name: DIN1) | |
1’st IO Value | 01 | |
N2 of Two Bytes IO | 00 01 | |
1’st IO ID | 00 11 (AVL ID: 17, Name: Axis X) | |
1’st IO Value | 00 1D | |
N4 of Two Bytes IO | 00 01 | |
1’st IO ID | 00 10 (AVL ID: 16, Name: Total Odometer) | |
1’st IO Value | 01 5E 2C 88 | |
N8 of Two Bytes IO | 00 02 | |
1’st IO ID | 00 0B (AVL ID: 11, Name: ICCID1) | |
1’st IO Value | 00 00 00 00 35 44 C8 7A | |
2’nd IO ID | 00 0E (AVL ID: 14, Name: ICCID2) | |
2’nd IO Value | 00 00 00 00 1D D7 E0 6A | |
NX of X Byte IO | 00 00 | |
Number of Data 2 (Number of Total Records) | 01 | |
CRC-16 | 00 00 29 94 |
Server response: 00000001