Home
last modified time | relevance | path

Searched refs:alink_id (Results 1 – 7 of 7) sorted by relevance

/AliOS-Things-master/components/linksdk/core/utils/
A Dcore_global.c7 int32_t alink_id; member
28 int32_t core_global_alink_id_next(aiot_sysdep_portfile_t *sysdep, int32_t *alink_id) in core_global_alink_id_next() argument
32 g_core_global.alink_id++; in core_global_alink_id_next()
33 if (g_core_global.alink_id < 0) { in core_global_alink_id_next()
34 g_core_global.alink_id = 0; in core_global_alink_id_next()
36 id = g_core_global.alink_id; in core_global_alink_id_next()
39 *alink_id = id; in core_global_alink_id_next()
A Dcore_global.h15 int32_t core_global_alink_id_next(aiot_sysdep_portfile_t *sysdep, int32_t *alink_id);
/AliOS-Things-master/components/linksdk/components/subdev/
A Daiot_subdev_api.c22 int32_t res = STATE_SUCCESS, alink_id = 0; in _subdev_update_alink_id() local
24 memset(subdev_handle->alink_id, 0, SUBDEV_ALINK_ID_MAX_LEN); in _subdev_update_alink_id()
25 core_global_alink_id_next(subdev_handle->sysdep, &alink_id); in _subdev_update_alink_id()
27 res = core_int2str(alink_id, subdev_handle->alink_id, NULL); in _subdev_update_alink_id()
624 cJSON_AddStringToObject(root, "id", subdev_handle->alink_id); in aiot_subdev_send_topo_add()
680 cJSON_AddStringToObject(root, "id", subdev_handle->alink_id); in aiot_subdev_send_topo_delete()
710 cJSON_AddStringToObject(root, "id", subdev_handle->alink_id); in aiot_subdev_send_topo_get()
775 cJSON_AddStringToObject(root, "id", subdev_handle->alink_id); in aiot_subdev_send_batch_login()
834 cJSON_AddStringToObject(root, "id", subdev_handle->alink_id); in aiot_subdev_send_batch_logout()
890 cJSON_AddStringToObject(root, "id", subdev_handle->alink_id); in aiot_subdev_send_sub_register()
[all …]
A Dsubdev_private.h41 char alink_id[SUBDEV_ALINK_ID_MAX_LEN]; member
/AliOS-Things-master/components/linksdk/components/devinfo/
A Daiot_devinfo_api.c174 int32_t res = STATE_SUCCESS, alink_id = 0; in _devinfo_send() local
180 res = core_global_alink_id_next(devinfo_handle->sysdep, &alink_id); in _devinfo_send()
185 res = core_int2str(alink_id, alink_id_str, NULL); in _devinfo_send()
206 res = alink_id; in _devinfo_send()
/AliOS-Things-master/components/linksdk/components/diag/
A Daiot_diag_api.c147 int32_t alink_id = 0; in _diag_desc_list_send() local
157 core_global_alink_id_next(diag_handle->sysdep, &alink_id); in _diag_desc_list_send()
158 core_int2str(alink_id, alink_id_str, NULL); in _diag_desc_list_send()
/AliOS-Things-master/components/linksdk/components/ota/
A Daiot_ota_api.c1110 int32_t alink_id; in _ota_publish_base() local
1113 res = core_global_alink_id_next(sysdep, &alink_id); in _ota_publish_base()
1117 core_int2str(alink_id, alink_id_string, &alink_id_string_len); in _ota_publish_base()

Completed in 17 milliseconds