EasyManuals Logo

VeriFone e355 User Manual

VeriFone e355
78 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #24 background imageLoading...
Page #24 background image
ARCHITECTURE
iap_control_function()
24 E355/E265 USER AND BEST PRACTICES GUIDE
iap_control_function()
This allows an application to control the keypad state. The possible functions
defined in SDK header, SVC.H, are:
IAP_CONTROL_KEYPAD_SLEEP, turns off the keypad.
IAP_CONTROL_KEYPAD_WAKE, turns the keypad on.
IAP_CONTROL_DISABLE_KEYBEEP, turns off the keypad beeps.
IAP_CONTROL_ENABLE_KEYBEEP, turns on the keypad beeps.
Prototype int iap_control_function (int handle, int function);
Parameters
Return Values Returns 0 if successful. If an error occurs, the function returns -1 and errno is set
to an error code.
iap_get_keypad_state()
Copies the keypad status to the given buffer. The first byte is the "Enable State."
The second byte is the "Beep State." The two status bytes are as follows:
<Enable State>
0 if keypad is disabled, 1 if keypad is enabled and awake, 2 if keypad is
enabled, but still waking up.
<Beep State>
0 if beeps are disabled, 1 if beeps are enabled.
Prototype int iap_get_keypad_state (int handle, char*buffer);
Parameters
Return Values Returns 0 if successful. If an error occurs, the function returns -1 and errno is set
to an error code.
handle The handle returned for the device by the open() call.
function An integer specifying the function to be performed.
handle The handle returned for the device by the open() call.
buffer A buffer of at least 2 bytes to hold keypad status.

Table of Contents

Other manuals for VeriFone e355

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the VeriFone e355 and is the answer not in the manual?

VeriFone e355 Specifications

General IconGeneral
BrandVeriFone
Modele355
CategoryPayment Terminal
LanguageEnglish

Related product manuals