User's Manual

-21
(3) MESSAGE Definition
The following table lists all DLL function message and how to solve it.
No. Name Value Introduction
1 HANDLE_SUCCESS 0x00 This message will happen when the function
you called was executed successfully.
2 HANDLE_ERR_TAG_PASSIVE 0x20 This message will happen when you call
“SUNLITRFID_ScanTag” in passive mode,and
device found a tag.
3 HANDLE_ERR_TAG_NOT_FOUND 0x22 This message will happen when you call
“SUNLITRFID_ScanTag” in passive mode,but
device does’t found a tag.
4 HANDLE_ERR_NO_RESPONSE 0x80 This message will happen when you call
function,but device has no response. To solve
this problem, please check hardware power or
connection.
5 HANDLE_ERR_COMPORT 0x81 This message will happen when you call
“SUNLITRFID_ScanTag” in passive mode,but
comport failed with some error. To solve this
problem, please check hardware power or
connection.
6 HANDLE_ERR_CREATE_EVENT 0x88 This message will happen when you call
“SUNLITRFID_Open” or
“SUNLITRFID_OpenII”, but DLL create event
fail. To solve this problem, please try again.
7 HANDLE_ERR_CREATE_THREAD 0x89 This message will happen when you call
“SUNLITRFID_Open” or
“SUNLITRFID_OpenII”, but DLL create thread
fail. To solve this problem, please try again.
8 HANDLE_ERR_ILLEGAL_RETURN_DATA 0x8b This message will happen when you call
function,but device return incorrect data.
To solve this problem, please try again the
function you called.
9 HANDLE_ERR_UNSUPPORTED_FUNCTIO
N
0x8c This message will happen when device does’t
support this function.
10 HANDLE_ERR_ILLEGAL_DATA 0xfd This message will happen when the parameter
of function that you called was illegal. To solve
this problem, please send legal data to function.