![]() |
Morse Micro IoT SDK
2.9.7
|
Data Structures | |
| struct | mmagic_cli_init_args |
| CLI initialization arguments structure. More... | |
Functions | |
| struct mmagic_cli * | mmagic_cli_init (const struct mmagic_cli_init_args *args) |
| Initialize and enable the CLI. More... | |
| void | mmagic_cli_rx (struct mmagic_cli *ctx, const char *buf, size_t len) |
| This function is used to pass received characters to the MMAGIC CLI. More... | |
| struct mmagic_cli * mmagic_cli_init | ( | const struct mmagic_cli_init_args * | args | ) |
Initialize and enable the CLI.
| args | Initialization arguments structure. |
NULL on error. | void mmagic_cli_rx | ( | struct mmagic_cli * | ctx, |
| const char * | buf, | ||
| size_t | len | ||
| ) |
This function is used to pass received characters to the MMAGIC CLI.
| ctx | CLI instance handle (as returned by mmagic_cli_init). |
| buf | Buffer containing received data. |
| len | Length of the received data. |