Difference between revisions of "DriverID"
From Wiki Knowledge Base | Teltonika GPS
(Fixed incorrect "How to read Driver ID" instructions) |
m (Reverted edits by AndrejKondratjev (talk) to last revision by Kaminskas.Andrius) Tag: Rollback |
||
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: |
{| class="wikitable" | {| class="wikitable" | ||
Line 26: | Line 26: | ||
| 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. Merged |
− | + | | colspan="2" style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |1000000098402011 | |
− | |||
− | |||
− | |||
− | |||
− | | colspan="2" style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" | | ||
| 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 | ||
|- | |- | ||
|} | |} | ||
The same procedure is applied to Driver 2 ID.<br /> | The same procedure is applied to Driver 2 ID.<br /> |
Revision as of 14:32, 14 March 2023
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. Merged | 1000000098402011 | ASCII |
The same procedure is applied to Driver 2 ID.