_DoIP_RoutingActivationRequest
Valid for: CANoe DE NoteThe following DoIP CAPL function is only available with the modeling library DoIP.dll and eventually an appropriate implementation of the CAPL Callback Interface. Information about the DoIP DLL and the CAPL Callback Interface you find here:
Function Syntax
Description
A request for routing activation was received in a vehicle simulation. It is possible to ignore, accept or deny the request, and to specify if a response message is sent.Parameters
- sourceAddress: Logical address of the tester that sent the request.
- activationType: The tester has requested this type of connection, e.g. WWH-OBD or default.
- reserved: The value of the reserved field in the request message.
- OEM: The value of the OEM field in the request, or 0, if field is not present.
- sendResponse: Output parameter to indicate whether the simulation shall send a routing activation response message:
- 0: Do not send a response message
- 1: Send a response message
- other: reserved
- responseCodeOut: If a response is sent, this value will be used as response code.
Return Values
- 0: Process request and send a response as if callback was not present (default).
- 1: The activation has failed, i.e. routing is not activated in the simulation.
- 2: The activation was successful, i.e. routing is activated.