-30
11. BYTE SUNLITRFID_OpModeGet(
BYTE *Data
);
SUNLITRFID_OpModeGet
is used to get dvice’s operation mode.
Parameters
:
Data
:
After executing the function ,The value 0x00 represents that the device was in passive
mode,other values represent that the device was in active mode.
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_OpModeGet(&byData)==HANDLE_SUCCESS)
{
if(byData==0x00){} //The device was in passive mode
else {} //The device was in active mode
}
else
{}