Skip to main content
Open topic with navigation CAPL Functions » ISO11783 » ISO11783 Node Layer » Iso11783AppCmdAddrIndication

Iso11783AppCmdAddrIndication (Callback)

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword Iso11783AppCmdAddrIndication( long ecuHandle, long length );

Description

This function indicates that a new address has been assigned to the control device by the “CommandedAddress”. The ECU must log on to the bus with the assigned address (see Iso11783ECUGoOnline()). Since the PG also returns the name of the ECU, the data must be requested within this callback with Iso11783GetRxData(). This function is only called if the ECU can change its address (‘Self Configuring Address’-Bit of the device name must be set).

Parameters

  • ecuHandle: ECU handle
  • length: Number of received data bytes

Return Values

Example

dword Iso11783AppCmdAddrIndication( LONG ecuHandle, LONG length)
{
  /* user code */
  return 0;
}