Document Title Here
AET65 API
Version 1.0
idvation GmbH
Otto-Hesse-Straße 19 / T5
Phone +49 6151 9926567
D-64293 Darmstadt
Fax +49 6151 3689296
www.idvation.com
Page 33 of 84
Page 33 of 84
3.5.8.
ABSSetLED
ABS_STATUS ABSSetLED(
IN ABS_CONNECTION hConnection
IN ABS_DWORD dwMode
IN ABS_DWORD dwLED1
IN ABS_DWORD dwLED2
)
Description
This function allows the application to control the state and behavior
of the two user interface LEDs, which can be optionally connected to
the FM.
Parameters
hConnection
Handle to the connection to FM.
dwMode
Mode of the LEDs. Different modes define different behaviors of the
LEDs during specific operations, especially the biometrics.
When set to zero, the LEDs operate in a manual mode. The manual
mode allows the host application to directly control the state of the
LEDs, including setting various types of blinking.
Other values (and whether they are or are not supported) are
device- dependent.
dwLED1
Parameter defining the detailed behavior of the 1st LED.
This parameter is mode-specific.
For the manual mode (dwMode = 0) the value is interpreted as bit
mask with the following meaning:
• Bits 0-15: Blinking pattern. The device iterates over the bits (one bit
in one clock tick as determined by bits 16-19, see below) and turns
the LED on (bit value is 1) or off (bit value is 0). Bit 0 is displayed
first, Bit 1 in the next clock tick etc.
• Bits 16-19: Blinking clock duration exponent. Value 0 stops the
blinking, value 1 = 1 msec per a pattern bit, value 2 = 2 msec per a
pattern bit, value 3 = 4 msec per a pattern bit, … value 15 = 16384
sec per a pattern bit (value N = 2
N-1
msec per a pattern bit).
To switch a LED permanently ON, use a pattern "all ones". To switch
a LED permanently OFF, use a pattern "all zeros".
dwLED2
Parameter defining the detailed behavior of the 2nd LED.
This parameter is mode-specific.
For the manual mode (dwMode = 0), the meaning is the same as
for dwLED1.
Return Value
ABS_STATUS
Result code. ABS_STATUS_OK (0) means
success.