1234567891011121314151617181920212223 |
- #pragma once
- #include "esp_console.h"
- #include "argtable3/argtable3.h"
- #include "cJSON.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- typedef cJSON * parm_values_fn_t(void);
- esp_err_t cmd_to_json(const esp_console_cmd_t *cmd);
- esp_err_t cmd_to_json_with_cb(const esp_console_cmd_t *cmd, parm_values_fn_t parm_values_fn);
- int arg_parse_msg(int argc, char **argv, struct arg_hdr ** args);
- cJSON * get_cmd_list();
- #ifdef __cplusplus
- }
- #endif
|