Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Interaction Layer » Iso11783IL_TIMSendParametrizationRequest

Iso11783IL_TIMSendParametrizationRequest

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

  • long Iso11783IL_TIMSendParametrizationRequest(byte functionId, byte serverAddress); // form 1
  • long Iso11783IL_TIMSendParametrizationRequest(dbNode client, byte functionId, byte serverAddress); // form 2

Description

The function sends a parametrization request (server capabilities clarification request) for a function to the TIM server. You can define the content of the parameterization request by Iso11783IL_TIMExtendParametrizationRequest and Iso11783IL_TIMClearParametrizationRequest.

Parameters

  • functionId: Function ID of the TIM function.
    • 1-32 (1h-20h): Auxiliary Value 1 – 32
    • 64 (40h): Front PTO
    • 65 (41h): Rear PTO
    • 66 (42h): Front hitch
    • 67 (43h): Rear hitch
    • 68 (44h): Vehicle speed
    • 70 (46h): External guidance
    • 71 (47h): Front top linkage
    • 72 (48h): Rear top linkage
  • serverAddress: The TIM client sends the Parametrization Request to the TIM server which uses this address. Value range: 0..253.
  • client: TIM client simulation node to apply the function.

Return Values

  • 0: Property has been set successfully
  • < 0: An error has occurred, see error codes
  • -102: Invalid address or invalid function ID

Example

void SendVehicleSpeedParametrizationRequest(byte serverAddress)
{
  long result;
  byte functionID = 68; // vehicle speed
  byte controlMode = 0; // generic info
  result = Iso11783IL_TIMExtendParametrizationRequest(functionID, controlMode);
  if (result < 0) writeEx(1, 3, "Failed to extend parametrization request");
  result = Iso11783IL_TIMSendParametrizationRequest(functionID, serverAddress);
  if (result < 0) writeEx(1, 3, "Failed to send parametrization request");
  result = Iso11783IL_TIMClearParametrizationRequest(functionID);
  if (result < 0) writeEx(1, 3, "Failed to clear parametrization request");
}