14#define CLI_LINE_SIZE_MAX
15#define CLI_COMMANDS_TREE_RANK 4
30 size_t (*rx)(uint8_t* buffer,
size_t size, uint32_t timeout);
31 void (*tx)(
const uint8_t* buffer,
size_t size);
32 void (*tx_stdout)(
const char* data,
size_t size);
33 bool (*is_connected)(void);
38 CLI_COMMANDS_TREE_RANK,
44#define M_OPL_CliCommandTree_t() BPTREE_OPLIST(CliCommandTree, M_POD_OPLIST)
47 CliCommandTree_t commands;
54 size_t cursor_position;
59void cli_reset(
Cli* cli);
61void cli_putc(
Cli* cli,
char c);
63void cli_stdout_callback(
void* _cookie,
const char* data,
size_t size);
struct Cli Cli
Cli type anonymous structure.
Definition cli.h:38
void(* CliCallback)(Cli *cli, FuriString *args, void *context)
Cli callback function pointer.
Definition cli.h:45
#define FURI_STRING_OPLIST
OPLIST for FuriString.
Definition string.h:778
Definition semaphore.c:15