![ICP DAS USA I-7565M-HS User Manual Download Page 53](http://html2.mh-extra.com/html/icp-das-usa/i-7565m-hs/i-7565m-hs_user-manual_3630632053.webp)
I-7565M-HS USB to CAN converter User Manual (version 1.0.0)
Page: 53
Copyright © 2018 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
5.5.10 CANHS_SetCANBlackListMode
This function is used to enable or disable the blacklist of CAN message ID firmware
filter function in the assigned CAN port of the I-7565M-HS device. Enable this function
will let the I-7565M-HS device to reject all the CAN message IDs in the blacklist table.
Syntax:
C++
int CANHS_SetCANBlackListMode(WORD i_wDevice_id, BYTE i_byCANPort, BYTE
i_byMode);
C#
Int32 CANHS_SetCANBlackListMode(UInt16 i_wDevice_id, Byte i_byCANPort, Byte
i_byMode);
Parameter:
i_wDevice_id
[in]
The assigned device ID of the I-7565M-HS device.
i_byCANPort
[in]
The assigned CAN port of the I-7565M-HS device.
i_byMode
[in]
Enable or disable the blacklist of CAN message ID firmware filter function in
the assigned CAN port of the I-7565M-HS device.
0: disable blacklist of CAN message ID firmware filter function
1: enable blacklist of CAN message ID firmware filter function
Return Value:
Return 0 means success, others means failure.