Multiple handles to the same channel work like a virtual bus extension. When a message is successfully placed on the CAN bus through the canWrite
call, a copy of the message is placed in every handle’s receive buffer associated with the same channel. This is the default behavior. You can change this behavior for a handle using the canIoCtl
function with a func parameter value of canIOCTL_SET_LOCAL_TXECHO
. See the API documentation for more detail.
12/04/2022
by Logan Via