Skip to main content

Application Development Kit (Version 4.7)


tecclient.h

Last updated: 25-Feb-2025
Go to the documentation of this file.
    1      8 #ifndef __TEC_LIB_CLIENT_INTERFACE__    9 #define __TEC_LIB_CLIENT_INTERFACE__   10     11 #ifdef __cplusplus   12 extern "C" {   13 #endif   14     15 #include "tec/tec_common.h"   16     21 #define CTS_FORMAT         -101     22 #define CTS_TLV            -102     23 #define CTS_PARAMETER      -103     24 #define CTS_UNKNOWN_CLA    -104     25 #define CTS_UNKNOWN_INS    -105     26 #define CTS_BLOCKED        -106     28 #define CTS_NO_SERVER      -201     29 #define CTS_IPC            -202     33 typedef struct {   34   const char *hostname;        35   unsigned short port;         36 } cts_ServerConfig;   37     38     44 typedef void (* cts_Callback) (unsigned char server_idx, void *data);   45     56 int cts_ConfigureServer(unsigned char server_cnt, const cts_ServerConfig *server_cfg);   57     70 int cts_SetOptions(unsigned char server_idx, const unsigned char *options, unsigned char options_len);   71    117 int cts_StartSelection(unsigned char server_idx,  118                                     unsigned char supportedTechnologies, unsigned short timeout_sec,  119                                     cts_Callback cbf, void *cb_data,  120                                     unsigned char *options, unsigned char options_len);  121    135 int cts_StopSelection(unsigned char server_idx);  136    173 int cts_WaitSelection(unsigned char server_idx,  174                                    unsigned char *usedTechnology, unsigned char *dataBuffer,  175                                    unsigned short *dataBufferLength, unsigned short timeout_msec);  176    189 int cts_RemoveTechnologies(unsigned char server_idx, unsigned char technologies);  190    209 int cts_WaitCardRemoval(unsigned char server_idx, cts_Callback cbf, void *cb_data);  210    225 int cts_WaitCardRemoval2(unsigned char server_idx, unsigned short timeout_sec);  226    236 int cts_Ping(unsigned char server_idx, unsigned short byteCount);  237    238 #ifdef __cplusplus  239 }  240 #endif  241    242 #endif

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo