Skip to main content
Open topic with navigation CAPL Functions » XCP » xcpIsConnected

xcpIsConnected

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

long xcpIsConnected (char ecuQualifier[]);

Description

Returns the current connection status of a XCP/CCP device.

Parameters

  • ecuQualifier: Name of the device, configured within the CANoe DE Family XCP/CCP Window.

Return Values

  • 0: Not connected
  • 1: Connected
  • -1: A device with this name does not exist

Example

xcpConnectxcpDisconnect