|
static int32_t | _dm_send_property_post (dm_handle_t *handle, const char *topic, const aiot_dm_msg_t *msg) |
|
static int32_t | _dm_send_event_post (dm_handle_t *handle, const char *topic, const aiot_dm_msg_t *msg) |
|
static int32_t | _dm_send_property_set_reply (dm_handle_t *handle, const char *topic, const aiot_dm_msg_t *msg) |
|
static int32_t | _dm_send_async_service_reply (dm_handle_t *handle, const char *topic, const aiot_dm_msg_t *msg) |
|
static int32_t | _dm_send_sync_service_reply (dm_handle_t *handle, const char *topic, const aiot_dm_msg_t *msg) |
|
static int32_t | _dm_send_raw_data (dm_handle_t *handle, const char *topic, const aiot_dm_msg_t *msg) |
|
static int32_t | _dm_send_raw_service_reply (dm_handle_t *handle, const char *topic, const aiot_dm_msg_t *msg) |
|
static int32_t | _dm_send_desired_get (dm_handle_t *handle, const char *topic, const aiot_dm_msg_t *msg) |
|
static int32_t | _dm_send_desired_delete (dm_handle_t *handle, const char *topic, const aiot_dm_msg_t *msg) |
|
static int32_t | _dm_send_property_batch_post (dm_handle_t *handle, const char *topic, const aiot_dm_msg_t *msg) |
|
static void | _dm_recv_generic_reply_handler (void *handle, const aiot_mqtt_recv_t *msg, void *userdata) |
|
static void | _dm_recv_property_set_handler (void *handle, const aiot_mqtt_recv_t *msg, void *userdata) |
|
static void | _dm_recv_async_service_invoke_handler (void *handle, const aiot_mqtt_recv_t *msg, void *userdata) |
|
static void | _dm_recv_sync_service_invoke_handler (void *handle, const aiot_mqtt_recv_t *msg, void *userdata) |
|
static void | _dm_recv_raw_data_handler (void *handle, const aiot_mqtt_recv_t *msg, void *userdata) |
|
static void | _dm_recv_raw_sync_service_invoke_handler (void *handle, const aiot_mqtt_recv_t *msg, void *userdata) |
|
static void | _dm_recv_up_raw_reply_data_handler (void *handle, const aiot_mqtt_recv_t *msg, void *userdata) |
|
static void | _append_diag_data (dm_handle_t *dm_handle, uint8_t msg_type, int32_t msg_id) |
|
static int32_t | _dm_setup_topic_mapping (void *mqtt_handle, void *dm_handle) |
|
static int32_t | _dm_prepare_send_topic (dm_handle_t *dm_handle, const aiot_dm_msg_t *msg, char **topic) |
|
static int32_t | _dm_send_alink_req (dm_handle_t *handle, const char *topic, char *params) |
|
static int32_t | _dm_send_alink_rsp (dm_handle_t *handle, const char *topic, uint64_t msg_id, uint32_t code, char *data) |
|
static int32_t | _dm_get_topic_level (aiot_sysdep_portfile_t *sysdep, char *topic, uint32_t topic_len, uint8_t level, char **level_name) |
|
static int32_t | _dm_parse_alink_request (const char *payload, uint32_t payload_len, uint64_t *msg_id, char **params, uint32_t *params_len) |
|
static void | _dm_core_mqtt_process_handler (void *context, aiot_mqtt_event_t *event, core_mqtt_event_t *core_event) |
|
static int32_t | _dm_core_mqtt_operate_process_handler (dm_handle_t *dm_handle, core_mqtt_option_t option) |
|
void * | aiot_dm_init (void) |
| 初始化data-model实例 更多...
|
|
int32_t | aiot_dm_setopt (void *handle, aiot_dm_option_t option, void *data) |
| 设置data-model参数 更多...
|
|
int32_t | aiot_dm_send (void *handle, const aiot_dm_msg_t *msg) |
| 发送一条data-model消息到物联网平台, 消息类型和消息数据由msg入参决定 更多...
|
|
int32_t | aiot_dm_deinit (void **p_handle) |
| 销毁data-model实例, 释放资源 更多...
|
|
数据模型模块接口实现文件, 包含了支持物模型数据格式通信的所有接口实现
- 日期
- 2020-01-20
- 版权所有
- Copyright (C) 2015-2020 Alibaba Group Holding Limited