canSetChannelAcc
Valid for: CANoe DE • CANoe:lite DE NoteFunction Syntax
long canSetChannelAcc(long channel, dword code, dword mask);
Description
Via an acceptance filter, the CAN controllers control which received messages are sent through to your CANoe DE product. Some controller chips, such as the SJA 1000, expect partitioning into acceptance mask and acceptance code.Parameters
- channel: CAN channel
- code: Acceptance code
- mask: Acceptance mask
Return Values
- 0: ok
- !=0: error