Skip to main content

DoIP_TCPSend

CAPL Functions » Diagnostics » DoIP_TCPSend Valid for: CANoe DE Note
The 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

Sends a DoIP PDU with valid layout on the open TCP connection.

Parameters

  • protocolD: If given, this will replace the configured protocol version in the DoIP PDU. [0; 255]
  • payloadType: Type to send, i.e. this can be any value. [0; 0xFFFF]
  • payload: The data following the generic DoIP header.
  • payloadLen: Length of the data following the header.

Return Values

Error code, e.g. connection not established yet.

Example