Skip to content

10008: Base Page

Draw a base device page. Base pages are pre-defined pages in the device firmware, such as the home page. These may differ in their appearance between device types.

Payload

FieldNameDescriptionTypeUnit
3Page IDThe page to draw.

Possible values:
  • 1: Home Page— The preset home page programmed into the device
uint8
5Status bar EnableShow the status barbool
6Redraw TypePossible values:
  • 0: Auto— Automatically choose the redraw type, based on page id. No page id provided will assume the same page id as last set. Same page id as last set will do a partial redraw, and leave the buffer intact. Changed page id will clear the buffer and do a full redraw.
  • 1: PartialRedraw— Only redraw the parts of the screen changed in this message. Leaves the buffer intact. Will occasionally do a full redraw if the firmware thinks it is needed.
  • 2: FullRedraw— Clear the screen buffer, and redraw the entire screen
  • 3: BufferOnly— Do not redraw the screen, only update the buffer. Will clear the buffer if the page id has changed. Similar to Auto, but will not redraw the screen. Similar to ClearDontDraw, but only clears the buffer if the page id has changed.
  • 4: FullRedrawWithoutClear— Redraw the entire screen, without clearing the buffer
  • 5: ClearDontDraw— Clear the screen buffer (always), but don't redraw. Similar to BufferOnly, but always clears the buffer.
uint8

Pages

This is what the base pages actually look like.

1: Home page

RH2

Examples

Request the home page (page 1) to be drawn

Code

For convenience, the following constants can be used to reference this message type.