FDXSetByteOrder
CAPL Functions » General » Function Overview » FDXSetByteOrder Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
This function configures the byte order of the FDX protocol that should be used for the communication with the specified client. The default is Little Endian. Note: With each received FDX datagram, your CANoe DE product automatically takes over the byte order from the datagram for the further communication with this client. The functionFDXSetByteOrder is therefore only relevant in the rare case that CANoe DE product should send datagrams to an FDX client without having received a datagram from this client.
Parameters
- fdxClientHandle: FDX client for which the byte order should be set.
- byteOrder:
- 1: Little Endian
- 2: Big Endian
Return Values
- 0: Successful function call
- -1: The parameter
fdxClientHandleis invalid. - -1: The parameter
byteOrderis invalid.