FDXConfigureSequenceCounting
Syntax
long FDXConfigureSequenceCounting(long fdxClientHandle, long mode);
Function
This function sets the behavior with whichCANoeshould fill out the fieldseqNrOrDgramLenin the FDX datagram header. Prerequisite for the function is to configureUPD/IPv4orUDP/IPv6as transport layer for the
FDX feature.
Parameters
fdxClientHandle FDX client for which the sequence counting should be configured.
mode
- 0: Automatic mode (default for new connections)The Sequence Counting automatically adapts to the FDX client.
- 1: EnabledThe Sequence Counting is activated for the client.
- 2: DisabledThe Sequence Counting is deactivated for this client.
Return Values
0: Successful function call
-1: The parameterfdxClientHandleis invalid.
-2: The parametermodeis invalid.
-3: The configured transport layer does not supportSequence Counting.
Coupling of two CANoe Instances using the FDX Protocol