FDXSetProtocolVersion
Syntax
long FDXSetProtocolVersion(long fdxClientHandle, byte majorVersion, byte minorVersion);
Function
This function configures the version of the FDX protocol that should be used for the communication with the specified 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 parameterfdxClientHandleis invalid.
-2: The given main version (majorVersionparameter) is not supported byCANoe.
// Configure FDX protocol version 1.2 for the given clientFDXSetProtocolVersion(fdxClientHandle, 1, 2);// Configure FDX protocol version 2.0 for the given clientFDXSetProtocolVersion(fdxClientHandle, 2, 0); See also:Coupling of two CANoe Instances using the FDX Protocol