Download Application Programming Interface
Transcript
AET63 API Guide version 1.7 February 2006 2.4.3.3.h PTSetLED The PTSetLED function allows the application to control the state and behavior of the two-user interface LEDs, which can be optionally connected to the TFM. LONG PTSetLED( PT_CONNECTION hConnection, PT_DWORD dwMode, PT_DWORD dwLED1, PT_DWORD dwLED2 ); Parameters hConnection Handle of the connection to TFM dwMode Mode of the LEDs. Different modes define different behavior of the LEDs during specific operations, especially the biometrics. See PT_LED_MODE_xxxx. dwLED1 Parameter defining the detailed behavior of the first LED. This parameter is modespecific. dwLED2 Parameter defining the detailed behavior of the second LED. This parameter is mode-specific. Return Values Status code. 2.4.3.3.i PTGetLED The PTGetLED function allows the application to query the state and behavior of the two-user interface LEDs, which can be optionally connected to the TFM. LONG PTGetLED( PT_CONNECTION hConnection, PT_DWORD *pdwMode, PT_DWORD *pdwLED1, PT_DWORD *pdwLED2 ); Parameters hConnection Handle of the connection to TFM pdwMode Mode of the LEDs. See PTSetLED for details. pdwLED1 Parameter defining the detailed behavior of the first LED. This parameter is modespecific. See PTSetLED for details. pdwLED2 Parameter defining the detailed behavior of the second LED. This parameter is mode-specific. See PTSetLED for details. Return Values Status code 2.4.3.3.j PTSleep The PTSleep function switches FM to deep sleep or standby mode. In this mode, FM's CPU is stopped to minimize power consumption. FM can be woken up from the sleep mode either by the host or by another event (e.g. when a finger is detected on FM's sensor). Advanced Card Systems Ltd. Page 38 of 56