Search Legislation

Council Regulation (EEC) No 3821/85Show full title

Council Regulation (EEC) No 3821/85 of 20 December 1985 on recording equipment in road transport

 Help about what version

What Version

  • Latest available (Revised)
  • Original (As adopted by EU)
 Help about advanced features

Advanced Features

Close

This is a legislation item that originated from the EU

After exit day there will be three versions of this legislation to consult for different purposes. The legislation.gov.uk version is the version that applies in the UK. The EU Version currently on EUR-lex is the version that currently applies in the EU i.e you may need this if you operate a business in the EU.

The web archive version is the official version of this legislation item as it stood on exit day before being published to legislation.gov.uk and any subsequent UK changes and effects applied. The web archive also captured associated case law and other language formats from EUR-Lex.

Changes to legislation:

There are currently no known outstanding effects for the Council Regulation (EEC) No 3821/85, Division 3. . Help about Changes to Legislation

Close

Changes to Legislation

Revised legislation carried on this site may not be fully up to date. At the current time any known changes or effects made by subsequent legislation have been applied to the text of the legislation you are viewing by the editorial team. Please see ‘Frequently Asked Questions’ for details regarding the timescales for which new effects are identified and recorded on this site.

[F1 [F23. TACHOGRAPH CARDS DOWNLOADING PROTOCOL U.K.

3.1. Scope U.K.

This paragraph describes the direct card data downloading of a tachograph card to an IDE. The IDE is not part of the secure environment; therefore no authentication between the card and the IDE is performed.

3.2. Definitions U.K.
Download session

:

Each time a download of the ICC data is performed. The session covers the complete procedure from the reset of the ICC by an IFD until the deactivation of the ICC (withdraw of the card or next reset).

Signed data file

:

A file from the ICC. The file is transferred to the IFD in plain text. On the ICC the file is hashed and signed and the signature is transferred to the IFD.

3.3. Card downloading U.K.

[DDP_035] The download of a tachograph card includes the following steps:

  • download the common information of the card in the EFs ICC and IC . This information is optional and is not secured with a digital signature,

  • Download the EFs Card_Certificate and CA_Certificate. This information is not secured with a digital signature,

    It is mandatory to download these files for each download session.

  • download the other application data EFs (within Tachograph DF) except EF Card_Download. This information is secured with a digital signature,

    • it is mandatory to download at least the EFs Application_Identification and ID for each download session,

    • when downloading a driver card it is also mandatory to download the following EFs:

      • Events_Data,

      • Faults_Data,

      • Driver_Activity_Data,

      • Vehicles_Used,

      • Places,

      • Control_Activity_Data,

      • Specific_Conditions.

  • When downloading a driver card, update the LastCardDownload date in EF Card_Download,

  • When downloading a workshop card, reset the calibration counter in EF Card_Download.

3.3.1. Initialisation sequence U.K.

[DDP_036] The IDE shall initiate the sequence as follows:

Card Direction IDE/IFD Meaning/Remarks

Hardware reset
ATR

It is optional to use PPS to switch to a higher baudrate as long as the ICC supports it.

3.3.2. Sequence for unsigned data files U.K.

[DDP_037] The sequence to download the ICC , IC , Card_Certificate and CA_Certificate is as follows:

Card Direction IDE/IFD Meaning/Remarks

Select file Select file select by file identifiers
OK

Read Binary If the file contains more data than the buffer size of the reader or the card the command has to be repeated until the complete file is read.

File data

OK

Store data to ESM according to 3.4, (Data storage format)

Note: Before selecting the Card_Certificate EF, the Tachograph Application must be selected (selection by AID). U.K.

3.3.3. Sequence for signed data files U.K.

[DDP_038] The following sequence shall be used for each of the following files that has to be downloaded with their signature:

Card Direction IDE/IFD Meaning/Remarks

Select File
OK

Perform hash of File Calculates the hash value over the data content of the selected file using the prescribed hash algorithm in accordance with Appendix 11. This command is not an ISO-Command.
Calculate hash of file and store hash value temporarily
OK

Read Binary If the file contains more data than the buffer of the reader or the card can hold, the command has to be repeated until the complete file is read.

File Data

OK

Store received data to ESM according to 3.4, (Data storage format)

PSO: Compute digital signature
Perform security operation compute digital signature using the temporarily stored hash value

Signature

OK

Append data to the previous stored data on the ESM according to 3.4, (Data storage format)
3.3.4. Sequence for resetting the calibration counter U.K.

[DDP_039] The sequence to reset the NoOfCalibrationsSinceDownload counter in the EF Card_Download in a workshop card is the following:

Card Direction IDE/IFD Meaning/Remarks

Select File EF Card_Download Select by file identifiers
OK

Update Binary

NoOfCalibrationsSinceDownload = ′00 00′

Resets card download number
OK

3.4. Data storage format U.K.
3.4.1. Introduction U.K.

[DDP_040] The 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.2. File format U.K.

[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).

[DDP_046] A 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) 3 Bytes
FID (2 Bytes) || 01 Tag for Signature of EF(FID) 3 Bytes
xx xx Length of value field 2 Bytes

Example of data in a download file on an ESM:

Tag Length Value
00 02 00 00 11 Data of EF ICC
C1 00 00 00 C2 Data of EF Card_Certificate
05 05 00 0A 2E Data of EF Vehicles_Used
05 05 01 00 80 Signature of EF Vehicles_Used] ]

Back to top

Options/Help

Print Options

You have chosen to open the Whole Regulation

The Whole Regulation you have selected contains over 200 provisions and might take some time to download. You may also experience some issues with your browser, such as an alert box that a script is taking a long time to run.

Would you like to continue?

You have chosen to open Schedules only

The Schedules you have selected contains over 200 provisions and might take some time to download. You may also experience some issues with your browser, such as an alert box that a script is taking a long time to run.

Would you like to continue?

Close

Legislation is available in different versions:

Latest Available (revised):The latest available updated version of the legislation incorporating changes made by subsequent legislation and applied by our editorial team. Changes we have not yet applied to the text, can be found in the ‘Changes to Legislation’ area.

Original (As adopted by EU): The original version of the legislation as it stood when it was first adopted in the EU. No changes have been applied to the text.

Close

See additional information alongside the content

Geographical Extent: Indicates the geographical area that this provision applies to. For further information see ‘Frequently Asked Questions’.

Show Timeline of Changes: See how this legislation has or could change over time. Turning this feature on will show extra navigation options to go to these specific points in time. Return to the latest available version by using the controls above in the What Version box.

Close

Opening Options

Different options to open legislation in order to view more content on screen at once

Close

More Resources

Access essential accompanying documents and information for this legislation item from this tab. Dependent on the legislation item being viewed this may include:

  • the original print PDF of the as adopted version that was used for the EU Official Journal
  • lists of changes made by and/or affecting this legislation item
  • all formats of all associated documents
  • correction slips
  • links to related legislation and further information resources
Close

Timeline of Changes

This timeline shows the different versions taken from EUR-Lex before exit day and during the implementation period as well as any subsequent versions created after the implementation period as a result of changes made by UK legislation.

The dates for the EU versions are taken from the document dates on EUR-Lex and may not always coincide with when the changes came into force for the document.

For any versions created after the implementation period as a result of changes made by UK legislation the date will coincide with the earliest date on which the change (e.g an insertion, a repeal or a substitution) that was applied came into force. For further information see our guide to revised legislation on Understanding Legislation.

Close

More Resources

Use this menu to access essential accompanying documents and information for this legislation item. Dependent on the legislation item being viewed this may include:

  • the original print PDF of the as adopted version that was used for the print copy
  • correction slips

Click 'View More' or select 'More Resources' tab for additional information including:

  • lists of changes made by and/or affecting this legislation item
  • confers power and blanket amendment details
  • all formats of all associated documents
  • links to related legislation and further information resources