UI.Enable
This command enables a specific port of the reader.
Depending on the type of the selected port, it does one of
the following:
-
Drive an output pin high (GPIO)
-
Activate a peripheral component (beeper, relay)
-
Switch an LED to a certain color
Parameters (request frame)
Name
|
Type/Size
|
Description
|
Port
|
Enumeration (8 bits)
|
I/O pins of the reader that can be controlled by
the user. Values:
-
GreenLed (0x00)
Enable/disable/toggle the green LED (if
available).
-
RedLed (0x01)
Enable/disable/toggle the red LED (if
available).
-
Beeper (0x02)
Enable/disable/toggle the beeper (if
available).
-
Relay (0x03)
Enable/disable/toggle the relay (if
available).
-
Input0 (0x04)
Retrieve the state of the custom input
0.
-
Input1 (0x05)
Retrieve the state of the custom input
1.
-
BlueLed (0x06)
Enable/disable/toggle the blue LED (if
available).
-
TamperAlarm (0x07)
Retrieve the state of the tamper alarm.
-
Gpio0 (0x08)
Refers to a general purpose I/O. The
physical pin assigned to this logical
I/O port depends on the physical setup
of the device.
-
Gpio1 (0x09)
Refers to a general purpose I/O. The
physical pin assigned to this logical
I/O port depends on the physical setup
of the device.
-
Gpio2 (0x0A)
Refers to a general purpose I/O. The
physical pin assigned to this logical
I/O port depends on the physical setup
of the device.
-
Gpio3 (0x0B)
Refers to a general purpose I/O. The
physical pin assigned to this logical
I/O port depends on the physical setup
of the device.
-
Gpio4 (0x0C)
Refers to a general purpose I/O. The
physical pin assigned to this logical
I/O port depends on the physical setup
of the device.
-
Gpio5 (0x0D)
Refers to a general purpose I/O. The
physical pin assigned to this logical
I/O port depends on the physical setup
of the device.
-
Gpio6 (0x0E)
Refers to a general purpose I/O. The
physical pin assigned to this logical
I/O port depends on the physical setup
of the device.
-
Gpio7 (0x0F)
Refers to a general purpose I/O. The
physical pin assigned to this logical
I/O port depends on the physical setup
of the device.
-
CustomVled0 (0x40)
Custom Virtual LED (VLED) port.
Allows RGB LEDs to be activated
with a user-defined color.
-
CustomVled1 (0x41)
Custom Virtual LED (VLED) port.
Allows RGB LEDs to be activated
with a user-defined color.
-
CustomVled2 (0x42)
Custom Virtual LED (VLED) port.
Allows RGB LEDs to be activated
with a user-defined color.
-
CustomVled3 (0x43)
Custom Virtual LED (VLED) port.
Allows RGB LEDs to be activated
with a user-defined color.
-
CustomVled4 (0x44)
Custom Virtual LED (VLED) port.
Allows RGB LEDs to be activated
with a user-defined color.
-
CustomVled5 (0x45)
Custom Virtual LED (VLED) port.
Allows RGB LEDs to be activated
with a user-defined color.
-
CustomVled6 (0x46)
Custom Virtual LED (VLED) port.
Allows RGB LEDs to be activated
with a user-defined color.
-
CustomVled7 (0x47)
Custom Virtual LED (VLED) port.
Allows RGB LEDs to be activated
with a user-defined color.
-
CustomVled8 (0x48)
Custom Virtual LED (VLED) port.
Allows RGB LEDs to be activated
with a user-defined color.
-
CustomVled9 (0x49)
Custom Virtual LED (VLED) port.
Allows RGB LEDs to be activated
with a user-defined color.
-
CustomVled10 (0x4A)
Custom Virtual LED (VLED) port.
Allows RGB LEDs to be activated
with a user-defined color.
-
CustomVled11 (0x4B)
Custom Virtual LED (VLED) port.
Allows RGB LEDs to be activated
with a user-defined color.
-
CustomVled12 (0x4C)
Custom Virtual LED (VLED) port.
Allows RGB LEDs to be activated
with a user-defined color.
-
CustomVled13 (0x4D)
Custom Virtual LED (VLED) port.
Allows RGB LEDs to be activated
with a user-defined color.
-
CustomVled14 (0x4E)
Custom Virtual LED (VLED) port.
Allows RGB LEDs to be activated
with a user-defined color.
-
CustomVled15 (0x4F)
Custom Virtual LED (VLED) port.
Allows RGB LEDs to be activated
with a user-defined color.
|
Returned values (response frame)
None