> 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/readme/annotated/class_config.md).

# Config

[Public Member Functions](#pub-methods) | [Static Public Member Functions](#pub-static-methods)

`#include <`[config.h](/adk-5.0-programmers-guide/config_8h_source.md)`>`

|                         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Public Member Functions |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|                         | [\~Config](#a54dfba499c9d9e1003d4c9bcbe6ad1c5) ()                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| int                     | [emvCbApplicationSelectionMode](#a5a8c5335314e732e88c98d2991f92a8e) () const                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
|                         | <p>emvCbApplicationSelectionMode <a href="#a5a8c5335314e732e88c98d2991f92a8e">More...</a><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| int                     | [emvCbLedMode](#a740eac1df9ee3ab84f8da9200b470ed1) () const                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
|                         | <p>emvCbLedMode <a href="#a740eac1df9ee3ab84f8da9200b470ed1">More...</a><br></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| bool                    | [adminMode](#af4901a4e702173b342dc77a8b3e061d8) (unsigned \*tout\_sec=0) const                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
|                         | <p>adminMode Administration mode will hide info and menu button on idlescreen, unless key combination 2-5-8 is pressed (or for touch-only devices: 4 corners touches on diplay are detected). <a href="#af4901a4e702173b342dc77a8b3e061d8">More...</a><br></p>                                                                                                                                                                                                                                                                                                                                                                       |
| bool                    | [counterTopMode](#ac8ce05a0e03786cdfd6e0183c416adbb) (bool \*auto\_connect=0) const                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
|                         | <p>counterTopMode By default and as long as not disabled by this configuration, SDI has enabled the Countertop mode, which will prepare the device to connect to an EPP, which is attached to USB. Finally, this configuration will force Standalone mode, if this function returns false. For instance, on Engage this mode will disable USB network with gadget mode so that no connection to EPP will be possible at all. On Android, USB network setup is done by Android OS, but Standalone mode will also disable SDI to connect to the EPP on this platform. <a href="#ac8ce05a0e03786cdfd6e0183c416adbb">More...</a><br></p> |

|                                                                                |                                                      |
| ------------------------------------------------------------------------------ | ---------------------------------------------------- |
| Static Public Member Functions                                                 |                                                      |
| static [Config](/adk-5.0-programmers-guide/readme/annotated/class_config.md) & | [getInstance](#a1ef2bdb72ea7052082489de1e0525d09) () |

### Constructor& Destructor Documentation

### \~Config() <a href="#a54dfba499c9d9e1003d4c9bcbe6ad1c5" id="a54dfba499c9d9e1003d4c9bcbe6ad1c5"></a>

\\\~[Config](/adk-5.0-programmers-guide/readme/annotated/class_config.md)

destructor singleton instance must be deleted

### MemberFunction Documentation <a href="#member-function-documentation" id="member-function-documentation"></a>

### adminMode() <a href="#af4901a4e702173b342dc77a8b3e061d8" id="af4901a4e702173b342dc77a8b3e061d8"></a>

bool adminMode

adminMode Administration mode will hide info and menu button on idlescreen, unless key combination 2-5-8 is pressed (or for touch-only devices: 4 corners touches on diplay are detected).

**Parameters**

\[out] **tout\_sec** timeout in seconds to hide buttons on idlescreen again, once buttons were enabled by keys/touch Set to NULL, if returning timeout is not desired (default).

#### Returns

true for enabled administration mode of SDI-Server, else false.

### counterTopMode() <a href="#ac8ce05a0e03786cdfd6e0183c416adbb" id="ac8ce05a0e03786cdfd6e0183c416adbb"></a>

bool counterTopMode

counterTopMode By default and as long as not disabled by this configuration, SDI has enabled the Countertop mode, which will prepare the device to connect to an EPP, which is attached to USB. Finally, this configuration will force Standalone mode, if this function returns false. For instance, on Engage this mode will disable USB network with gadget mode so that no connection to EPP will be possible at all. On Android, USB network setup is done by Android OS, but Standalone mode will also disable SDI to connect to the EPP on this platform.

**Parameters**

\[out] **auto\_connect** automatic TLS connection setup in idle is enabled for Countertop devices (e.g. t650c). The feature can be disabled by configuration, default: enabled. Set to NULL, if returning of auto-connect mode is not desired.

#### Returns

true Countertop mode ist enabled, else false (Standalone only).

### emvCbApplicationSelectionMode() <a href="#a5a8c5335314e732e88c98d2991f92a8e" id="a5a8c5335314e732e88c98d2991f92a8e"></a>

int emvCbApplicationSelectionMode

emvCbApplicationSelectionMode

#### Returns

0 for handling EMV application selection callback inside SDI-Server , 1 for sending to outside application

### emvCbLedMode() <a href="#a740eac1df9ee3ab84f8da9200b470ed1" id="a740eac1df9ee3ab84f8da9200b470ed1"></a>

int emvCbLedMode

emvCbLedMode

#### Returns

0 for handling CTLS Led callback inside SDI-Server , 1 for sending to outside application

### getInstance() <a href="#a1ef2bdb72ea7052082489de1e0525d09" id="a1ef2bdb72ea7052082489de1e0525d09"></a>

static [Config](/adk-5.0-programmers-guide/readme/annotated/class_config.md)& getInstance

inlinestatic

Singleton design

***

The documentation for this class was generated from the following files:

* sdi/src/[config.h](/adk-5.0-programmers-guide/config_8h_source.md)
* sdi/src/[config.cpp](/adk-5.0-programmers-guide/readme/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/config_8cpp.md)


---

# 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/readme/annotated/class_config.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.
