Search Legislation

Commission Implementing Regulation (EU) 2016/799Show full title

Commission Implementing Regulation (EU) 2016/799 of 18 March 2016 implementing Regulation (EU) No 165/2014 of the European Parliament and of the Council laying down the requirements for the construction, testing, installation, operation and repair of tachographs and their components (Text with EEA relevance)

 Help about what version

What Version

 Help about UK-EU Regulation

Legislation originating from the EU

When the UK left the EU, legislation.gov.uk published EU legislation that had been published by the EU up to IP completion day (31 December 2020 11.00 p.m.). On legislation.gov.uk, these items of legislation are kept up-to-date with any amendments made by the UK since then.

Close

This item of legislation originated from the EU

Legislation.gov.uk publishes the UK version. EUR-Lex publishes the EU version. The EU Exit Web Archive holds a snapshot of EUR-Lex’s version from IP completion day (31 December 2020 11.00 p.m.).

Status:

This is the original version as it was originally adopted in the EU.
This legislation may since have been updated - see the latest available (revised) version

5.MANAGEMENT SERVICES

The services available are detailed in the following table:

Table 13

Management Services

Service nameDescription
StartDiagnosticSessionThe client requests to start a diagnostic session with a VU.
SecurityAccessThe client requests access to functions restricted to authorised users.
5.1. StartDiagnosticSession service
5.1.1 Message description
CPR_025The service StartDiagnosticSession is used to enable different diagnostic sessions in the server. A diagnostic session enables a specific set of services according to Table 17. A session can enable vehicle manufacturer specific services which are not part of this document. Implementation rules shall conform to the following requirements:
  • There shall be always exactly one diagnostic session active in the VU,

  • The VU shall always start the StandardDiagnosticSession when powered up. If no other diagnostic session is started, then the StandardDiagnosticSession shall be running as long as the VU is powered,

  • If a diagnostic session which is already running has been requested by the tester, then the VU shall send a positive response message,

  • Whenever the tester requests a new diagnostic session, the VU shall first send a StartDiagnosticSession positive response message before the new session becomes active in the VU. If the VU is not able to start the requested new diagnostic session, then it shall respond with a StartDiagnosticSession negative response message, and the current session shall continue.

CPR_026A diagnostic session shall only be started if communication has been established between the client and the VU.
CPR_027The timing parameters defined in Table 4 shall be active after a successful StartDiagnosticSession with the diagnosticSession parameter set to ‘StandardDiagnosticSession’ in the request message if another diagnostic session was previously active.
5.1.2 Message format
CPR_028The message formats for the StartDiagnosticSession primitives are detailed in the following tables.
Table 14
StartDiagnosticSession Request Message
Byte #Parameter NameHex ValueMnemonic
#1Format byte — physical addressing80FMT
#2Target address byteEETGT
#3Source address bytettSRC
#4Additional length byte02LEN
#5 StartDiagnosticSession Request Service Id 10 STDS
#6diagnosticSession = [one value from Table 17]xxDS_…
#7Checksum00-FFCS
Table 15
StartDiagnosticSession Positive Response Message
Byte #Parameter NameHex ValueMnemonic
#1Format byte — physical addressing80FMT
#2Target address bytettTGT
#3Source address byteEESRC
#4Additional length byte02LEN
#5 StartDiagnosticSession Positive Response Service Id 50 STDSPR
#6diagnosticSession = [same value as in byte #6 Table 14]xxDS_…
#7Checksum00-FFCS
Table 16
StartDiagnosticSession Negative Response Message
a

– the value inserted in byte #6 of the request message is not supported, i.e. not in Table 17,

b

– the length of the message is wrong,

c

– the criteria for the request StartDiagnosticSession are not met.

Byte #Parameter NameHex ValueMnemonic
#1Format byte — physical addressing80FMT
#2Target address bytettTGT
#3Source address byteEESRC
#4Additional length byte03LEN
#5 Negative Response Service Id 7F NR
#6StartDiagnosticSession Request Service Id10STDS
#7ResponseCode =[subFunctionNotSupporteda12RC_SFNS
incorrectMessageLengthb13RC_IML
conditionsNotCorrectc22RC_CNC
#8Checksum00-FFCS
5.1.3 Parameter definition
CPR_029The parameter diagnosticSession (DS_) is used by the StartDiagnosticSession service to select the specific behaviour of the server(s). The following diagnostic sessions are specified in this document:
Table 17
Definition of diagnosticSession Values
HexDescriptionMnemonic
81
StandardDiagnosticSession

This diagnostic session enables all services specified in Table 1 column 4 “SD”. These services allow reading of data from a server (VU). This diagnostic Session is active after the initialisation has been successfully completed between client (tester) and server (VU). This diagnostic session may be overwritten by other diagnostic sessions specified in this section.

SD
85
ECUProgrammingSession

This diagnostic session enables all services specified in Table 1 column 6 “ECUPS”. These services support the memory programming of a server (VU) This diagnostic session may be overwritten by other diagnostic sessions specified in this section..

ECUPS
87
ECUAdjustmentSession

This diagnostic session enables all services specified in Table 1 column 5 “ECUAS”. These services support the input/output control of a server (VU). This diagnostic session may be overwritten by other diagnostic sessions specified in this section.

ECUAS
5.2. SecurityAccess service

Writing of calibration data is not possible unless the VU is in CALIBRATION mode. In addition to insertion of a valid workshop card into the VU, it is necessary to enter the appropriate PIN into the VU before access to the CALIBRATION mode is granted.

When the VU is in CALIBRATION or CONTROL mode, access to the calibration input/output line is also possible.

The SecurityAccess service provides a means to enter the PIN and to indicate to the tester whether or not the VU is in CALIBRATION mode.

It is acceptable that the PIN may be entered through alternative methods.

5.2.1 Message Description

The SecurityAccess service consists of a SecurityAccess ‘requestSeed’ message, eventually followed by a SecurityAccess ‘sendKey’ message. The SecurityAccess service must be carried out after the StartDiagnosticSession service.

CPR_033The tester shall use the SecurityAccess ‘requestSeed’ message to check if the vehicle unit is ready to accept a PIN.
CPR_034If the vehicle unit is already in CALIBRATION mode, it shall answer the request by sending a ‘seed’ of 0x0000 using the service SecurityAccess Positive Response.
CPR_035If the vehicle unit is ready to accept a PIN for verification by a workshop card, it shall answer the request by sending a ‘seed’ greater than 0x0000 using the service SecurityAccess Positive Response.
CPR_036If the vehicle unit is not ready to accept a PIN from the tester, either because the workshop card inserted is not valid, or because no workshop card has been inserted, or because the vehicle unit expects the PIN from another method, it shall answer the request with a Negative Response with a response code set to conditionsNotCorrectOrRequestSequenceError.
CPR_037The tester shall then, eventually, use the SecurityAccess ‘sendKey’ message to forward a PIN to the Vehicle Unit. To allow time for the card authentication process to take place, the VU shall use the negative response code requestCorrectlyReceived-ResponsePending to extend the time to respond. However, the maximum time to respond shall not exceed 5 minutes. As soon as the requested service has been completed, the VU shall send a positive response message or negative response message with a response code different from this one. The negative response code requestCorrectlyReceived-ResponsePending may be repeated by the VU until the requested service is completed and the final response message is sent.
CPR_038The vehicle unit shall answer to this request using the service SecurityAccess Positive Response only when in CALIBRATION mode.
CPR_039In the following cases, the vehicle unit shall answer to this request with a Negative Response with a response code set to:
  • subFunctionNot supported: Invalid format for the subfunction parameter (accessType),

  • conditionsNotCorrectOrRequestSequenceError: Vehicle unit not ready to accept a PIN entry,

  • invalidKey: PIN not valid and number of PIN checks attempts not exceeded,

  • exceededNumberOfAttempts: PIN not valid and number of PIN checks attempts exceeded,

  • generalReject: Correct PIN but mutual authentication with workshop card failed.

5.2.2 Message format — SecurityAccess — requestSeed
CPR_040The message formats for the SecurityAccess ‘requestSeed’ primitives are detailed in the following tables.
Table 18
SecurityAccess Request- requestSeed Message
Byte #Parameter NameHex ValueMnemonic
#1Format byte — physical addressing80FMT
#2Target address byteEETGT
#3Source address bytettSRC
#4Additional length byte02LEN
#5 SecurityAccess Request Service Id 27 SA
#6accessType — requestSeed7DAT_RSD
#7Checksum00-FFCS
Table 19
SecurityAccess — requestSeed Positive Response Message
Byte #Parameter NameHex ValueMnemonic
#1Format byte — physical addressing80FMT
#2Target address bytettTGT
#3Source address byteEESRC
#4Additional length byte04LEN
#5 SecurityAccess Positive Response Service Id 67 SAPR
#6accessType — requestSeed7DAT_RSD
#7Seed High00-FFSEEDH
#8Seed Low00-FFSEEDL
#9Checksum00-FFCS
Table 20
SecurityAccess Negative Response Message
Byte #Parameter NameHex ValueMnemonic
#1Format byte — physical addressing80FMT
#2Target address bytettTGT
#3Source address byteEESRC
#4Additional length byte03LEN
#5 negativeResponse Service Id 7F NR
#6SecurityAccess Request Service Id27SA
#7responseCode =[conditionsNotCorrectOrRequestSequenceError22RC_CNC
incorrectMessageLength]13RC_IML
#8Checksum00-FFCS
5.2.3 Message format — SecurityAccess — sendKey
CPR_041The message formats for the SecurityAccess ‘sendKey’ primitives are detailed in the following tables.
Table 21
SecurityAccess Request — sendKey Message
Byte #Parameter NameHex ValueMnemonic
#1Format byte — physical addressing80FMT
#2Target address byteEETGT
#3Source address bytettSRC
#4Additional length bytem+2LEN
#5 SecurityAccess Request Service Id 27 SA
#6accessType — sendKey7EAT_SK
#7 to #m + 6Key #1 (High)xxKEY
Key #m (low, m must be a minimum of 4, and a maximum of 8)xx
#m + 7Checksum00-FFCS
Table 22
SecurityAccess — sendKey Positive Response Message
Byte #Parameter NameHex ValueMnemonic
#1Format byte — physical addressing80FMT
#2Target address bytettTGT
#3Source address byteEESRC
#4Additional length byte02LEN
#5 SecurityAccess Positive Response Service Id 67 SAPR
#6accessType — sendKey7EAT_SK
#7Checksum00-FFCS
Table 23
SecurityAccess Negative Response Message
Byte #Parameter NameHex ValueMnemonic
#1Format byte — physical addressing80FMT
#2Target address bytettTGT
#3Source address byteEESRC
#4Additional length byte03LEN
#5 NegativeResponse Service Id 7F NR
#6SecurityAccess Request Service Id27SA
#7ResponseCode =[generalReject10RC_GR
subFunctionNotSupported12RC_SFNS
incorrectMessageLength13RC_IML
conditionsNotCorrectOrRequestSequenceError22RC_CNC
invalidKey35RC_IK
exceededNumberOfAttempts36RC_ENA
requestCorrectlyReceived-ResponsePending]78RC_RCR_RP
#8Checksum00-FFCS

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

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

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