> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/adk-5.0-programmers-guide/tec_8h_source.md).

# tec.h

[Go to the documentation of this file.](/adk-5.0-programmers-guide/readme/files/dir_c2b6fb90cbe225a4c7f5c562006e9b78/dir_797c2eec9d33c0e51d543580c2b239ca/dir_fa87c044aa590573d847d8ba2d3b48c1/tec_8h.md)

```cpp
 1 
 8 #ifndef __TEC_LIB_INTERFACE__
 9 #define __TEC_LIB_INTERFACE__
 10 
 11 #ifdef __cplusplus
 12 extern "C" {
 13 #endif
 14 
 15 #include "tec/tec_common.h"
 16 
 21 #define CTS_NOTIFICATION_CBK_TYPE_UX_CARD_INSERTED 0x01 
 28 typedef void (* cts_Callback) (void *data);
 29 
 41 int cts_SetOptions(const unsigned char *options, unsigned char options_len);
 42 
 110 int cts_StartSelection(unsigned char supportedTechnologies, unsigned short timeout_sec,
 111  cts_Callback cbf, void *cb_data,
 112  unsigned char *options, unsigned char options_len);
 113 
 125 int cts_StopSelection (void);
 126 
 162 int cts_WaitSelection(unsigned char *usedTechnology, unsigned char *dataBuffer,
 163  unsigned short *dataBufferLength, unsigned short timeout_msec);
 164 
 175 int cts_RemoveTechnologies(unsigned char technologies);
 176 
 194 int cts_AddTechnologies(unsigned char technologies, unsigned char *options, unsigned char options_len);
 195 
 211 int cts_WaitCardRemoval(cts_Callback cbf, void *cb_data);
 212 
 224 int cts_WaitCardRemoval2(unsigned short timeout_sec);
 225 
 233 void cts_SetNotificationCallback(int type, cts_Callback cbf, void *cb_data);
 234 
 235 
 236 #ifdef __cplusplus
 237 }
 238 #endif
 239 
 240 #endif
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/adk-5.0-programmers-guide/tec_8h_source.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
