> 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/s-adk-5.1-programmers-guide/readme/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/sdidevtoolsvc_8cpp.md).

# sdidevtoolsvc.cpp

[Functions](#func-members)

`#include "`[sdidevtoolsvc.h](/s-adk-5.1-programmers-guide/sdidevtoolsvc_8h_source.md)`"`

Include dependency graph for sdidevtoolsvc.cpp:

![](/files/uzTKIxmwdunMS1pqRwth)

|           |                                                                       |
| --------- | --------------------------------------------------------------------- |
| Functions |                                                                       |
| bool      | [devtoolsvc\_supported](#ac9d38efc6026917000e9057f148dd9d9) ()        |
| bool      | [devtoolsvc\_installed](#a3afb9f9da43ece70daf2a3c096c92025) ()        |
| string    | [devtoolsvc\_get\_libname](#a05840945f06b78e651133df6f11cc341) ()     |
| string    | [devtoolsvc\_get\_build\_date](#affc2acac8e6aa51d6130d51702e16415) () |
| string    | [devtoolsvc\_get\_version](#a19fc3433a57f1c5bf2248347ba8c31b9) ()     |
| bool      | [devtoolsvc\_start](#a03793175d9831cb73b052c8f7b9341fc) ()            |
| void      | [devtoolsvc\_stop](#ace9537943514134e799d94110ae4aa6e) ()             |

### FunctionDocumentation <a href="#function-documentation" id="function-documentation"></a>

### devtoolsvc\_get\_build\_date() <a href="#affc2acac8e6aa51d6130d51702e16415" id="affc2acac8e6aa51d6130d51702e16415"></a>

string devtoolsvc\_get\_build\_date

returns the build date string for the SDI devtool service library

#### Returns

build date or an empty string, if SDI devtool service is not supported/installed on this device type.

{% hint style="info" %}
This function loads the devtool service library. If loading of the library has already failed before, the function immediately returns an empty string. Use function [devtoolsvc\_stop()](/s-adk-5.1-programmers-guide/readme/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/sdidevtoolsvc_8h.md#ace9537943514134e799d94110ae4aa6e) to unload the library or to force a new attempt to load the library with this function. If the SDI devtool service is supported on this platform, this function immediately returns an empty string and does nothing.
{% endhint %}

### devtoolsvc\_get\_libname() <a href="#a05840945f06b78e651133df6f11cc341" id="a05840945f06b78e651133df6f11cc341"></a>

string devtoolsvc\_get\_libname

returns the library name for the SDI devtool service library

#### Returns

library name or an empty string, if SDI devtool service is not supported/installed on this device type.

{% hint style="info" %}
This function loads the devtool service library. If loading of the library has already failed before, the function immediately returns an empty string. Use function [devtoolsvc\_stop()](/s-adk-5.1-programmers-guide/readme/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/sdidevtoolsvc_8h.md#ace9537943514134e799d94110ae4aa6e) to unload the library or to force a new attempt to load the library with this function. If the SDI devtool service is supported on this platform, this function immediately returns an empty string and does nothing.
{% endhint %}

### devtoolsvc\_get\_version() <a href="#a19fc3433a57f1c5bf2248347ba8c31b9" id="a19fc3433a57f1c5bf2248347ba8c31b9"></a>

string devtoolsvc\_get\_version

returns the version string for the SDI devtool service library

#### Returns

version string or an empty string, if SDI devtool service is not supported/installed on this device type.

{% hint style="info" %}
This function loads the devtool service library. If loading of the library has already failed before, the function immediately returns an empty string. Use function [devtoolsvc\_stop()](/s-adk-5.1-programmers-guide/readme/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/sdidevtoolsvc_8h.md#ace9537943514134e799d94110ae4aa6e) to unload the library or to force a new attempt to load the library with this function. If the SDI devtool service is supported on this platform, this function immediately returns an empty string and does nothing.
{% endhint %}

### devtoolsvc\_installed() <a href="#a3afb9f9da43ece70daf2a3c096c92025" id="a3afb9f9da43ece70daf2a3c096c92025"></a>

bool devtoolsvc\_installed

check if SDI devtool service library is installed on the system. In addition, the function pre-loads the library for use of API functions below.

#### Returns

true if devtool service library is installed and loaded successfully, else false

{% hint style="info" %}
If loading of the library has already failed before, the function immediately returns false and does nothing. Use function [devtoolsvc\_stop()](/s-adk-5.1-programmers-guide/readme/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/sdidevtoolsvc_8h.md#ace9537943514134e799d94110ae4aa6e) to unload the library or to force a new attempt to load the library with this function. If the SDI devtool service is supported on this platform, this function immediately returns false and does nothing.
{% endhint %}

### devtoolsvc\_start() <a href="#a03793175d9831cb73b052c8f7b9341fc" id="a03793175d9831cb73b052c8f7b9341fc"></a>

bool devtoolsvc\_start

starts the SDI devtool service

#### Returns

true if the service was successfully started

{% hint style="info" %}
This function loads the devtool service library. If loading of the library has already failed before, the function immediately returns false and does nothing. Use function [devtoolsvc\_stop()](/s-adk-5.1-programmers-guide/readme/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/sdidevtoolsvc_8h.md#ace9537943514134e799d94110ae4aa6e) to unload the library or to force a new attempt to load the library with this function. If the SDI devtool service is supported on this platform, this function immediately returns false and does nothing.
{% endhint %}

### devtoolsvc\_stop() <a href="#ace9537943514134e799d94110ae4aa6e" id="ace9537943514134e799d94110ae4aa6e"></a>

void devtoolsvc\_stop

stops the SDI devtool service, if successfully started with [devtoolsvc\_start()](/s-adk-5.1-programmers-guide/readme/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/sdidevtoolsvc_8h.md#a03793175d9831cb73b052c8f7b9341fc) before.

{% hint style="info" %}
Afterwards the devtool service library is unloaded. In addition, other API functions will attempt to load the devtool service library again with next invocation. If the SDI devtool service is supported on this platform, this function immediately returns and does nothing.
{% endhint %}

### devtoolsvc\_supported() <a href="#ac9d38efc6026917000e9057f148dd9d9" id="ac9d38efc6026917000e9057f148dd9d9"></a>

bool devtoolsvc\_supported

check if SDI devtool service is supported on this platform

#### Returns

true if devtool service is supported, else false

{% hint style="info" %}
Recently this function returns true on Android only.
{% endhint %}


---

# 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/s-adk-5.1-programmers-guide/readme/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/sdidevtoolsvc_8cpp.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.
