J1939AppCmdAddrIndication (Callback)
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
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 J1939ECUGoOnline()). Since the PG also returns the name of the ECU, the data must be requested within this callback with J1939GetRxData(). 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