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 34 of 84
Page 34 of 84
Remarks
The default status of LEDs after FM boot is a manual mode
(dwMode = 0), with both LEDs off. When a connection (session) is
closed, the LEDs will keep the last status they had. If the LEDs were
blinking, they will keep blinking.
The consequence of the previous point is that at the beginning of a
connection, the status of LEDs can vary. The host application should
call ABSGetLED/ABSSetLED to determine and/or define the LED
status.
When FM enters a deep sleep or standby, the LEDs will be turned
off for the duration of sleep. After wakeup the LEDs will resume the
status they had before the sleep (including the blinking).
3.5.9.
ABSGetLED
ABS_STATUS ABSGetLED(
IN ABS_CONNECTION hConnection
OUT ABS_DWORD *dwMode
OUT ABS_DWORD *dwLED1
OUT ABS_DWORD *dwLED2
)
Description
This function allows the application to query the state and behavior of
the two user interface LEDs, which can be optionally connected to
the FM.
For more information about the topic, see also documentation of
function ABSSetLED.
Parameters
hConnection
Handle to the connection to FM.
dwMode
Returns a mode of the LEDs. See description of ABSSetLED() for
more detailed description.
dwLED1
Returns a value defining the detailed behavior of the 1st LED.
See description of ABSSetLED() for more detailed description.
dwLED2
Returns a value defining the detailed behavior of the 2nd LED.
See description of ABSSetLED() for more detailed description.
Return value
ABS_STATUS
Result code. ABS_STATUS_OK (0) means
success.
Remarks
ABSGetLED returns the LED status as set by the latest call to
ABSSetLED.
In the manual mode (dwMode == 0), if the LEDs are blinking, the
returned values do not contain information about which phase of the
bit pattern the LEDs are in.