Difference between revisions of "DriverID"

From Wiki Knowledge Base | Teltonika GPS
Line 2: Line 2:
  
 
==How to read Driver ID==
 
==How to read Driver ID==
Driver ID is divided trough two IO elements and to read actual Driver 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"
 
{| 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 ID MSB
+
! 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 ID LSB
+
! style="width:35%; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: center;" |Driver 1 ID LSB (AVL ID:196)
! style="width:10%; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: center;" | Format
+
! style="width:10%; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: center;" |Format
 
|-
 
|-
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: left;" | 1. Received value
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: left;" |1. Received value
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" | 3544385890265608240
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |3544385890265608240
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" | 4123102840462782769
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |4123102840462782769
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" | DEC
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |DEC
 
|-
 
|-
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: left; " | 2. Converted to HEX
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: left; " |2. Converted to HEX
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" | 3130303030303030
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |3130303030303030
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" | 3938343032303131
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |3938343032303131
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" | HEX
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |HEX
 
|-
 
|-
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: left;" | 3. Converted to ASCII
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: left;" |3. Converted to ASCII
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" | 10000000
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |10000000
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" | 98402011
+
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; background: white; text-align: center;" |98402011
| 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. 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;" |1000000098402011
| 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
 
|-
 
|-
 
|}
 
|}
<br/>
+
The same procedure is applied to Driver 2 ID.<br />

Revision as of 10: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.