|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include "diag_ind_src.h"#include "securec.h"#include "zdiag_mem.h"#include "zdiag_pkt_router.h"#include "zdiag_debug.h"#include "soc_diag_cmd_id.h"#include "diag_adapt_layer.h"#include "diag_dfx.h"#include "diag_filter.h"#include "dfx_adapt_layer.h"#include "diag_pkt.h"#include "errcode.h"#include "log_file.h"#include "diag_msg.h"#include "uapi_crc.h"
宏定义 | |
| #define | DIAG_CMD_MSG_RPT_SYS DIAG_CMD_MSG_RPT_SYS_FULLY_LOG |
| #define | DIAG_LOG_HEADER_SIZE DIAG_FULL_LOG_HEADER_SIZE |
函数 | |
| STATIC bool | zdiag_msg_permit (uint32_t module_id, uint8_t level) |
| errcode_t | uapi_diag_report_packet (uint16_t cmd_id, diag_option_t *option, const uint8_t *packet, uint16_t packet_size, bool sync) |
| diag报文上报接口 | |
| STATIC errcode_t | zdiag_report_packets (uint16_t cmd_id, diag_option_t *option, diag_report_packet *report_packet, uint8_t critical) |
| errcode_t | uapi_diag_report_packets_critical (uint16_t cmd_id, diag_option_t *option, uint8_t **packet, uint16_t *packet_size, uint8_t pkt_cnt) |
| diag上报多个关键报文 | |
| errcode_t | uapi_diag_report_packets_normal (uint16_t cmd_id, diag_option_t *option, uint8_t **packet, uint16_t *packet_size, uint8_t pkt_cnt) |
| diag上报多个普通报文 | |
| errcode_t | uapi_diag_report_ack (msp_diag_ack_param_t *ack, diag_option_t *option) |
| errcode_t | uapi_zdiag_report_sys_msg_instance (uint32_t module_id, uint32_t msg_id, const uint8_t *packet, uint16_t packet_size, uint8_t level) |
| errcode_t | uapi_zdiag_report_sys_msg_instance_sn (uint32_t module_id, uint32_t msg_id, diag_report_sys_msg_packet *report_sys_msg_packet, uint8_t level, uint32_t sn) |
| errcode_t | uapi_zdiag_report_packet (uint16_t cmd_id, diag_option_t *option, const uint8_t *packet, uint16_t packet_size, bool sync) |
| diag报文上报接口 | |
| #define DIAG_CMD_MSG_RPT_SYS DIAG_CMD_MSG_RPT_SYS_FULLY_LOG |
| #define DIAG_LOG_HEADER_SIZE DIAG_FULL_LOG_HEADER_SIZE |
| errcode_t uapi_diag_report_ack | ( | msp_diag_ack_param_t * | ack, |
| diag_option_t * | option | ||
| ) |
| errcode_t uapi_zdiag_report_sys_msg_instance | ( | uint32_t | module_id, |
| uint32_t | msg_id, | ||
| const uint8_t * | packet, | ||
| uint16_t | packet_size, | ||
| uint8_t | level | ||
| ) |
| errcode_t uapi_zdiag_report_sys_msg_instance_sn | ( | uint32_t | module_id, |
| uint32_t | msg_id, | ||
| diag_report_sys_msg_packet * | report_sys_msg_packet, | ||
| uint8_t | level, | ||
| uint32_t | sn | ||
| ) |
| STATIC bool zdiag_msg_permit | ( | uint32_t | module_id, |
| uint8_t | level | ||
| ) |
| STATIC errcode_t zdiag_report_packets | ( | uint16_t | cmd_id, |
| diag_option_t * | option, | ||
| diag_report_packet * | report_packet, | ||
| uint8_t | critical | ||
| ) |