10009: Text Page
Display or alter a text page on the device screen, with up to 5 lines of text. A text page can have a title, and an optional status bar. The text page is intended as a simple way to display information on the device screen. Using the Draw Element messages are a more flexible way to create custom pages.
Payload
| Field | Name | Description | Type | Unit |
|---|---|---|---|---|
| 3 | Page ID | The page to draw or update. Page ids 0-10 are reserved for system use. If no page id is provided, page id 11 will be assumed. | uint8 | |
| 4 | Page Title | Title of the page | ascii | |
| 5 | Status bar Enable | Show the status bar | bool | |
| 6 | Redraw Type | Possible values:
| uint8 | |
| 100 | Line 1 | ascii | ||
| 101 | Line 2 | ascii | ||
| 102 | Line 3 | ascii | ||
| 103 | Line 4 | ascii |
Pages
This is what the text pages actually look like.
Default font
Examples
Draw page 200, with a title and 4 lines of text
📡 Real example from RH2 ESP32 Toit. on 2025-10-10This example is captured from an RH2 device as part of normal communications over I2C with the ESP32 co-processor, where Toit on the ESP32 make the request.
Only a partial redraw will be performed in order to add new lines, and the existing lines will remain on the screen.
Code
For convenience, the following constants can be used to reference this message type.