Skip to main content

_DoIP_TransportLayerStatusInd

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

void _DoIP_TransportLayerStatusInd(byte tpStatusType, byte tpStatusCode, byte applicationLayerService, dword sourceAddress, dword targetAddress);

Description

This callback is called from the DoIP layer when transport layer status message according ISO 13400-2:2019/Amd1 payload type 0x9001 is received.

Parameters

  • tpStatusType: The transport layer status type.
  • tpStatusCode: The transport layer status code related to any error information associated with the transport protocol status type.
  • applicationLayerService: The application layer service that the transport layer status message corresponds to.
  • sourceAddress: Logical DoIP address of the sender.
  • targetAddress: Logical DoIP address of the receiver.

Return Values

Example

void _DoIP_TransportLayerStatusInd(byte tpStatusType, byte tpStatusCode, byte applicationLayerService, dword sourceAddress, dword targetAddress)
{
  write("Transport layer status information from source address 0x%x for service $%x received with status type 0x%x and status code 0x%x", sourceAddress, applicationLayerService, tpStatusType, tpStatusCode);
}