/** * @file app_cli.h * @brief CLI framework: independent task for command parsing, execution * and response over USART1 (and BLE via AppCli_InputBytes injection). */ #ifndef __APP_CLI_H__ #define __APP_CLI_H__ #ifdef __cplusplus extern "C" { #endif #include /* Create the CLI task. Called once from main() before the scheduler starts. */ void AppCli_Init(void); /* Feed CLI input bytes from a non-UART source (BLE downlink, task context). */ void AppCli_InputBytes(const uint8_t* data, uint16_t len); /* Switch the UART frontend into OTA binary frame mode (CLI "ota" command). */ void app_cli_ota_mode_enter(void); #ifdef __cplusplus } #endif #endif /* __APP_CLI_H__ */