Skip to content

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 ​

FieldNameDescriptionTypeUnit
3Page IDThe 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
4Page TitleTitle of the pageascii
5Status bar EnableShow the status barbool
6Redraw TypePossible values:
  • 0: Auto— Automatically choose the redraw type
  • 1: PartialRedraw— Only redraw the parts of the screen changed in this message
  • 2: FullRedraw— Clear the screen buffer, and redraw the entire screen
  • 3: BufferOnly— Update the buffer only, do not redraw
  • 4: FullRedrawWithoutClear— Redraw the entire screen, without clearing the buffer
  • 5: ClearDontDraw— Clear the screen buffer, but don't redraw
uint8
100Line 1ascii
101Line 2ascii
102Line 3ascii
103Line 4ascii

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

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.