Link Kit C-SDK
4.0.0
|
物模型属性上报消息结构体 更多...
#include <aiot_dm_api.h>
Public 属性 | |
char * | params |
字符串形式的JSON结构体, 必须以结束符'\0'结尾. 包含用户要批量上报的属性和事件数据, 如 {"properties":{"Power": [ { "value": "on", "time": 1524448722000 }, { "value": "off", "time": 1524448722001 } ], "WF": [ { "value": 3, "time": 1524448722000 }]}, "events": {"alarmEvent": [{ "value": { "Power": "on", "WF": "2"}, "time": 1524448722000}]}} 更多... | |
物模型属性上报消息结构体
char* aiot_dm_msg_property_batch_post_t::params |
字符串形式的JSON结构体, 必须以结束符'\0'结尾. 包含用户要批量上报的属性和事件数据, 如 {"properties":{"Power": [ { "value": "on", "time": 1524448722000 }, { "value": "off", "time": 1524448722001 } ], "WF": [ { "value": 3, "time": 1524448722000 }]}, "events": {"alarmEvent": [{ "value": { "Power": "on", "WF": "2"}, "time": 1524448722000}]}}