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

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.