xcpDisconnect
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Callback
Description
Disconnects from a XCP/CCP device. Use xcpIsConnected to be aware of the disconnection. The callback functionOnXcpDisconnect is called after the ECU acknowledged the disconnect command.
Parameters
- ecuQualifier: Name of the device, configured within the CANoe DE Family XCP/CCP Window.
Return Values
- 0: OK
- -1: Device with this name is not existing
- -2: Operation not allowed – already disconnected