Skip to content

⚠️ Not yet public

The Device API currently in development and is not yet accessible on production devices.

These pages can be seen as a view of what is to come later this year.

10010: Menu Page

Draw or change a menu. Display or alter a menu page on the device screen.

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.
You can provide the same page id as last time to update the menu, or a new page id to create a new menu.
uint8
30Item countNumber of items in the menu (max 20). Required.uint8
31Selected itemOptionally select a specific item, else the first will be unsubscribed.
Zero indexed.
uint8
100Item 1ascii
101Item 2ascii
102Item 3ascii
103Item 4ascii
104Item 5ascii
105Item 6ascii
106Item 7ascii
107Item 8ascii
108Item 9ascii
109Item 10ascii
110Item 11ascii
111Item 12ascii
112Item 13ascii
113Item 14ascii
114Item 15ascii
115Item 16ascii
116Item 17ascii
117Item 18ascii
118Item 19ascii
119Item 20ascii

Examples

Display a menu page with 3 options
Add a fourth option
Select the fourth option

Code

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