FDXSetProtocolVersion
Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DEFunction Syntax
Description
This function configures the version of the FDX protocol that should be used for the communication with the specified client. NoteWith each received FDX datagram, CANoe DE product automatically adapts to the protocol version from the received datagram. The function
FDXSetProtocolVersion 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 protocol version should be set.
- majorVersion: Major version of the FDX protocol
- minorVersion: Minor version of the FDX protocol
Return Values
- 0: Successful function call
- -1: The parameter
fdxClientHandleis invalid. - -2: The given main version (
majorVersionparameter) is not supported by CANoe DE product.