User's Manual

-31
12. BYTE SUNLITRFID_ActiveScanIntervalSet(
BYTE Data
);
SUNLITRFID_ActiveScanIntervalSet is used to set the scan interval time for active mode.
Parameters
:
Data
:The value represents scan interval time,bwtween 5 ~ 255 (Uint:10mS)
Return Values
:
The function will return byte value that indicate the execution result, please see 「MESSAGE」 definition for byte value.
For example
:
BYTE byData;
byData=10;//scan interval=100ms
if(SUNLITRFID_ ActiveScanIntervalSet(byData)==HANDLE_SUCCESS)
{} //Set scan interval successfully
else
{}
13. BYTE SUNLITRFID_ActiveScanIntervalGet(
BYTE *Data
);
SUNLITRFID_ActiveScanIntervalGet is used to get the current scan interval time for active mode.
Parameters
:
Data
:After executing the function ,The value represents the scan interval time that in active mode.
(Uint:10mS)
Return Values
:
The function will return byte value that indicate the execution result, please see 「MESSAGE」 definition for byte value
For example
:
BYTE byData;
if(SUNLITRFID_ ActiveScanIntervalGet(&byData)==HANDLE_SUCCESS)
{} //Get scan interval successfully
else
{}