-34
17. BYTE
SUNLITRFID_HardwareVersionGet(
SUNLITRFID_HARDWARE_VER *HardwareVer
);
SUNLITRFID_HardwareVersionGet
is used to get the hardware version from the device.
Parameters
:
HardwareVer
:
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_HARDWARE_VER HardwareVer;
if(SUNLITRFID_HardwareVersionGet(&HardwareVer)==HANDLE_SUCCESS)
{} //Get hardware version successfully
else
{}
18. BYTE
SUNLITRFID_FirmwareVersionGet(
SUNLITRFID_FIRMWARE_VER *FirmwareVer
);
SUNLITRFID_FirmwareVersionGet
is used to get the firmware version from the device.
Parameters
:
FirmwareVer
:
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_FIRMWARE_VER FirmwareVer;
if(SUNLITRFID_FirmwareVersionGet(&FirmwareVer)==HANDLE_SUCCESS)
{} //Get firmware version successfully
else
{}