|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include "securec.h"#include "log_oam_msg.h"#include "log_oam_logger.h"#include "log_oam_status.h"#include "log_oam_ota.h"#include "log_oam_pcm.h"#include "log_oml_exception.h"#include "diag.h"#include "soc_diag_util.h"#include "diag_common.h"#include "diag_filter.h"#include "diag_adapt_layer.h"#include "sample_data_adapt.h"#include "log_common.h"#include "diag_adapt_sdt.h"
结构体 | |
| struct | zdiag_adapt_sdt_msg_t |
| struct | diag_msg_para |
类型定义 | |
| typedef struct diag_msg_para | diag_msg_para_t |
枚举 | |
| enum | { LOG_STATUS_MODULE = MODULEID_BUTT , LOG_OTA_MODULE } |
| enum | sdt_msg_pack_step_t { SDT_MSG_STEP_HEAD , SDT_MSG_STEP_BODY , STD_MSG_STEP_TAIL } |
函数 | |
| errcode_t | zdiag_adapt_sdt_msg_dispatch (uint32_t msg_id, uint8_t *data, uint32_t data_len) |
| void | zdiag_adapt_sdt_msg_proc (uint8_t *buf1, uint32_t len1, uint8_t *buf2, uint32_t len2) |
| void | diag_register_debug_cmd_callback (oam_cmd_handle_callback func) |
| void | diag_debug_cmd_proc (uint8_t *data, uint32_t len) |
| void | diag_auto_log_report_enable (void) |
| void | zdiag_level_proc (uint8_t level) |
变量 | |
| enum { ... } | log_adapt_module |
| oam_cmd_handle_callback | g_diag_debug_proc = NULL |
| uint8_t | g_recv_msg_step = SDT_MSG_STEP_HEAD |
| uint8_t * | g_recv_buf = NULL |
| typedef struct diag_msg_para diag_msg_para_t |
| enum sdt_msg_pack_step_t |
| void diag_auto_log_report_enable | ( | void | ) |
| void diag_debug_cmd_proc | ( | uint8_t * | data, |
| uint32_t | len | ||
| ) |
| void diag_register_debug_cmd_callback | ( | oam_cmd_handle_callback | func | ) |
| errcode_t zdiag_adapt_sdt_msg_dispatch | ( | uint32_t | msg_id, |
| uint8_t * | data, | ||
| uint32_t | data_len | ||
| ) |
| void zdiag_adapt_sdt_msg_proc | ( | uint8_t * | buf1, |
| uint32_t | len1, | ||
| uint8_t * | buf2, | ||
| uint32_t | len2 | ||
| ) |
| void zdiag_level_proc | ( | uint8_t | level | ) |
| oam_cmd_handle_callback g_diag_debug_proc = NULL |
| uint8_t* g_recv_buf = NULL |
| uint8_t g_recv_msg_step = SDT_MSG_STEP_HEAD |
| enum { ... } log_adapt_module |