ANNEX I CRequirements for construction, testing, installation, and inspection
DATA DOWNLOADING PROTOCOLS
3.TACHOGRAPH CARDS DOWNLOADING PROTOCOL
3.4.Data storage format
3.4.1Introduction
DDP_040The downloaded data has to be stored according to the following conditions:
The data shall be stored transparent. This means that the order of the bytes as well as the order of the bits inside the byte that are transferred from the card has to be preserved during storage.
All files of the card downloaded within a download session are stored in one file on the ESM.
3.4.2File format
DDP_041
The file format is a concatenation of several TLV objects.
DDP_042
The tag for an EF shall be the FID plus the appendix „00“.
DDP_043
The tag of an EF's signature shall be the FID of the file plus the appendix „01“.
DDP_044
The length is a two byte value. The value defines the number of bytes in the value field. The value „FF FF“ in the length field is reserved for future use.
DDP_045
When a file is not downloaded nothing related to the file shall be stored (no tag and no zero length).
F1DDP_046A signature shall be stored as the next TLV object directly after the TLV object that contains the data of the file.
Definition | Meaning | Length |
---|---|---|
FID (2 Bytes) || ‘00’ | Tag for EF (FID) in the or for common information of the card | 3 Bytes |
FID (2 Bytes) || ‘01’ | Tag for Signature of EF (FID) in the DF | 3 Bytes |
FID (2 Bytes) || ‘02’ | Tag for EF (FID) in the DF | 3 Bytes |
FID (2 Bytes) || ‘03’ | Tag for Signature of EF (FID) in the DF | 3 Bytes |
xx xx | Length of Value field | 2 Bytes |
Example of data in a download file on an ESM:
Tag | Length | Value |
---|---|---|
| ||
| ||
| ||
Data of EF (in the DF) | ||
Signature of EF (in the DF) | ||
Data of EF in the DF | ||
Signature of EF in the DF |