> 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/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/disp_8h.md).

# disp.h

[Macros](#define-members) | [Functions](#func-members)

This graph shows which files directly or indirectly include this file:

![](/files/TFXLpsk1MvMGVostcO81)

[Go to the source code of this file.](/adk-5.0-programmers-guide/disp_8h_source.md)

|         |                                                                                                                                    |
| ------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| Macros  |                                                                                                                                    |
| #define | [CLA\_DISP](#acff3a92ec7593f6a7ae508c713dae4ad)   0x24                                                                             |
|         | <p>Class for Display commands. <a href="#acff3a92ec7593f6a7ae508c713dae4ad">More...</a><br></p>                                    |
| #define | [INS\_DISP\_ENABLE](#a5552414283ec42b02579d24b331f3e3b)   0x00                                                                     |
|         | <p>Enable or Disable Display. <a href="#a5552414283ec42b02579d24b331f3e3b">More...</a><br></p>                                     |
| #define | [INS\_DISP\_TEXT](#aa9a89489e3262eb3c0d45b1cfd230fad)   0x01                                                                       |
|         | <p>Display Text. <a href="#aa9a89489e3262eb3c0d45b1cfd230fad">More...</a><br></p>                                                  |
| #define | [INS\_DISP\_TEXT\_CONF](#af6ec23d1b19d567757bb25e060bdc915)   0x02                                                                 |
|         | <p>Display Text with Confirmation. <a href="#af6ec23d1b19d567757bb25e060bdc915">More...</a><br></p>                                |
| #define | [INS\_DISP\_HANDLE\_DISPLAY](#ad33bee6feeb7fed40f7c8f84412cf1ae)   0x03                                                            |
|         | <p>Handle Display. <a href="#ad33bee6feeb7fed40f7c8f84412cf1ae">More...</a><br></p>                                                |
| #define | [INS\_DISP\_HANDLE\_SECURE\_INPUT](#a4cd1a7644e8e7eb84b8eca49bdb3387b)   0x04                                                      |
|         | <p>Handle Secure Input. <a href="#a4cd1a7644e8e7eb84b8eca49bdb3387b">More...</a><br></p>                                           |
| #define | [INS\_DISP\_HANDLE\_MENU](#af2d333e085e5fa42c68aba7aebe2e014)   0x05                                                               |
|         | <p>Handle Menu. <a href="#af2d333e085e5fa42c68aba7aebe2e014">More...</a><br></p>                                                   |
| #define | [INS\_DISP\_HANDLE\_CARD\_REQUEST](#abf6d3a2d716eba006c1010658bfe14f0)   0x06                                                      |
|         | <p>Handle Card Request Display. <a href="#abf6d3a2d716eba006c1010658bfe14f0">More...</a><br></p>                                   |
| #define | [INS\_DISP\_IDLE\_SCREEN](#a0c231519b00109d232d336c1b40bdac7)   0x07                                                               |
|         | <p>Display Idle Screen. <a href="#a0c231519b00109d232d336c1b40bdac7">More...</a><br></p>                                           |
| #define | [INS\_DISP\_HANDLE\_SIGNATURE\_CAPTURE](#ac30e4e18714cfed1393b681397a3895d)   0x08                                                 |
|         | <p>Display Idle Screen. <a href="#ac30e4e18714cfed1393b681397a3895d">More...</a><br></p>                                           |
| #define | [INS\_DISP\_ACTIVATE\_LEDS](#a48112e525a1ddf4895d83b4ce63c780f)   0x09                                                             |
|         | <p>Activation of LEDs. <a href="#a48112e525a1ddf4895d83b4ce63c780f">More...</a><br></p>                                            |
| #define | [INS\_DISP\_HANDLE\_HTML\_DIALOG](#a77230f3169974e5d8b055378e99e80f1)   0x0A                                                       |
|         | <p>Handle a customer specific HTML dialog. <a href="#a77230f3169974e5d8b055378e99e80f1">More...</a><br></p>                        |
| #define | [INS\_DISP\_GET\_ASYNC\_RESULT](#a4b617aeca4cdae3be87f6490516039ff)   0x0B                                                         |
|         | <p>Return result of the last asynchronous external dialog (24-03) <a href="#a4b617aeca4cdae3be87f6490516039ff">More...</a><br></p> |

|           |                                                                                                                                                                                                       |
| --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Functions |                                                                                                                                                                                                       |
| void      | [handleDispCmd](#a5b3e410eb3656aac2880328377cd7eec) (unsigned short msgBufSize, unsigned char \*msg, unsigned long msgSize, unsigned short rspBufSize, unsigned char \*rsp, unsigned short \*rspSize) |

### MacroDefinition Documentation <a href="#macro-definition-documentation" id="macro-definition-documentation"></a>

### CLA\_DISP <a href="#acff3a92ec7593f6a7ae508c713dae4ad" id="acff3a92ec7593f6a7ae508c713dae4ad"></a>

\#define CLA\_DISP   0x24

Class for Display commands.

### INS\_DISP\_ACTIVATE\_LEDS <a href="#a48112e525a1ddf4895d83b4ce63c780f" id="a48112e525a1ddf4895d83b4ce63c780f"></a>

\#define INS\_DISP\_ACTIVATE\_LEDS   0x09

Activation of LEDs.

### INS\_DISP\_ENABLE <a href="#a5552414283ec42b02579d24b331f3e3b" id="a5552414283ec42b02579d24b331f3e3b"></a>

\#define INS\_DISP\_ENABLE   0x00

Enable or Disable Display.

### INS\_DISP\_GET\_ASYNC\_RESULT <a href="#a4b617aeca4cdae3be87f6490516039ff" id="a4b617aeca4cdae3be87f6490516039ff"></a>

\#define INS\_DISP\_GET\_ASYNC\_RESULT   0x0B

Return result of the last asynchronous external dialog (24-03)

### INS\_DISP\_HANDLE\_CARD\_REQUEST <a href="#abf6d3a2d716eba006c1010658bfe14f0" id="abf6d3a2d716eba006c1010658bfe14f0"></a>

\#define INS\_DISP\_HANDLE\_CARD\_REQUEST   0x06

Handle Card Request Display.

### INS\_DISP\_HANDLE\_DISPLAY <a href="#ad33bee6feeb7fed40f7c8f84412cf1ae" id="ad33bee6feeb7fed40f7c8f84412cf1ae"></a>

\#define INS\_DISP\_HANDLE\_DISPLAY   0x03

Handle Display.

### INS\_DISP\_HANDLE\_HTML\_DIALOG <a href="#a77230f3169974e5d8b055378e99e80f1" id="a77230f3169974e5d8b055378e99e80f1"></a>

\#define INS\_DISP\_HANDLE\_HTML\_DIALOG   0x0A

Handle a customer specific HTML dialog.

### INS\_DISP\_HANDLE\_MENU <a href="#af2d333e085e5fa42c68aba7aebe2e014" id="af2d333e085e5fa42c68aba7aebe2e014"></a>

\#define INS\_DISP\_HANDLE\_MENU   0x05

Handle Menu.

### INS\_DISP\_HANDLE\_SECURE\_INPUT <a href="#a4cd1a7644e8e7eb84b8eca49bdb3387b" id="a4cd1a7644e8e7eb84b8eca49bdb3387b"></a>

\#define INS\_DISP\_HANDLE\_SECURE\_INPUT   0x04

Handle Secure Input.

### INS\_DISP\_HANDLE\_SIGNATURE\_CAPTURE <a href="#ac30e4e18714cfed1393b681397a3895d" id="ac30e4e18714cfed1393b681397a3895d"></a>

\#define INS\_DISP\_HANDLE\_SIGNATURE\_CAPTURE   0x08

Display Idle Screen.

### INS\_DISP\_IDLE\_SCREEN <a href="#a0c231519b00109d232d336c1b40bdac7" id="a0c231519b00109d232d336c1b40bdac7"></a>

\#define INS\_DISP\_IDLE\_SCREEN   0x07

Display Idle Screen.

### INS\_DISP\_TEXT <a href="#aa9a89489e3262eb3c0d45b1cfd230fad" id="aa9a89489e3262eb3c0d45b1cfd230fad"></a>

\#define INS\_DISP\_TEXT   0x01

Display Text.

### INS\_DISP\_TEXT\_CONF <a href="#af6ec23d1b19d567757bb25e060bdc915" id="af6ec23d1b19d567757bb25e060bdc915"></a>

\#define INS\_DISP\_TEXT\_CONF   0x02

Display Text with Confirmation.

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

### handleDispCmd() <a href="#a5b3e410eb3656aac2880328377cd7eec" id="a5b3e410eb3656aac2880328377cd7eec"></a>

void handleDispCmd

Dispatch function to handle different Display commands

**Parameters**

\[in] **msgBufSize** size of the input message buffer \[in] **msg** pointer to the input message buffer \[in] **msgSize** size of the input message \[in] **rspBufSize** maximum size of the response buffer \[in,out] **rsp** pointer to the response buffer \[in,out] **rspSize** pointer to the response message size


---

# 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/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/disp_8h.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.
