Difference between revisions of "DriverID"
From Wiki Knowledge Base | Teltonika GPS
(Fixed incorrect "How to read Driver ID" instructions) |
|||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
==How to read Driver ID== | ==How to read Driver ID== | ||
− | Driver 1 ID is divided | + | Driver 1 ID is divided trough two IO elements and to read actual Driver 1 ID written on driver card, two conversions need to be proceeded. Example provided in table below: |
− | {| | + | {| |
− | |||
! style="width:20%; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: center;" |Step | ! style="width:20%; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: center;" |Step | ||
! style="width:35%; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: center;" |Driver 1 ID MSB (AVL ID:195) | ! style="width:35%; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: center;" |Driver 1 ID MSB (AVL ID:195) | ||
Line 26: | Line 25: | ||
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |ASCII | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |ASCII | ||
|- | |- | ||
− | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: left;" |4. | + | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: left;" |4. Mirrored ASCII |
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |00000001 | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |00000001 | ||
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |11020489 | | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |11020489 |
Latest revision as of 12:53, 12 February 2024
How to read Driver ID
Driver 1 ID is divided trough two IO elements and to read actual Driver 1 ID written on driver card, two conversions need to be proceeded. Example provided in table below:
Step | Driver 1 ID MSB (AVL ID:195) | Driver 1 ID LSB (AVL ID:196) | Format |
---|---|---|---|
1. Received value | 3544385890265608240 | 4123102840462782769 | DEC |
2. Converted to HEX | 3130303030303030 | 3938343032303131 | HEX |
3. Converted to ASCII | 10000000 | 98402011 | ASCII |
4. Mirrored ASCII | 00000001 | 11020489 | ASCII |
5. Merged | 0000000111020489 | ASCII |
The same procedure is applied to Driver 2 ID.