|
static int32_t | _subdev_update_alink_id (subdev_handle_t *subdev_handle) |
|
static void | _subdev_topo_generic_reply_recv_handler (void *handle, const aiot_mqtt_recv_t *packet, void *userdata, aiot_subdev_recv_type_t type, uint8_t pk_pos) |
|
static void | _subdev_topo_generic_notify_recv_handler (void *handle, const aiot_mqtt_recv_t *packet, void *userdata, aiot_subdev_recv_type_t type, uint8_t pk_pos) |
|
static void | _subdev_topo_add_reply_recv_handler (void *handle, const aiot_mqtt_recv_t *packet, void *userdata) |
|
static void | _subdev_topo_delete_reply_recv_handler (void *handle, const aiot_mqtt_recv_t *packet, void *userdata) |
|
static void | _subdev_topo_get_reply_recv_handler (void *handle, const aiot_mqtt_recv_t *packet, void *userdata) |
|
static void | _subdev_batch_login_reply_recv_handler (void *handle, const aiot_mqtt_recv_t *packet, void *userdata) |
|
static void | _subdev_batch_logout_reply_recv_handler (void *handle, const aiot_mqtt_recv_t *packet, void *userdata) |
|
static void | _subdev_sub_register_reply_recv_handler (void *handle, const aiot_mqtt_recv_t *packet, void *userdata) |
|
static void | _subdev_product_register_reply_recv_handler (void *handle, const aiot_mqtt_recv_t *packet, void *userdata) |
|
static void | _subdev_topo_change_recv_handler (void *handle, const aiot_mqtt_recv_t *packet, void *userdata) |
|
static int32_t | _subdev_operate_topic_map (subdev_handle_t *subdev_handle, aiot_mqtt_option_t option) |
|
static int32_t | _subdev_send_message (subdev_handle_t *subdev_handle, char *topic_fmt, cJSON *root) |
|
static int32_t | _subdev_calculate_sign (subdev_handle_t *subdev_handle, aiot_subdev_dev_t *dev, char *timestamp, char sign_str[65]) |
|
static int32_t | _subdev_calculate_product_register_sign (subdev_handle_t *subdev_handle, aiot_subdev_dev_t *dev, char *random, char sign_str[65]) |
|
static int32_t | _subdev_topo_add_append_params (subdev_handle_t *subdev_handle, cJSON *params, aiot_subdev_dev_t *dev, char *timestamp) |
|
static int32_t | _subdev_append_pk_dn_to_params (subdev_handle_t *subdev_handle, cJSON *params, aiot_subdev_dev_t *dev) |
|
static int32_t | _subdev_topo_delete_append_params (subdev_handle_t *subdev_handle, cJSON *params, aiot_subdev_dev_t *dev) |
|
static int32_t | _subdev_batch_login_append_device_list (subdev_handle_t *subdev_handle, cJSON *device_list, aiot_subdev_dev_t *dev, char *timestamp) |
|
static int32_t | _subdev_batch_logout_append_params (subdev_handle_t *subdev_handle, cJSON *params, aiot_subdev_dev_t *dev) |
|
static int32_t | _subdev_sub_register_append_params (subdev_handle_t *subdev_handle, cJSON *params, aiot_subdev_dev_t *dev) |
|
static int32_t | _subdev_product_register_append_params (subdev_handle_t *subdev_handle, cJSON *proxieds, aiot_subdev_dev_t *dev) |
|
void * | aiot_subdev_init (void) |
| 创建subdev会话实例, 并以默认值配置会话参数 更多...
|
|
int32_t | aiot_subdev_setopt (void *handle, aiot_subdev_option_t option, void *data) |
| 配置subdev会话 更多...
|
|
int32_t | aiot_subdev_deinit (void **handle) |
| 结束subdev会话, 销毁实例并回收资源 更多...
|
|
int32_t | aiot_subdev_send_topo_add (void *handle, aiot_subdev_dev_t dev[], uint32_t dev_num) |
| 向物联网平台发送添加子设备与网关topo关系的请求 更多...
|
|
int32_t | aiot_subdev_send_topo_delete (void *handle, aiot_subdev_dev_t dev[], uint32_t dev_num) |
| 向物联网平台发送删除子设备与网关topo关系的请求 更多...
|
|
int32_t | aiot_subdev_send_topo_get (void *handle) |
| 向物联网平台发送查询子设备与网关topo关系的请求 更多...
|
|
int32_t | aiot_subdev_send_batch_login (void *handle, aiot_subdev_dev_t dev[], uint32_t dev_num) |
| 向物联网平台发送子设备上线请求 更多...
|
|
int32_t | aiot_subdev_send_batch_logout (void *handle, aiot_subdev_dev_t dev[], uint32_t dev_num) |
| 向物联网平台发送子设备下线请求 更多...
|
|
int32_t | aiot_subdev_send_sub_register (void *handle, aiot_subdev_dev_t dev[], uint32_t dev_num) |
| 向物联网平台发送子设备动态注册请求 更多...
|
|
int32_t | aiot_subdev_send_product_register (void *handle, aiot_subdev_dev_t dev[], uint32_t dev_num) |
| 向物联网平台发送子设备动态注册请求(可从其他网关抢绑子设备) 更多...
|
|
subdev模块的API接口实现, 提供.......的能力
- 版权所有
- Copyright (C) 2015-2020 Alibaba Group Holding Limited