LEMON Manuals: Even more car manuals for everyone: 1960-2025
Home >> Mercedes Benz >> 2022 >> Sprinter 2500 Van Cargo, 2.0L Eng >> Repair and Diagnosis >> TMC Recommended Practices >> Onboard Vehicle Electronics >> RP 1210D - Windows (TM) Communication API >> RP 1210D - Windows(TM) Communication API >> RP1210_Ioctl () >> LOCTL Section >> Set_CONFIG
April 5, 2026: LEMON Manuals is launched! Read the announcement.

LOCTL Section: Set_CONFIG

The loctlID value of SET_CONFIG  is used to set the vehicle network configuration of the VDA. The calling application is responsible for allocating and initializing the associated parameters described below. When the function is successfully completed, the corresponding parameter(s) and value(s) indicated in Section 23.4, IOCTL ID VALUES  will be placed in effect.

Parameter Description
nClientID Client ID assigned during RP1210_ClientConnect
nloctlID Is set to the define SET_CONFIG
pInput Points to structure SCONFIG_LIST, which is defined as follows:
G15602342

where: Parameter is an INPUT that represents the parameter to be set (see Section 22.2 for a list of valid Parameters).
Value is an INPUT that represents the value of Parameter (see Section 22.4 for a list of valid Values).
pOutput NULL pointer, parameter is not used.
Parameter ID Value Valid Parameter Values Default Value Description
P1_MAX 0x07 0x01-0xFFFF (.5 mS per bit) 40 (20 mS) For ISO9141/ISO14230 protocols, this sets the maximum inter-byte time for ECU responses
P3_MIN 0x0A 0x00-0xFFFF (.5 mS per bit) 110 (55mS) For ISO9141/ISO14230 protocols, this sets the minimum time between end of ECU response and start of new tester request
P4_MIN 0x0C 0x00-0xFFFF (.5 mS per bit) 10 (5mS) For ISO9141/ISO14230 protocols, this sets the minimum inter-byte time for a tester request
W0 0x19 0x00-0xFFFF (1mS per bit) 300 For ISO9141 protocol, this sets the minimum bus idle time before the tester starts to transmit the address byte
W1 0x0E 0x00-0xFFFF (1mS per bit) 300 For ISO9141/ISO14230 protocols, this sets the maximum time from the end of the address byte to the start of the synchronization pattern
W2 0x0F 0x00-0xFFFF (1mS per bit) 20 For ISO9141/ISO14230 protocols, this sets the maximum time from the end of the synchronization pattern to the start of key byte 1
W3 0x10 0x00-0xFFFF (1mS per bit) 20 For ISO9141/ISO14230protocols, this sets the maximum time between key byte 1 and key byte 2
W4 0x11 0x00-0xFFFF (1mS per bit) 50 For ISO9141/ISO14230 protocols, this sets the minimum time between key byte 2 and its inversion from the tester
W5 0x12 0x00-0xFFFF (1mS per bit) 300 For ISO9141/ISO14230 protocols, this sets the minimum idle bus time before the tester starts to transmit the address byte
TIDLE 0x13 0x00-0xFFFF (lmS per bit) 300 For ISO14230 protocol, this sets the minimum amount of bus idle time that is needed before a fast initialization sequence will begin
TINIL 0x14 0x00-0xFFFF (1mS per bit) 25 For ISO1423D protocols, this sets the duration for the low pulse in fast initialization
TWUP 0x15 0x00-0xFFFF (1mS per bit) 50 For ISO14230 protocols, this sets the duration of the wake-up pulse in fast initialization
PARITY 0x16 0 (NO_PARITY)
1 (0DD_PARITY)
2 (EVEN_PARITY)
0 For ISO9141/ISO14230 protocols only
DATA_BITS 0x20 0 (8 data bits)
1 (7 data bits)
0 For ISO9141/ISO14230 protocols only
FIVE_BAUD_MOD 0x21 0 - Initialization as defined in ISO9141-2 and ISO14230-4
1 - ISO 9141 initialization followed by interface sending inverted Key Byte 2
2 - ISO 9141 initialization followed by ECU sending inverted address
3 - Initialization as defined in ISO 9141
0 For ISO9141/ISO14230 protocols only.
Initialization for ISO 9141-2 and ISO 14230-4 include the initialization sequence as defined in ISO 9141 plus inverted key byte #2 sent from the tester to the ECU and inverted address sent from the ECU to the tester.
This parameter allows either ISO9141 initialization sequence, ISO9141-2/ISO14230 initialization sequence, or hybrid versions which include only one of the extra bytes defined tor ISO9141-2 and ISO14230.
ISO15765_WFT_ MAX 0x25 0x00 - 0xFF 0 For setting number of ISO15765 WAIT flow control frames. Although defaulted to 0x00 originally in the SAE J2534 specification, the parameter N_WFTmax is a system design constant from the ISO15765 document and is not transmitted in the first flow control N_PDU. The default is 40.
Reserved 0x00-0xFFFF     Reserved for TMC (where not already defined in this document)
Reserved 0x10000-0xFFFFFFFF Vendor Specific   Vendor Specific