I-7565M-FD USB to CAN/CAN FD converter User Manual (version 1.0.0)
Page: 50
Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
5.5.6 CANFD_GetCANGlobalFilter
This function is used to get CAN filter function of “reject remote standard or
extended CAN ID frame” and “standard and extended CAN/CAN FD ID lists size”
parameters in the assigned CAN port of the I-7565M-FD device.
Syntax:
C++
int CANFD_GetCANGlobalFilter(WORD i_wDevice_id, BYTE i_byCANPort, BYTE
*o_byRejectRFS, BYTE *o_byRejectRFE, WORD* o_wSTDFIDListSize, WORD*
o_wEXTFIDListSize);
C#
Int32 CANFD_GetCANGlobalFilter(UInt16 i_wDevice_id, Byte i_byCANPort, out Byte
o_byRejectRFS, out Byte o_byRejectRFE, out UInt16 o_wSTDFIDListSize, out UInt16
o_wEXTFIDListSize);
Parameter:
i_wDevice_id
[in]
The assigned device ID of the I-7565M-FD device.
i_byCANPort
[in]
The assigned CAN port of the I-7565M-FD device.
*o_byRejectRFS
[out]
The “
Reject the remote standard CAN ID frame” parameter in the assigned
CAN port of the I-7565M-FD device.
0: pass the remote standard CAN ID frame
1: reject the remote standard CAN ID frame
*o_byRejectRFE
[out]
The “
Reject the remote extended CAN ID frame” parameter in the assigned
CAN port of the I-7565M-FD device.
0: pass the remote extended CAN ID frame
1: reject the remote extended CAN ID frame