![ICP DAS USA I-7565M-HS User Manual Download Page 51](http://html2.mh-extra.com/html/icp-das-usa/i-7565m-hs/i-7565m-hs_user-manual_3630632051.webp)
I-7565M-HS USB to CAN converter User Manual (version 1.0.0)
Page: 51
Copyright © 2018 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
5.5.8 CANHS_SetCANWhiteListMode
This function is used to enable or disable the whitelist of CAN message ID firmware
filter function in the assigned CAN port of the I-7565M-HS device. Enable this function
wil let the I-7565M-HS device to accept only the CAN message IDs in the whitelist table.
Syntax:
C++
int CANHS_SetCANWhiteListMode(WORD i_wDevice_id, BYTE i_byCANPort, BYTE
i_byMode);
C#
Int32 CANHS_SetCANWhiteListMode(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 whitelist of CAN message ID firmware filter function in
the assigned CAN port of the I-7565M-HS device.
0: disable whitelist of CAN message ID firmware filter function
1: enable whitelist of CAN message ID firmware filter function
Return Value:
Return 0 means success, others means failure.