-
7.5. Setup Finger print module communication type
Function Description:
Setup FP module communication port parameter.
Function call:
WORD BioID_SetupEx(LPCOMMDATA CommData, WORD Port, DWORD BaudRate, WORD
StopBits, WORD Parity);
Parameters(Input):
CommData:
LPCOMMDATA
: refer to BioID_Create()
Port:
WORD
: Module’s port (always 1 for MR650)
BaudRate:
DWORD
: Module’s baud rate
StopBits:
WORD
: Stop bit
Parity:
WORD
:
Parity
Return code:
WORD: Always TRUE
7.6. Get module’s communication type
Function Description:
Get FP module’s communication port type(1 for RS232, 2 for RS485) and save in lpConfig->Type.
Function call:
WORD BioID_GetType(LPCOMMDATA CommData, LPCONFIG lpConfig);
Parameters(Input):
CommData:
LPCOMMDATA
: refer to BioID_Create()
Parameters(Output):
lpConfig:
LPCONFIG
: Below is definition for LPCONFIG
typedef struct _tagCONFIG {
WORD
Port,
// 1 => Com1, 2 => Com2
Type,
// 1 => RS232, 2 => RS485
Baud;
// 1 => CBR_9600
// 2 => CBR_19200
// 3 => CBR_38400
// 4 => CBR_57600
// 5 => CBR_115200
}
Return code:
WORD: 130
(=CmdErrTime) Timeout
7
(=CmdNO)
Error occurred during receiving data
6 (=CmdYES)
Success.
Содержание MR650
Страница 1: ...MR650 Programming Manual V 1 12 1 16 2008 ...
Страница 7: ... 7 13 FUNCTION KEY SETTING ON REGISTRY 65 14 UPDATE NOTES 66 ...
Страница 16: ... it is for internal use send messages ...
Страница 33: ... Be aware to release handles when program ends ...