jugglingcats / tachograph-reader

Read driver and vehicle card data and convert to a more usable XML format
81 stars 62 forks source link

DriverCard length #38

Closed cretbogdan01 closed 6 years ago

cretbogdan01 commented 6 years ago

Hi

The DriverCard number has 16 characters in my case. The XML output shows just 14 characters of the driver card number. Any idea what I need to change to get the full card number ?

Thank you

jugglingcats commented 6 years ago

Hi, the card number region is defined in the standard (page 61)...

image

The cardReplacementIndex and cardRenewalIndex (1 byte each) should appear as attributes in your XML output, but these can't be interpreted as a string.

Hope it helps.

cretbogdan01 commented 6 years ago

Hi,

Thank you, it helped me.