-
9
RH767 HF reader
To programming RH767 HF reader, it needs C++ library. Please get it from below URL.
http://w3.adc.unitech.com.tw/pub/cs/SDK/RH767/RFID_SDK.zip
And get the sample program from the link.
http://w3.tw.ute.com/pub/cs/software/RFID/HF/RFID_HF.zip
9.1 General
Function
9.1.1 Get library version
Function Description:
To get the library version.
Function Call:
INT32 RDINT
sys
_GetAPIVersionString (LPWSTR strVersion);
Parameter:
strVersion: Get the library version.
Return code:
Please refer to section 9.5.
9.1.2 Connect to RFID reader
Function Description:
To create a connection with the reader before control it.
Function Call:
INT32 RDINTsys_OpenReader (BYTE u8COMPort
,
UINT32 u32Baudrate
,
CONST LPTSTR
strAccessCode
,
BYTE u1SecurityMode
,
UINT32 u32OpenDelayMs
,
PUINT32 pu32Baudrate)
Parameter:
u8COMPort:
The reader’s COM port number (1 – 255)
u32Baudrate:
The reader’s baud rate and the defualt is 19200.It supports 9600, 19200,
38400 and 115200.
strAccessCode:
The reader’s access code, default is “00000000”
u1SecurityMode:
To set use security mode or not.
TURN_ON : Open.
TURN_OFF : Close.
u32OpenDelayMs:
The delay time for wait reader initial, we suggest this value is 700.
pu32Baudrate:
Receive the current reader’s baud rate, if it is NULL then it will not receive
the value.
Return code:
Please refer to section 9.5.
9.1.3 Close Reader
Function Description:
To finish controlling the reader.
Function Call:
INT32 RDINTsys_CloseReader (BYTE u8COMPort);
Parameter:
u8COMPort:
The reader’s COM port number (1 – 255)
Return code:
Please refer to chapter 9.5.