Skip to main content

C2xGetTokenOidElement

Valid for: CANoe DE

Function Syntax

Description

This function gets an element of the ASN.1 datatype OID (Object Identifier or Relative OID) that is specified by its index to a new value.

Parameters

  • packet: Handle of a packet.
  • protocolDesignator: Name of the protocol.
  • tokenDesignator: Name of the token.
  • index: Zero based index of the element.

Return Values

Value of the element. With C2xGetLastError you can check if the function has been processed successfully.

Example