ACR122L – Communication Protocol
Version 1.03
www.acs.com.hk
Page 34 of 57
6.13. LED Enable/Disable
This command is used to enable/disable the LEDs by user.
Note:
Default “Disable.” LED control performed by the firmware.
LED Control Enable Command Format (5 Bytes)
P2
bCtrlEable (1 Byte).
CMD
Description
00h
Disable LED Control by user
FFh
Enable LED Control by user
Data Out
SW1 SW2.
Status Code
Results
SW1 SW2
Meaning
Success
90
00h
The operation is completed successfully.
Error
63
00h
The operation is failed.
6.14. LED Control
This command is used to control the four LEDs.
LED Control Command Format (5 Bytes)
Command
Class INS
P1
P2
Lc
LED Control
FFh
00h
41h
bLEDsState
00h
P2
bLEDsState .
LED_0, LED_1, LED_2 and LED_3 Control Format (1 Byte)
CMD
Item
Description
Bit 0
LED_0 State
1 = On; 0 = Off
Bit 1
LED_1 State
1 = On; 0 = Off
Bit 2
LED_2 State
1 = On; 0 = Off
Bit 3
LED_3 State
1 = On; 0 = Off
Bits 4 – 7
Reserved
Command
Class
INS
P1
P2
Lc
LED Control Enable
FFh
00h
43h
bLEDCtrl
00h