| 
    Link Kit C-SDK
    4.0.0
    
   | 
 
data-model模块发送消息的消息结构体 更多...
#include <aiot_dm_api.h>

Public 属性 | |
| char * | product_key | 
| 消息所属设备的product_key, 若为NULL则使用通过aiot_dm_setopt配置的product_key 在网关子设备场景下, 可通过指定为子设备的product_key来发送子设备的消息到云端 更多...  | |
| char * | device_name | 
| 消息所属设备的device_name, 若为NULL则使用通过aiot_dm_setopt配置的device_name 在网关子设备场景下, 可通过指定为子设备的product_key来发送子设备的消息到云端 更多...  | |
| aiot_dm_msg_type_t | type | 
| 消息类型, 可参考aiot_dm_msg_type_t  更多... | |
| union { | |
| aiot_dm_msg_property_post_t property_post | |
| aiot_dm_msg_event_post_t event_post | |
| aiot_dm_msg_property_set_reply_t property_set_reply | |
| aiot_dm_msg_sync_service_reply_t sync_service_reply | |
| aiot_dm_msg_async_service_reply_t async_service_reply | |
| aiot_dm_msg_raw_data_t raw_data | |
| aiot_dm_msg_raw_service_reply_t raw_service_reply | |
| aiot_dm_msg_get_desired_t get_desired | |
| aiot_dm_msg_delete_desired_t delete_desired | |
| } | data | 
| 消息数据联合体, 不同的消息类型将使用不同的消息结构体  更多... | |
data-model模块发送消息的消息结构体
| char* aiot_dm_msg_t::product_key | 
消息所属设备的product_key, 若为NULL则使用通过aiot_dm_setopt配置的product_key
在网关子设备场景下, 可通过指定为子设备的product_key来发送子设备的消息到云端 
| char* aiot_dm_msg_t::device_name | 
消息所属设备的device_name, 若为NULL则使用通过aiot_dm_setopt配置的device_name
在网关子设备场景下, 可通过指定为子设备的product_key来发送子设备的消息到云端 
| aiot_dm_msg_type_t aiot_dm_msg_t::type | 
消息类型, 可参考aiot_dm_msg_type_t
| aiot_dm_msg_property_post_t aiot_dm_msg_t::property_post | 
| aiot_dm_msg_event_post_t aiot_dm_msg_t::event_post | 
| aiot_dm_msg_property_set_reply_t aiot_dm_msg_t::property_set_reply | 
| aiot_dm_msg_sync_service_reply_t aiot_dm_msg_t::sync_service_reply | 
| aiot_dm_msg_async_service_reply_t aiot_dm_msg_t::async_service_reply | 
| aiot_dm_msg_raw_data_t aiot_dm_msg_t::raw_data | 
| aiot_dm_msg_raw_service_reply_t aiot_dm_msg_t::raw_service_reply | 
| aiot_dm_msg_get_desired_t aiot_dm_msg_t::get_desired | 
| aiot_dm_msg_delete_desired_t aiot_dm_msg_t::delete_desired | 
| union { ... } aiot_dm_msg_t::data | 
消息数据联合体, 不同的消息类型将使用不同的消息结构体
 1.8.11