LEMON Manuals: Even more car manuals for everyone: 1960-2025
Home >> Mercedes Benz >> 2022 >> Sprinter 2500 Van Crew, 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_SENDCOMMAND () >> RP1210_Set_BLOCKTIMEOUT >> Notes
April 5, 2026: LEMON Manuals is launched! Read the announcement.

RP1210_SENDCOMMAND (): RP1210_Set_BLOCKTIMEOUT: Notes

Added to RP 1210B was the ability to set a value to the amount of time that the user would like a command issued with BLOCKINGJO to timeout. This particular function has already been implemented by several API vendors. The first and second byte of the fpchClientCommand  will be multiplied together to get a timeout value (in milliseconds). For example, if the user wanted 200 milliseconds, they would send any combination in the first to bytes to provide a value of 200. To set an infinite timeout, the user would transmit either byte (multiplicand) as a zero. These bytes are both considered unsigned characters.

The command only applies to the current client and future calls to:

Parameter Description
nCommandNumber RP1210_Set_BlockTimeout 
nClientID The client identifier for the client that wants to issue the command.
fpchClientCommand fpchClientCommand [0] = 8-bit unsigned value, 0 = infinite block
fpchClientCommandjI] = 8-bit unsigned value, 0 = infinite block
nMessageSize 2