C2xSetTokenInt
Valid for: CANoe DEFunction Syntax
Description
This function sets the integer value of a token. Form 2 with byte offset sets a part of the token data as integer.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. lpvSpeed.
- byteOffset: Offset from the beginning of the token in byte.
- length: Length of the integer value, must be 1, 2, 3 or 4 byte.
- networkByteOrder:
- 0: INTEL (little-endian)
- 1: MOTOROLA (big-endian)
- value: New integer value.
Return Values
- 0: Success
- ≠0: Error code