Home
last modified time | relevance | path

Searched refs:devinfo_handle (Results 1 – 5 of 5) sorted by relevance

/AliOS-Things-master/components/linksdk/components/devinfo/
A Daiot_devinfo_api.c18 devinfo_handle->sysdep->core_sysdep_mutex_lock(devinfo_handle->data_mutex); in _core_devinfo_exec_inc()
20 devinfo_handle->sysdep->core_sysdep_mutex_unlock(devinfo_handle->data_mutex); in _core_devinfo_exec_inc()
25 devinfo_handle->sysdep->core_sysdep_mutex_lock(devinfo_handle->data_mutex); in _core_devinfo_exec_dec()
27 devinfo_handle->sysdep->core_sysdep_mutex_unlock(devinfo_handle->data_mutex); in _core_devinfo_exec_dec()
93 devinfo_handle->event_handler(devinfo_handle, &event, devinfo_handle->userdata); in _devinfo_mqtt_recv_handler()
122 devinfo_handle->recv_handler(devinfo_handle, &recv, devinfo_handle->userdata); in _devinfo_mqtt_recv_handler()
127 devinfo_handle->event_handler(devinfo_handle, &event, devinfo_handle->userdata); in _devinfo_mqtt_recv_handler()
134 devinfo_handle->event_handler(devinfo_handle, &event, devinfo_handle->userdata); in _devinfo_mqtt_recv_handler()
294 devinfo_handle->sysdep->core_sysdep_mutex_lock(devinfo_handle->data_mutex); in aiot_devinfo_setopt()
326 devinfo_handle->sysdep->core_sysdep_mutex_unlock(devinfo_handle->data_mutex); in aiot_devinfo_setopt()
[all …]
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/advanced/aiot/
A Dmodule_aiot_activeinfo.c46 void *devinfo_handle = NULL; in amp_app_devinfo_report() local
55 devinfo_handle = aiot_devinfo_init(); in amp_app_devinfo_report()
56 if (devinfo_handle == NULL) { in amp_app_devinfo_report()
61 res = aiot_devinfo_setopt(devinfo_handle, AIOT_DEVINFOOPT_MQTT_HANDLE, (void *)mqtt_handle); in amp_app_devinfo_report()
64 aiot_devinfo_deinit(&devinfo_handle); in amp_app_devinfo_report()
124 res = aiot_devinfo_send(devinfo_handle, devinfo); in amp_app_devinfo_report()
144 aiot_devinfo_deinit(&devinfo_handle); in amp_app_devinfo_report()
/AliOS-Things-master/components/py_engine/modules/aliyunIoT/
A Dmodule_aiot_activeinfo.c21 void *devinfo_handle = NULL; in pyamp_amp_app_devinfo_report() local
30 devinfo_handle = aiot_devinfo_init(); in pyamp_amp_app_devinfo_report()
31 if (devinfo_handle == NULL) { in pyamp_amp_app_devinfo_report()
36 res = aiot_devinfo_setopt(devinfo_handle, AIOT_DEVINFOOPT_MQTT_HANDLE, in pyamp_amp_app_devinfo_report()
40 aiot_devinfo_deinit(&devinfo_handle); in pyamp_amp_app_devinfo_report()
104 res = aiot_devinfo_send(devinfo_handle, devinfo); in pyamp_amp_app_devinfo_report()
112 aiot_devinfo_deinit(&devinfo_handle); in pyamp_amp_app_devinfo_report()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/advanced/aiot/
A Dmodule_aiot_activeinfo.c21 void *devinfo_handle = NULL; in amp_app_devinfo_report() local
30 devinfo_handle = aiot_devinfo_init(); in amp_app_devinfo_report()
31 if (devinfo_handle == NULL) { in amp_app_devinfo_report()
36 res = aiot_devinfo_setopt(devinfo_handle, AIOT_DEVINFOOPT_MQTT_HANDLE, (void *)mqtt_handle); in amp_app_devinfo_report()
39 aiot_devinfo_deinit(&devinfo_handle); in amp_app_devinfo_report()
107 res = aiot_devinfo_send(devinfo_handle, devinfo); in amp_app_devinfo_report()
115 aiot_devinfo_deinit(&devinfo_handle); in amp_app_devinfo_report()
/AliOS-Things-master/components/py_engine/external/app_mgr/
A Dapp_message.c462 void *devinfo_handle = NULL; in pyamp_devinfo_report_service() local
471 devinfo_handle = aiot_devinfo_init(); in pyamp_devinfo_report_service()
472 if (devinfo_handle == NULL) { in pyamp_devinfo_report_service()
477 res = aiot_devinfo_setopt(devinfo_handle, AIOT_DEVINFOOPT_MQTT_HANDLE, (void *)mqtt_handle); in pyamp_devinfo_report_service()
480 aiot_devinfo_deinit(&devinfo_handle); in pyamp_devinfo_report_service()
543 res = aiot_devinfo_send(devinfo_handle, devinfo); in pyamp_devinfo_report_service()
551 aiot_devinfo_deinit(&devinfo_handle); in pyamp_devinfo_report_service()

Completed in 7 milliseconds