|
PebbleOS v4.47.0-512-g5285d4236
|
Data Structures | |
| struct | pbl_shell_backend_api |
| Backend operations. More... | |
| struct | pbl_shell |
| Shell instance, defined with PBL_SHELL_DEFINE(). More... | |
Macros | |
| #define | PBL_SHELL_DEFINE(_name, _prompt, _api, _backend_data) |
| Define a shell instance and its state. | |
Functions | |
| void | pbl_shell_start (const struct pbl_shell *sh) |
| Start an interactive shell; the prompt is printed from SysWorkq. | |
| bool | pbl_shell_at_prompt (const struct pbl_shell *sh) |
| Check whether an interactive shell is waiting at its prompt. | |
| void | pbl_shell_redraw (const struct pbl_shell *sh) |
| Print the prompt and the line being edited again, e.g. | |
| void | pbl_shell_input_from_isr (const struct pbl_shell *sh, char c) |
| Queue a character received by an interactive shell. | |
| int | pbl_shell_execute_line (const struct pbl_shell *sh, const char *line, size_t len) |
| Run a command line on a line shell. | |
| bool | pbl_shell_is_busy (const struct pbl_shell *sh) |
| Check whether a command submitted to a shell is running. | |