|
PebbleOS
|
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_from_isr (const struct pbl_shell *sh) |
| Start a session of an interactive shell. | |
| void | pbl_shell_stop (const struct pbl_shell *sh) |
| End the session of an interactive shell, dropping pending input. | |
| 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. | |