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

diag模块收到从网络上来的报文时, 通知用户的报文内容 更多...

#include <aiot_diag_api.h>

Public 属性

aiot_diag_recv_type_t type
 报文内容所对应的报文类型, 更多信息请参考aiot_diag_recv_type_t 更多...
 
union {
   struct {
      uint32_t   data
 0: 关闭诊断功能,1: 打开诊断功能 更多...
 
   }   diag_control
 收到的云端控制指令 更多...
 
data
 

详细描述

diag模块收到从网络上来的报文时, 通知用户的报文内容

类成员变量说明

aiot_diag_recv_type_t aiot_diag_recv_t::type

报文内容所对应的报文类型, 更多信息请参考aiot_diag_recv_type_t

uint32_t aiot_diag_recv_t::data

0: 关闭诊断功能,1: 打开诊断功能

struct { ... } aiot_diag_recv_t::diag_control

收到的云端控制指令

union { ... } aiot_diag_recv_t::data

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