LED Control
Command 0x1807 - LED Control
The host uses this command to control the 4 LEDs of the device when the device is not in non-User Control LED states. If the host sets an LED timer, the device reports completion via Notification 0x1805 - User Interface Operation Complete after the LED operation finishes.
Non-User Control LED state is when the device is in tamper, or currently running transaction with these commands:
Command 0x1001 - Start Transaction
Command 0x1840 - Card Emulation
Command 0x2001 – Request PIN with Host Supplied Account Data
Command 0x2002 – Request PIN with Card Supplied Account Data
When the device is in non-User Control LED states, it will return error if the host sends this command.
When the device is in the User Control LED state, and if there is any transaction that uses LEDs for the transaction status, the device will stop the User Control LEDs for that transaction to take over, and resume to the current system’s LED status after finishing that transaction.
The host is responsible for stopping the User Control LEDs so the device can get back to the system’s LEDs status if the device is in the User Control LEDs.
Note:
DynaFlex II PED and DynaFlexII LEDs color can be GREEN, RED, AMBER, or BLUE.
DynaProx, DynaFlex II GO LEDs color is GREEN only. Setting other colors is the same as GREEN.
Table - Request Data for Command 0x1807 – LED Control
Tag
Len
Value / Description
Typ
Req
Default
Beginning of any wrappers, at minimum including Request Message
1807 = Command 0x1807 – LED Control
81
02
Byte 1 - User Control LED
0x00 – Stop User Control LED. This will stop User control LED and resume the current system’s LED status.
0x01 – Start User Control LED.
Byte 2 – Duration in unit of second
0x00 – Continuous
0x01 to 0xFF = 1 to 255 seconds
B
R
82
02
Byte 1 - LED number
Bit 1 = LED 1
Bit 2 = LED 2
Bit 3 = LED 3
Bit 4 = LED 4
Where the LEDs are numbered 1, 2, 3, 4 counting from the left.
Example: 0x01 = LED 1, 0x03 = LED 1 and LED 2.
Byte 2 - LED Status
0x00 = OFF
0x01 = GREEN ON
0x02 = GREEN BLINK FAST (1/4 second on, 1/4 second off)
0x03 = GREEN BLINK SLOW (1/2 second on, 1/2 second off)
0x04 = GREEN FLASH (1/4 second on, 3/4 second off)
0x05 = GREEN FLASH QUICK (1/8 second on, 7/8 second off)
0x11 = RED ON
0x12 = RED BLINK FAST (1/4 second on, 1/4 second off)
0x13 = RED BLINK SLOW (1/2 second on, 1/2 second off)
0x14 = RED FLASH (1/4 second on, 3/4 second off)
0x15 = RED FLASH QUICK (1/8 second on, 7/8 second off)
0x21 = AMBER ON
0x22 = AMBER BLINK FAST (1/4 second on, 1/4 second off)
0x23 = AMBER BLINK SLOW (1/2 second on, 1/4 second off)
0x24 = AMBER FLASH (1/4 second on, 3/4 second off)
0x25 = AMBER FLASH QUICK (1/8 second on, 7/8 second off)
0x31 = BLUE ON
0x32 = BLUE BLINK FAST (1/4 second on, 1/4 second off)
0x33 = BLUE BLINK SLOW (1/2 second on, 1/4 second off)
0x34 = BLUE FLASH (1/4 second on, 3/4 second off)
0x35 = BLUE FLASH QUICK (1/8 second on, 7/8 second off)
B
R
End of any wrappers, at minimum including Request Message
Table - Response Data for Command 0x1807 – LED Control
Tag
Len
Value / Description
Typ
Req
Default
Beginning of any wrappers, at minimum including Response Message
No parameters.
End of any wrappers, at minimum including Response Message
Table - Request Example
Table - Response Example
Last updated

