-
7. Finger print control BIOIDDLL.DLL
Below API maybe useful for you to control MR650.
7.1. Start Finger print function
Function Description:
Start MR650 finger print function, include allocate and initialize COM port data structure.
Function call:
LPCOMMDATA BioID_Create(void);
Return code:
LPCOMMDATA structure
P.S. LPCOMMDATA is a structure which is defined on BIOIDDLL.h as below
typedef struct _tagCOMMDATA {
BYTE
IsConnected;
HANDLE
hCom;
// COM port handle
BYTE
Port;
// always COM 6 on MR650
} COMMDATA, FAR* LPCOMMDATA;
7.2. Stop Finger print function
Function Description:
Stop MR650 finger print function, include deallocate COM port data.
Function call:
void BioID_Destroy (LPCOMMDATA CommData);
Parameters(Input):
CommData:
LPCOMMDATA
: refer to BioID_Create()
7.3. Connect to Finger print module
Function Description:
Connect to FP’s COM port using the parameters given by lpCommData.
Function call:
WORD BioID_Connect(LPCOMMDATA CommData);
Parameters(Input):
CommData:
LPCOMMDATA
: refer to BioID_Create()
Return code:
WORD
7.4. Disconnect Finger print module
Function Description:
Disconnect FP from COM port.
Function call:
void BioID_Disconnect(LPCOMMDATA CommData);
Parameters(Input):
CommData:
LPCOMMDATA
: refer to BioID_Create()