Skip to main content

C2xSetTokenString

Valid for: CANoe DE

Function Syntax

Description

This function copies the string value to the token without terminating \0.

Parameters

  • packet: Handle of a packet that has been created with C2xInitPacket.
  • protocolDesignator: Name of the protocol, e.g. geo_cnh.
  • tokenDesignator: Name of the token, e.g. data.
  • byteOffset: Offset from the beginning of the token in byte.
  • data: Data as string.

Return Values

Example