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
Protocol
3
3
Length
570
57 bytes
Type
2539
10009 (Text Page)
Header Count
10
1
Header Types
1
1
Message ID
4123000
123
Payload Count
60
6
Payload Types
34100101102103
3, 4, 100, 101, 102, 103
Page ID
1200
200
Page Title
584105116108101
Title
Line 1
570105114115116
First
Line 2
68310199111110100
Second
Line 3
584104105114100
Third
Line 4
670111117114116104
Fourth
Checksum
219219
56283
📡 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.