6#ifndef DIAG_MOCKED_SHELL_H
7#define DIAG_MOCKED_SHELL_H
int zdiag_mocked_shell_print(const char *fmt, va_list ap)
Definition diag_mocked_shell.c:181
void zdiag_mocked_shell_set_enable(bool enable)
Definition diag_mocked_shell.c:220
errcode_t zdiag_cmd_mocked_shell_enable(uint16_t cmd_id, void *cmd_param, uint16_t cmd_param_size, diag_option_t *option)
Definition diag_mocked_shell.c:62
void zdiag_mocked_shell_register_directly_uartput(zdiag_data_put_uart uart_hook)
Definition diag_mocked_shell.c:205
bool zdiag_mocked_shell_is_enabled(void)
Definition diag_mocked_shell.c:225
void(* diag_cmd_shell_data_proc)(uint8_t *data, uint32_t data_len)
Definition diag_mocked_shell.h:13
int zdiag_mocked_shell_uart_puts(uint8_t *data, uint32_t data_len)
Definition diag_mocked_shell.c:129
void(* zdiag_data_put_uart)(uint8_t *data, uint16_t data_len)
Definition diag_mocked_shell.h:14
void zdiag_mocked_shell_register_cmd_data_proc(diag_cmd_shell_data_proc data_proc_hook)
Definition diag_mocked_shell.c:93
errcode_t zdiag_cmd_mocked_shell(uint16_t cmd_id, void *cmd_param, uint16_t cmd_param_size, diag_option_t *option)
Definition diag_mocked_shell.c:33
void zdiag_mocked_shell_init(void)
Definition diag_mocked_shell.c:210
uint32_t errcode_t
Definition of error code.
Definition errcode.h:30
option选项,当前存放对端地址
Definition diag.h:38
Definition hal_uart_v151_regs_def.h:38