-
11 RH767 UHF reader for SkyeTek
This library “Skeydll.dll” is used to control RH767 RFID Reader. Please get it from below
URL.
http://w3.adc.unitech.com.tw/pub/cs/SDK/RH767/RFID_SDK.zip
11.1 Connect to RFID reader
Function Description:
To create a connection with the reader before control it.
Function Call:
BOOL OpenPort (int nPort, DWORD dwBaudRate);
Parameter:
nPort:
The reader’s COM port number (1 – 255), default is COM2.
dwBaudRate:
The baud rate with the reader, the default is “57600”
Return code:
TRUE:
Connect
success.
FALSE:
Connect fail
11.2 Disconnect with RFID reader
Function Description:
Close the connection with reader.
Function Call:
void ClosePort ();
11.3 Select Tag
Function Description:
To select any type of supported tag.
Function Call:
BOOL SelectTags (char *szData, TAG_TYPE *TagType);
Parameter:
szData:
Receive the Tag ID.
TagType:
Return the tag type.
typedef enum TAG_TYPE
{
Gen1_Tag = 0,
Gen2_Tag = 1,
ISO180006B_Tag = 2,
Unknow_Tag = 10,
}TAG_TYPE;
Return code:
TRUE:
Select tag success.
FALSE:
Select tag fail.