Skip to main content

C2xGetTokenLengthBit

Valid for: CANoe DE

Function Syntax

Description

This function returns the length of a token in bit.

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. header

Return Values

  • Length of the token in bit
  • With C2xGetLastError you can check if the function has been processed successfully.

Example