-32
14. BYTE
SUNLITRFID_ScanTag(
SUNLITRFID_TAGID *TagID
);
SUNLITRFID_ScanTag
for scan tag. When it passive mode, reader will read tag once, when it is active mode, reader will start to read
tag continuously.
Parameters
:
TagID
:
Please see
「
TYPE
」
definition.
Return Values
:
The function will return byte value that indicate the execution result, please see
「
MESSAGE
」
definition for byte value.
For example
:
SUNLITRFID_TAGID TagID;
switch(SUNLITRFID_
SUNLITRFID_ScanTag(&TagID))
{
case HANDLE_SUCCESS: //Start scan tag in active mode
break;
case HANDLE_ERR_TAG_PASSIVE://Found Tag in passive mode
break;
case HANDLE_ERR_TAG_NOT_FOUND://Not Found Tag in passive mode
break;
dfault://Please see
「
MESSAGE
」
definition
break;
}