|
GPS Device
|
Functions | |
| static ERR_te | menu_cmd_info_handler (uint32_t argc, char **argv) |
| CLI handler for the "info" command. Logs the names of all active menu handles. | |
| static ERR_te | menu_cmd_scroll_handler (uint32_t argc, char **argv) |
| CLI handler for the "scroll" command. Scrolls a named menu and re-renders it. | |
|
static |
CLI handler for the "info" command. Logs the names of all active menu handles.
Expected invocation: menu info
| [in] | argc | Argument count. Must be exactly 2. |
| [in] | argv | Argument list: argv[0] = "menu", argv[1] = "info". |
argc != 2 Definition at line 665 of file menu.c.
|
static |
CLI handler for the "scroll" command. Scrolls a named menu and re-renders it.
Expected invocation: menu scroll <n> <up|down>
Searches the registered menu pool for a handle whose name matches argv[2], calls menu_scroll in the specified direction, then calls menu_run_handle to update the display.
| [in] | argc | Argument count. Must be exactly 4. |
| [in] | argv | Argument list: argv[0] = "menu", argv[1] = "scroll", argv[2] = menu name, argv[3] = "up" or "down". |
argc != 4, the name is not found, or the direction string is not recognized Definition at line 711 of file menu.c.
