Link Kit C-SDK  4.0.0
Public 属性 | 所有成员列表
aiot_diag_event_t结构体 参考

diag模块内部发生值得用户关注的状态变化时, 通知用户的事件内容 更多...

#include <aiot_diag_api.h>

Public 属性

aiot_diag_event_type_t type
 事件内容所对应的事件类型, 更多信息请参考aiot_diag_event_type_t 更多...
 
union {
   struct {
      char *   module_name
 告警模块名 更多...
 
      char *   level
 告警级别 更多...
 
      char *   desc
 告警信息描述字符串 更多...
 
   }   alert
 
data
 

详细描述

diag模块内部发生值得用户关注的状态变化时, 通知用户的事件内容

类成员变量说明

aiot_diag_event_type_t aiot_diag_event_t::type

事件内容所对应的事件类型, 更多信息请参考aiot_diag_event_type_t

char* aiot_diag_event_t::module_name

告警模块名

char* aiot_diag_event_t::level

告警级别

char* aiot_diag_event_t::desc

告警信息描述字符串

struct { ... } aiot_diag_event_t::alert
union { ... } aiot_diag_event_t::data

该结构体的文档由以下文件生成: