Home
last modified time | relevance | path

Searched refs:STATE_SUCCESS (Results 1 – 25 of 56) sorted by relevance

123

/AliOS-Things-master/components/linksdk/components/bootstrap/
A Daiot_bootstrap_api.c106 return STATE_SUCCESS; in _bootstrap_connection_info()
120 if (res < STATE_SUCCESS) { in _bootstrap_send_get_request()
132 if (res < STATE_SUCCESS) { in _bootstrap_send_get_request()
136 return STATE_SUCCESS; in _bootstrap_send_get_request()
150 if (res < STATE_SUCCESS) { in _bootstrap_send_post_request()
162 if (res < STATE_SUCCESS) { in _bootstrap_send_post_request()
166 return STATE_SUCCESS; in _bootstrap_send_post_request()
178 if (res < STATE_SUCCESS) { in _bootstrap_alink_reply()
183 if (res < STATE_SUCCESS) { in _bootstrap_alink_reply()
528 return STATE_SUCCESS; in aiot_bootstrap_deinit()
[all …]
/AliOS-Things-master/components/linksdk/components/task/
A Daiot_task_api.c81 int32_t res = STATE_SUCCESS; in _task_parse_json()
86 if (res != STATE_SUCCESS) { in _task_parse_json()
103 int32_t res = STATE_SUCCESS; in _task_parse_task_detail()
122 return STATE_SUCCESS; in _task_parse_task_detail()
202 int32_t res = STATE_SUCCESS; in _task_send_notify_reply()
219 if (res < STATE_SUCCESS) { in _task_send_notify_reply()
234 int32_t res = STATE_SUCCESS; in _task_parse_notify()
567 if (res < STATE_SUCCESS) { in _task_send_query_task()
638 if (res < STATE_SUCCESS) { in aiot_task_update()
657 if (res < STATE_SUCCESS) { in aiot_task_update()
[all …]
/AliOS-Things-master/components/py_engine/external/app_mgr/
A Dapp_message.c67 return STATE_SUCCESS; in pyamp_update_file()
105 return STATE_SUCCESS; in pyamptoken_verify()
140 int res = STATE_SUCCESS; in topic_subscribe()
161 if (res < STATE_SUCCESS) { in topic_subscribe()
173 int res = STATE_SUCCESS; in topic_publish()
194 if (res < STATE_SUCCESS) { in topic_publish()
206 int res = STATE_SUCCESS; in pyamp_internal_service_subscribe()
212 if (res < STATE_SUCCESS) { in pyamp_internal_service_subscribe()
218 if (res < STATE_SUCCESS) { in pyamp_internal_service_subscribe()
245 if (res < STATE_SUCCESS) { in pyamp_internal_service_publish()
[all …]
/AliOS-Things-master/components/linksdk/components/subdev/
A Daiot_subdev_api.c28 if (res < STATE_SUCCESS) { in _subdev_update_alink_id()
32 return STATE_SUCCESS; in _subdev_update_alink_id()
276 if (res < STATE_SUCCESS) { in _subdev_send_message()
302 if (res < STATE_SUCCESS) { in _subdev_calculate_sign()
311 return STATE_SUCCESS; in _subdev_calculate_sign()
332 return STATE_SUCCESS; in _subdev_calculate_product_register_sign()
374 return STATE_SUCCESS; in _subdev_topo_add_append_params()
391 return STATE_SUCCESS; in _subdev_append_pk_dn_to_params()
438 return STATE_SUCCESS; in _subdev_batch_login_append_device_list()
482 return STATE_SUCCESS; in _subdev_product_register_append_params()
[all …]
/AliOS-Things-master/components/linksdk/core/
A Daiot_http_api.c104 int32_t res = STATE_SUCCESS; in _core_aiot_http_token_expired_event()
110 if (res < STATE_SUCCESS) { in _core_aiot_http_token_expired_event()
115 if (res < STATE_SUCCESS) { in _core_aiot_http_token_expired_event()
140 if (res < STATE_SUCCESS) { in _core_http_send_auth()
146 if (res < STATE_SUCCESS) { in _core_http_send_auth()
188 if (res < STATE_SUCCESS) { in _core_http_recv_auth()
209 if (res < STATE_SUCCESS) { in _core_http_recv_auth()
227 return STATE_SUCCESS; in _core_http_recv_auth()
372 if (res < STATE_SUCCESS) { in aiot_http_auth()
421 if (res < STATE_SUCCESS) { in aiot_http_send()
[all …]
A Daiot_mqtt_api.c142 return STATE_SUCCESS; in _core_mqtt_handlerlist_insert()
329 return STATE_SUCCESS; in _core_mqtt_topic_is_valid()
381 return STATE_SUCCESS; in _core_mqtt_remove_topic_map()
446 return STATE_SUCCESS; in _core_mqtt_general_property_is_valid()
662 return STATE_SUCCESS; in _core_mqtt_conn_pkt()
684 return STATE_SUCCESS; in _read_variable_byte_interger()
802 return STATE_SUCCESS; in _core_mqtt_parse_property_element()
949 return STATE_SUCCESS; in _core_mqtt_parse_general_properties()
975 return STATE_SUCCESS; in _core_mqtt_parse_conack_properties()
1374 return STATE_SUCCESS; in _core_mqtt_disconnect()
[all …]
/AliOS-Things-master/components/linksdk/core/utils/
A Dcore_global.c17 return STATE_SUCCESS; in core_global_init()
25 return STATE_SUCCESS; in core_global_init()
40 return STATE_SUCCESS; in core_global_alink_id_next()
51 return STATE_SUCCESS; in core_global_set_mqtt_backup_ip()
60 return STATE_SUCCESS; in core_global_get_mqtt_backup_ip()
70 return STATE_SUCCESS; in core_global_deinit()
78 return STATE_SUCCESS; in core_global_deinit()
A Dcore_http.c37 int32_t res = STATE_SUCCESS; in _core_http_connect()
72 if (res < STATE_SUCCESS) { in _core_http_connect()
79 if (res < STATE_SUCCESS) { in _core_http_connect()
84 return STATE_SUCCESS; in _core_http_connect()
89 int32_t res = STATE_SUCCESS; in _core_http_send()
109 int32_t res = STATE_SUCCESS; in _core_http_send_body()
137 int32_t res = STATE_SUCCESS; in _core_http_send_header()
144 if (res < STATE_SUCCESS) { in _core_http_send_header()
343 if (res < STATE_SUCCESS) { in core_http_send()
347 res = STATE_SUCCESS; in core_http_send()
[all …]
A Dcore_string.c16 return STATE_SUCCESS; in core_str2uint()
32 return STATE_SUCCESS; in core_str2uint64()
52 return STATE_SUCCESS; in core_uint2str()
72 return STATE_SUCCESS; in core_uint642str()
102 return STATE_SUCCESS; in core_int2str()
121 return STATE_SUCCESS; in core_hex2str()
149 return STATE_SUCCESS; in core_str2hex()
166 return STATE_SUCCESS; in core_strdup()
199 return STATE_SUCCESS; in core_sprintf()
226 return STATE_SUCCESS; in core_json_value()
[all …]
/AliOS-Things-master/components/linksdk/components/dynreg/
A Daiot_dynreg_api.c30 int32_t res = STATE_SUCCESS; in _dynreg_sign()
37 if (res < STATE_SUCCESS) { in _dynreg_sign()
47 return STATE_SUCCESS; in _dynreg_sign()
97 int32_t res = STATE_SUCCESS; in _dynreg_device_info()
120 return STATE_SUCCESS; in _dynreg_device_info()
154 int32_t res = STATE_SUCCESS; in aiot_dynreg_setopt()
308 return STATE_SUCCESS; in aiot_dynreg_deinit()
381 if (res < STATE_SUCCESS) { in aiot_dynreg_send_request()
478 if (res < STATE_SUCCESS) { in aiot_dynreg_recv()
505 if (res < STATE_SUCCESS) { in aiot_dynreg_recv()
[all …]
/AliOS-Things-master/components/linksdk/components/devinfo/
A Daiot_devinfo_api.c143 int32_t res = STATE_SUCCESS; in _devinfo_operate_topic_map()
156 if (res < STATE_SUCCESS) { in _devinfo_operate_topic_map()
165 if (res < STATE_SUCCESS) { in _devinfo_operate_topic_map()
169 return STATE_SUCCESS; in _devinfo_operate_topic_map()
181 if (res < STATE_SUCCESS) { in _devinfo_send()
186 if (res < STATE_SUCCESS) { in _devinfo_send()
191 if (res < STATE_SUCCESS) { in _devinfo_send()
196 if (res < STATE_SUCCESS) { in _devinfo_send()
205 if (res >= STATE_SUCCESS) { in _devinfo_send()
254 if (res < STATE_SUCCESS) { in aiot_devinfo_init()
[all …]
/AliOS-Things-master/components/linksdk/components/ota/
A Daiot_ota_api.c113 return STATE_SUCCESS; in aiot_ota_deinit()
118 int32_t res = STATE_SUCCESS; in aiot_ota_setopt()
204 int32_t res = STATE_SUCCESS; in aiot_download_deinit()
238 int32_t res = STATE_SUCCESS; in aiot_download_setopt()
329 int32_t res = STATE_SUCCESS; in aiot_ota_report_version()
646 return STATE_SUCCESS; in _ota_prase_topic()
674 if (res != STATE_SUCCESS) { in _ota_mqtt_process()
690 if (res != STATE_SUCCESS) { in _ota_mqtt_process()
798 return STATE_SUCCESS; in _download_parse_url()
887 if (res < STATE_SUCCESS) { in aiot_download_send_request()
[all …]
/AliOS-Things-master/solutions/linksdk_gateway_demo/
A Dsubdev_basic_demo.c146 int32_t res = STATE_SUCCESS; in demo_mqtt_process_thread()
161 int32_t res = STATE_SUCCESS; in demo_mqtt_recv_thread()
165 if (res < STATE_SUCCESS) { in demo_mqtt_recv_thread()
232 if (res < STATE_SUCCESS) { in demo_mqtt_start()
267 int32_t res = STATE_SUCCESS; in demo_mqtt_stop()
277 if (res < STATE_SUCCESS) { in demo_mqtt_stop()
285 if (res < STATE_SUCCESS) { in demo_mqtt_stop()
326 int32_t res = STATE_SUCCESS; in demo_main()
351 if (res < STATE_SUCCESS) { in demo_main()
401 if (res < STATE_SUCCESS) { in demo_main()
[all …]
/AliOS-Things-master/components/linksdk/components/ntp/
A Daiot_ntp_api.c44 &dst_value, &dst_value_len) == STATE_SUCCESS && in _ntp_recv_handler()
103 int32_t res = STATE_SUCCESS; in _ntp_operate_topic_map()
113 if (res < STATE_SUCCESS) { in _ntp_operate_topic_map()
185 int32_t res = STATE_SUCCESS; in aiot_ntp_setopt()
208 if (res >= STATE_SUCCESS) { in aiot_ntp_setopt()
284 return STATE_SUCCESS; in aiot_ntp_deinit()
289 int32_t res = STATE_SUCCESS; in aiot_ntp_send_request()
316 if (res < STATE_SUCCESS) { in aiot_ntp_send_request()
324 if (res < STATE_SUCCESS) { in aiot_ntp_send_request()
334 if (res < STATE_SUCCESS) { in aiot_ntp_send_request()
[all …]
/AliOS-Things-master/components/py_engine/modules/aliyunIoT/
A Dmodule_aiot_ntp.c106 if (res < STATE_SUCCESS) { in aiot_app_ntp_recv_handler()
129 int32_t res = STATE_SUCCESS; in hapy_aiot_amp_ntp_service()
146 if (res < STATE_SUCCESS) { in hapy_aiot_amp_ntp_service()
153 if (res < STATE_SUCCESS) { in hapy_aiot_amp_ntp_service()
160 if (res < STATE_SUCCESS) { in hapy_aiot_amp_ntp_service()
167 if (res < STATE_SUCCESS) { in hapy_aiot_amp_ntp_service()
183 if (res < STATE_SUCCESS) { in hapy_aiot_amp_ntp_service()
191 if (res < STATE_SUCCESS) { in hapy_aiot_amp_ntp_service()
A Dmodule_aiot_dynreg.c51 int32_t res = STATE_SUCCESS; in pyamp_aiot_dynreg_http()
139 if (res < STATE_SUCCESS) { in pyamp_aiot_dynreg_http()
146 if (res < STATE_SUCCESS) { in pyamp_aiot_dynreg_http()
155 if (res < STATE_SUCCESS) { in pyamp_aiot_dynreg_http()
167 return STATE_SUCCESS; in pyamp_aiot_dynreg_http()
170 return STATE_SUCCESS; in pyamp_aiot_dynreg_http()
/AliOS-Things-master/components/py_engine/modules/mqtt/
A Dmodule_mqtt_client.c30 int32_t res = STATE_SUCCESS; in mqtt_process_thread()
46 int32_t res = STATE_SUCCESS; in mqtt_recv_thread()
50 if (res < STATE_SUCCESS) { in mqtt_recv_thread()
164 int32_t res = STATE_SUCCESS; in mqtt_client_start()
233 if (res < STATE_SUCCESS) { in mqtt_client_start()
280 int32_t res = STATE_SUCCESS; in mqtt_client_stop()
290 if (res < STATE_SUCCESS) { in mqtt_client_stop()
298 if (res < STATE_SUCCESS) { in mqtt_client_stop()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/network/mqtt/
A Dmodule_mqtt_client.c30 int32_t res = STATE_SUCCESS; in mqtt_process_thread()
46 int32_t res = STATE_SUCCESS; in mqtt_recv_thread()
50 if (res < STATE_SUCCESS) { in mqtt_recv_thread()
143 int32_t res = STATE_SUCCESS; in mqtt_client_start()
206 if (res < STATE_SUCCESS) in mqtt_client_start()
249 int32_t res = STATE_SUCCESS; in mqtt_client_stop()
259 if (res < STATE_SUCCESS) { in mqtt_client_stop()
267 if (res < STATE_SUCCESS) { in mqtt_client_stop()
/AliOS-Things-master/components/linksdk/components/dynreg-mqtt/
A Daiot_dynregmq_api.c146 int32_t res = STATE_SUCCESS; in aiot_dynregmq_setopt()
308 return STATE_SUCCESS; in aiot_dynregmq_deinit()
313 int32_t res = STATE_SUCCESS; in aiot_dynregmq_send_request()
401 (void *)auth_clientid)) < STATE_SUCCESS) || in aiot_dynregmq_send_request()
403 (void *)auth_username)) < STATE_SUCCESS) || in aiot_dynregmq_send_request()
405 (void *)auth_password)) < STATE_SUCCESS) || in aiot_dynregmq_send_request()
415 (void *)dynregmq_handle)) < STATE_SUCCESS) || in aiot_dynregmq_send_request()
417 (void *)&reconnect)) < STATE_SUCCESS)) { in aiot_dynregmq_send_request()
429 if (res < STATE_SUCCESS) { in aiot_dynregmq_send_request()
444 int32_t res = STATE_SUCCESS; in aiot_dynregmq_recv()
[all …]
/AliOS-Things-master/solutions/rfid_demo/
A Drfid_demo.c83 int32_t res = STATE_SUCCESS; in demo_mqtt_process_thread()
98 int32_t res = STATE_SUCCESS; in demo_mqtt_recv_thread()
102 if (res < STATE_SUCCESS) { in demo_mqtt_recv_thread()
287 int32_t res = STATE_SUCCESS; in demo_main()
349 if (res < STATE_SUCCESS) { in demo_main()
385 if (res < STATE_SUCCESS) { in demo_main()
393 if (res < STATE_SUCCESS) { in demo_main()
400 if (res < STATE_SUCCESS) { in demo_main()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/advanced/aiot/
A Dmodule_aiot_ntp.c100 if (res < STATE_SUCCESS) { in aiot_app_ntp_recv_handler()
124 int32_t res = STATE_SUCCESS; in aiot_amp_ntp_service()
141 if (res < STATE_SUCCESS) { in aiot_amp_ntp_service()
148 if (res < STATE_SUCCESS) { in aiot_amp_ntp_service()
155 if (res < STATE_SUCCESS) { in aiot_amp_ntp_service()
162 if (res < STATE_SUCCESS) { in aiot_amp_ntp_service()
177 if (res < STATE_SUCCESS) { in aiot_amp_ntp_service()
185 if (res < STATE_SUCCESS) { in aiot_amp_ntp_service()
/AliOS-Things-master/solutions/flower_demo/
A Ddata_model_basic_demo.c87 int32_t res = STATE_SUCCESS; in demo_mqtt_process_thread()
102 int32_t res = STATE_SUCCESS; in demo_mqtt_recv_thread()
106 if (res < STATE_SUCCESS) { in demo_mqtt_recv_thread()
311 int32_t res = STATE_SUCCESS; in demo_main()
374 if (res < STATE_SUCCESS) { in demo_main()
407 if (res < STATE_SUCCESS) { in demo_main()
415 if (res < STATE_SUCCESS) { in demo_main()
422 if (res < STATE_SUCCESS) { in demo_main()
/AliOS-Things-master/solutions/linksdk_demo/
A Ddata_model_basic_demo.c81 int32_t res = STATE_SUCCESS; in demo_mqtt_process_thread()
96 int32_t res = STATE_SUCCESS; in demo_mqtt_recv_thread()
100 if (res < STATE_SUCCESS) { in demo_mqtt_recv_thread()
305 int32_t res = STATE_SUCCESS; in demo_main()
367 if (res < STATE_SUCCESS) { in demo_main()
403 if (res < STATE_SUCCESS) { in demo_main()
411 if (res < STATE_SUCCESS) { in demo_main()
418 if (res < STATE_SUCCESS) { in demo_main()
/AliOS-Things-master/solutions/ota_demo/
A Dotaappdemo.c173 if (ret < STATE_SUCCESS) { in mqtt_connected_cb()
178 if (ret < STATE_SUCCESS) { in mqtt_connected_cb()
257 int32_t res = STATE_SUCCESS; in demo_mqtt_process_thread()
272 int32_t res = STATE_SUCCESS; in demo_mqtt_recv_thread()
276 if (res < STATE_SUCCESS) { in demo_mqtt_recv_thread()
288 int32_t res = STATE_SUCCESS; in mqtt_main()
338 if (res < STATE_SUCCESS) { in mqtt_main()
370 if (res < STATE_SUCCESS) { in mqtt_main()
378 if (res < STATE_SUCCESS) { in mqtt_main()
/AliOS-Things-master/solutions/ucloud_ai_demo/
A Dlinkkit_event.c89 int32_t res = STATE_SUCCESS; in linkkit_mqtt_process_thread()
104 int32_t res = STATE_SUCCESS; in linkkit_mqtt_recv_thread()
108 if (res < STATE_SUCCESS) { in linkkit_mqtt_recv_thread()
329 int32_t res = STATE_SUCCESS; in linkkit_main()
390 if (res < STATE_SUCCESS) { in linkkit_main()
426 if (res < STATE_SUCCESS) { in linkkit_main()
434 if (res < STATE_SUCCESS) { in linkkit_main()
441 if (res < STATE_SUCCESS) { in linkkit_main()

Completed in 42 milliseconds

123