Difference between revisions of "DriverID"

From Wiki Knowledge Base | Teltonika GPS
m (Reverted edits by AndrejKondratjev (talk) to last revision by Kaminskas.Andrius)
Tag: Rollback
 
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 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. Merged
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: left;" |4. Mirrored ASCII
| colspan="2" style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |1000000098402011
+
| 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;" |ASCII
 +
|-
 +
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: left;" |5. Merged
 +
| colspan="2" style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |0000000111020489
 
| 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 />

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.