Difference between revisions of "DriverID"
From Wiki Knowledge Base | Teltonika GPS
(2 intermediate revisions by one other user not shown) | |||
Line 4: | Line 4: | ||
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: | 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" |
+ | |+ | ||
! 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 25: | 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 11:42, 25 November 2019
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.