CanStartReceiveQueue

The function CanStartReceiveQueue starts a background-receive-thread.

BOOL CanStartReceiveQueue(); BOOL DCanStartReceiveQueue(int devno);

Parameters

devno
Index of SJA1000-controller to use (starting with 0).

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

Should be called once after baudrate is set (CanSetBaudrate) and callback is registered (CanRegisterCallback).

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