ACR1281U-C8 – Application Programming Interface
Version 1.00
www.acs.com.hk
Page 8 of 52
3.3. ACR120_Reset
Resets the Mifare Chip of the reader, then restores the factory settings.
High Level API
:
DLLAPI INT16 AC_DECL ACR120_Reset(UINT16 hReader);
Parameters
Description
hReader
Handle to the Reader returned by AC_Open()
Return Value
INT16
0 = success; Error Code < 0
Table 4
: ACR120_Reset Command Description
Low Level Frame Structure:
Command: From PC to Reader (5 Bytes)
Command Code
(1 byte)
Command Data Length
(1 bytes)
Instruction Code
(1 bytes)
Data Length
(1 byte)
E0h
02h
05h
00h
Response: From Reader to PC (5 Bytes) << Success or Fail >>
Response Code
(1 Byte)
Response Status
(2 bytes)
Response Data Length
(2 bytes)
E1h
INT16
0000h