> For the complete documentation index, see [llms.txt](https://developer.magtek.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.magtek.com/hardware/card-readers/mms-dyna-devices/dynaflex-ii-ped/documentation/developers-manuals/dynaflex-ii-ped-programmers-manual/commands/user-interface/display-flexible-ui-pages.md).

# Display Flexible UI Pages

## Command 0x1830 - Display Flexible UI Pages (Display Only) <a href="#ref201815442" id="ref201815442"></a>

This command allows the host to bring up standalone pages. A page is considered standalone if it’s stateless, meaning it will be:

* Shown on the display.
* Can allow user input.
* Returns user input result to the host.
* Operation ends.

## **Table – Request Data for Command 0x1831**

<table><thead><tr><th>Tag</th><th width="73">Len</th><th width="268.33331298828125">Value / Description</th><th width="72.6666259765625">Typ</th><th width="75.333251953125">Req</th><th width="96.666748046875">Default</th></tr></thead><tbody><tr><td>1830 = Command 0x1830 - Display Flexible UI Pages (Display Only)</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>81</td><td>01</td><td><p>Display Time</p><ul><li>0x00 – Infinite. Device leaves the requested page on the display until the host initiates a change.</li></ul></td><td>B</td><td>R</td><td></td></tr><tr><td>82</td><td>01</td><td><p>UI page option</p><ul><li>0x00 – Enter Sale Amount page. Device responds with Notification 0x1803 - User Interface Host Action Request with ‘Touchscreen, $Amount button selected’ content.</li></ul></td><td>B</td><td>R</td><td></td></tr></tbody></table>

## **Table - Request Example – (Display Enter Sale Amount Page)**

| Example (Hex)                                         |
| ----------------------------------------------------- |
| AA 00 81 04 01 2C 18 31 84 08 18 31 81 01 00 82 01 00 |

## **Table - Response Example**

| Example (Hex)                             |
| ----------------------------------------- |
| AA 00 81 04 82 2C 18 31 82 04 00 00 00 00 |

<div align="center"><img src="/spaces/1lWLescKFIPsMeIJI6Cd/files/700a886bd53861451878a2e0cc865f51fa356910" alt="A diagram of a device Description automatically generated"></div>

<div align="center"><img src="/spaces/1lWLescKFIPsMeIJI6Cd/files/ede3593418e9e55a86931803a99b53f8013496a9" alt="A screenshot of a diagram Description automatically generated"></div>

<figure><img src="/spaces/1lWLescKFIPsMeIJI6Cd/files/ICnTHfc5cQcJJWZBHiDh" alt=""><figcaption></figcaption></figure>

## **Sequence for Flexible UI Gen. 2 mode**

The host sends the 0x1830 command with UI Page Option set to 0x06 (Flexible UI Gen. 2 page), which displays a bitmap. The device sends User Event Notifications for each tap on the touchscreen (requires signed image).

The host uses this command to display Flexible UI pages in the following layout:


---

# 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://developer.magtek.com/hardware/card-readers/mms-dyna-devices/dynaflex-ii-ped/documentation/developers-manuals/dynaflex-ii-ped-programmers-manual/commands/user-interface/display-flexible-ui-pages.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.
