Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The function CanSetRxTxTimeouts sets the timeouts to be used with the CanTransmitMessage and CanReadMessage function.

BOOL CanSetRxTxTimeouts (unsigned long rxtimeout, unsigned long txtimeout);
BOOL DCanSetRxTxTimeouts (int devno, unsigned long rxtimeout, unsigned long txtimeout);

Parameters

devno
Index of SJA1000-controller to use (starting with 0).
rxtimeout
Timeout in ms for receive.
txtimeout
Timeout in ms for transmitting.

Return Values

If this function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE. Additional error-information is available through CanGetLastError

Remarks

Requirements

OS Versions: Windows CE 4.2 and later.
Header: gfcan32ce.h
Link Library: singlecan.lib (one sja1000-controller), dualcan.lib (two or more sja1000-controller)

See Also

SJA1000 Can Bus Support

  • No labels