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

xcpUserCommand

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Callback

Description

Sends user-defined data to the XCP slave. The callback returns the response on the user command.

Parameters

  • ecuQualifier: Name of the device, configured within the CANoe DE Family XCP/CCP Window.
  • data: Byte array for user-defined data.
  • dataSize: Size of the user-defined data.

Return Values

Example

In the following example the use of user commands for XCP with xcpSet/GetCalPage is shown.