2 vci_get_canfid, Vci_get_canfid – B&B Electronics I-7565-H2 - Manual User Manual
Page 44

5.5.2 VCI_Get_CANFID
This function is used to get CAN Filter-ID in the assigned CAN port.
Syntax :
int
VCI_Get_CANFID (
BYTE
CAN_No,
PVCI_CAN_FID
pCANFID
);
Parameter :
CAN_No:
[in] The assigned CAN port number.
pCANFID:
[out] A structure pointer of _VCI_CAN_FilterID is used to receive the
CAN Filter-ID data shown as below.
typedef struct _VCI_CAN_FilterID{
WORD
SSFF_Num;
WORD
GSFF_Num;
WORD
SEFF_Num;
WORD
GEFF_Num;
WORD
SSFF_FID[512];
DWORD GSFF_FID[512];
DWORD SEFF_FID[512];
DWORD GEFF_FID[512];
} _VCI_CAN_FilterID, *PVCI_CAN_FID;
SSFF_Num : Single 11-bit CAN Filter-ID number
GSFF_Num : Group 11-bit CAN Filter-ID number
SEFF_Num : Single 29-bit CAN Filter-ID number
GEFF_Num : Group 29-bit CAN Filter-ID number
SSFF_FID[512]
:
Single 11-bit CAN Filter-ID data array
GSFF_FID[512]
:
Group 11-bit CAN Filter-ID data array
SEFF_FID[512]
:
Single 29-bit CAN Filter-ID data array
GEFF_FID[512]
:
Group 29-bit CAN Filter-ID data array
Return Values :
Return 0 means success, others means failure.
I-7565-H1/H2 High Speed USB/CAN Converter User’s Manual (Ver 1.1, Nov/2009) ------------- 44