|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include "diag_mocked_shell.h"#include "soc_diag_cmd_id.h"#include "diag_filter.h"#include "diag_common.h"#include "diag_channel_item.h"#include "diag_ind_src.h"#include "diag_adapt_layer.h"#include "securec.h"#include "dfx_adapt_layer.h"#include "uapi_crc.h"
宏定义 | |
| #define | SIZEBUF 256 |
| #define | BITS_PER_BYTE 8 |
| #define | MUTEX_STS_BIT 0x1 |
| #define | ASCII_MAX_VALID_VALUE 0x7F |
| #define | DIAG_CMD_SHELL_STR_MAX_LEN 256 |
函数 | |
| errcode_t | zdiag_cmd_mocked_shell (uint16_t cmd_id, void *cmd_param, uint16_t cmd_param_size, diag_option_t *option) |
| errcode_t | zdiag_cmd_mocked_shell_enable (uint16_t cmd_id, void *cmd_param, uint16_t cmd_param_size, diag_option_t *option) |
| void | zdiag_mocked_shell_register_cmd_data_proc (diag_cmd_shell_data_proc data_proc_hook) |
| int | zdiag_mocked_shell_uart_puts (uint8_t *data, uint32_t data_len) |
| int | zdiag_mocked_shell_print (const char *fmt, va_list ap) |
| void | zdiag_mocked_shell_register_directly_uartput (zdiag_data_put_uart uart_hook) |
| void | zdiag_mocked_shell_init (void) |
| void | zdiag_mocked_shell_set_enable (bool enable) |
| bool | zdiag_mocked_shell_is_enabled (void) |
| #define ASCII_MAX_VALID_VALUE 0x7F |
| #define BITS_PER_BYTE 8 |
| #define DIAG_CMD_SHELL_STR_MAX_LEN 256 |
| #define MUTEX_STS_BIT 0x1 |
| #define SIZEBUF 256 |
| errcode_t zdiag_cmd_mocked_shell | ( | uint16_t | cmd_id, |
| void * | cmd_param, | ||
| uint16_t | cmd_param_size, | ||
| diag_option_t * | option | ||
| ) |
| errcode_t zdiag_cmd_mocked_shell_enable | ( | uint16_t | cmd_id, |
| void * | cmd_param, | ||
| uint16_t | cmd_param_size, | ||
| diag_option_t * | option | ||
| ) |
| void zdiag_mocked_shell_init | ( | void | ) |
| bool zdiag_mocked_shell_is_enabled | ( | void | ) |
| int zdiag_mocked_shell_print | ( | const char * | fmt, |
| va_list | ap | ||
| ) |
| void zdiag_mocked_shell_register_cmd_data_proc | ( | diag_cmd_shell_data_proc | data_proc_hook | ) |
| void zdiag_mocked_shell_register_directly_uartput | ( | zdiag_data_put_uart | uart_hook | ) |
| void zdiag_mocked_shell_set_enable | ( | bool | enable | ) |
| int zdiag_mocked_shell_uart_puts | ( | uint8_t * | data, |
| uint32_t | data_len | ||
| ) |