/AliOS-Things-master/components/linksdk/core/utils/ |
A D | core_auth.c | 15 …res = core_sprintf(sysdep, &tmp_psk_id, "%s|%s|%s&%s|%s", psk_id_src, sizeof(psk_id_src)/sizeof(ch… in core_auth_tls_psk() 20 …res = core_sprintf(sysdep, &psk_plain_text, "id%s&%stimestamp%s", psk_plain_text_src, sizeof(psk_p… in core_auth_tls_psk() 39 return core_sprintf(sysdep, dest, "%s&%s", src, sizeof(src)/sizeof(char *), module_name); in core_auth_mqtt_username() 50 …res = core_sprintf(sysdep, &plain_text, "clientIddeviceName%sproductKey%stimestamp%s", src, sizeof… in core_auth_mqtt_password() 53 …res = core_sprintf(sysdep, &plain_text, "clientId%s.%sdeviceName%sproductKey%stimestamp%s", src, s… in core_auth_mqtt_password() 79 …return core_sprintf(sysdep, dest, "|timestamp=%s,_ss=1,_v=%s,securemode=%s,signmethod=hmacsha256,e… in core_auth_mqtt_clientid() 82 …return core_sprintf(sysdep, dest, "%s.%s|timestamp=%s,_ss=1,_v=%s,securemode=%s,signmethod=hmacsha… in core_auth_mqtt_clientid() 96 …res = core_sprintf(sysdep, &plain_text, "clientId%s.%sdeviceName%sproductKey%s", sign_ele, 4, modu… in core_auth_http_body() 106 res = core_sprintf(sysdep, in core_auth_http_body()
|
A D | core_string.h | 30 int32_t core_sprintf(aiot_sysdep_portfile_t *sysdep, char **dest, char *fmt, char *src[], uint8_t c…
|
A D | core_string.c | 169 int32_t core_sprintf(aiot_sysdep_portfile_t *sysdep, char **dest, char *fmt, char *src[], uint8_t c… in core_sprintf() function
|
A D | core_log.c | 60 …res = core_sprintf(sysdep, &time, time_fmt, time_src, sizeof(time_src)/sizeof(char *), CORE_LOG_MO… in _core_log_append_date()
|
A D | core_http.c | 142 …res = core_sprintf(http_handle->sysdep, &combine_header, "%s %s HTTP/1.1\r\nHost: %s\r\n%sContent-… in _core_http_send_header()
|
/AliOS-Things-master/components/linksdk/components/logpost/ |
A D | aiot_logpost_api.c | 87 …res = core_sprintf(logpost_handle->sysdep, &topic, LOGPOST_CONFIG_GET_TOPIC_FMT, src, sizeof(src) … in _logpost_get_config() 97 res = core_sprintf(logpost_handle->sysdep, &payload, fmt, in _logpost_get_config() 124 res = core_sprintf(handle->sysdep, &content, content_fmt, content_src, 2, LOGPOST_MODULE_NAME); in _logpost_send_nwkstats_rtt() 177 …res = core_sprintf(handle->sysdep, &content, content_fmt, content_src, content_src_cnt, LOGPOST_MO… in _logpost_send_nwkstats_conn() 383 …res = core_sprintf(logpost_handle->sysdep, &topic, LOGPOST_POST_TOPIC_FMT, src, sizeof(src) / size… in aiot_logpost_send() 409 res = core_sprintf(logpost_handle->sysdep, &payload, fmt, in aiot_logpost_send()
|
/AliOS-Things-master/components/linksdk/components/ota/ |
A D | aiot_ota_api.c | 356 core_sprintf(sysdep, &payload_string, "%s%s%s%s%s", src, topic_len, OTA_MODULE_NAME); in aiot_ota_report_version() 360 core_sprintf(sysdep, &payload_string, "%s%s%s", src, topic_len, OTA_MODULE_NAME); in aiot_ota_report_version() 399 core_sprintf(sysdep, &payload_string, "%s%s%s", src, topic_len, OTA_MODULE_NAME); in aiot_ota_report_version_ext() 423 core_sprintf(sysdep, &payload_string, "%s%s%s", src, topic_len, OTA_MODULE_NAME); in aiot_ota_query_firmware() 427 core_sprintf(sysdep, &payload_string, "%s", src, topic_len, OTA_MODULE_NAME); in aiot_ota_query_firmware() 461 core_sprintf(sysdep, &payload_string, "%s%s%s%s%s", src, topic_len, OTA_MODULE_NAME); in aiot_download_report_progress() 465 core_sprintf(sysdep, &payload_string, "%s%s%s", src, topic_len, OTA_MODULE_NAME); in aiot_download_report_progress() 842 res = core_sprintf(sysdep, &header_string, "%s%s%s%s\r\n", src, len, OTA_MODULE_NAME); in aiot_download_send_request() 1095 res = core_sprintf(sysdep, &topic_string, "%s/%s/%s", src, topic_len, OTA_MODULE_NAME); in _ota_publish_base() 1102 res = core_sprintf(sysdep, &topic_string, "%s/%s/%s/%s", src, topic_len, OTA_MODULE_NAME); in _ota_publish_base() [all …]
|
/AliOS-Things-master/components/linksdk/components/dynreg-mqtt/ |
A D | aiot_dynregmq_api.c | 94 …core_sprintf(dynregmq_handle->sysdep, &conn_clientid, "%s|authType=connwl,securemode=-2,_ss=1,ext=… in _dynregmq_recv_handler() 96 core_sprintf(dynregmq_handle->sysdep, &conn_username, "%s&%s", in _dynregmq_recv_handler() 384 core_sprintf(dynregmq_handle->sysdep, &auth_clientid, client_fmt, client_src, in aiot_dynregmq_send_request() 386 core_sprintf(dynregmq_handle->sysdep, &auth_username, username_fmt, username_src, in aiot_dynregmq_send_request() 388 core_sprintf(dynregmq_handle->sysdep, &sign_input, sign_input_fmt, client_src, in aiot_dynregmq_send_request()
|
/AliOS-Things-master/components/linksdk/components/task/ |
A D | aiot_task_api.c | 209 …res = core_sprintf(task_handle->sysdep, &payload, TASK_NOTIFY_REPLY_FMT, src, sizeof(src) / sizeof… in _task_send_notify_reply() 216 res = core_sprintf(task_handle->sysdep, &topic, TASK_NOTIFY_REPLY_TOPIC_FMT, topic_src, in _task_send_notify_reply() 557 …res = core_sprintf(task_handle->sysdep, &payload, TASK_REQUEST_QUERY_TASK_FMT, src, sizeof(src) / … in _task_send_query_task() 564 res = core_sprintf(task_handle->sysdep, &topic, TASK_QUERY_TASK_TOPIC_FMT, topic_src, in _task_send_query_task() 635 res = core_sprintf(task_handle->sysdep, &topic, TASK_UPDATE_TASK_TOPIC_FMT, topic_src, in aiot_task_update() 649 … res = core_sprintf(task_handle->sysdep, &payload, TASK_REQUEST_UPDATE_TASK_NO_DETAIL_FMT, src, 4, in aiot_task_update() 653 …res = core_sprintf(task_handle->sysdep, &payload, TASK_REQUEST_UPDATE_TASK_FMT, src, sizeof(src) /… in aiot_task_update()
|
/AliOS-Things-master/components/linksdk/components/diag/ |
A D | aiot_diag_api.c | 152 …res = core_sprintf(diag_handle->sysdep, &topic, topic_fmt, topic_src, sizeof(topic_src)/sizeof(cha… in _diag_desc_list_send() 161 …res = core_sprintf(diag_handle->sysdep, &payload, payload_fmt, payload_src, sizeof(payload_src)/si… in _diag_desc_list_send() 311 …core_sprintf(diag_handle->sysdep, &tmp_desc, desc_fmt, desc_src, sizeof(desc_src)/sizeof(char *), … in _diag_mqtt_conn_report_desc_append() 322 …core_sprintf(diag_handle->sysdep, &tmp_desc, desc_fmt, desc_src, sizeof(desc_src)/sizeof(char *), … in _diag_mqtt_conn_report_desc_append() 348 …core_sprintf(diag_handle->sysdep, &tmp_desc, desc_fmt, desc_src, sizeof(desc_src)/sizeof(char *), … in _diag_mqtt_hb_report_desc_append() 359 …core_sprintf(diag_handle->sysdep, &tmp_desc, desc_fmt, desc_src, sizeof(desc_src)/sizeof(char *), … in _diag_mqtt_hb_report_desc_append() 402 …core_sprintf(diag_handle->sysdep, &tmp_desc, desc_fmt, desc_src, sizeof(desc_src)/sizeof(char *), … in _diag_alink_uplink_report_desc_append() 413 …core_sprintf(diag_handle->sysdep, &tmp_desc, desc_fmt, desc_src, sizeof(desc_src)/sizeof(char *), … in _diag_alink_uplink_report_desc_append()
|
/AliOS-Things-master/components/linksdk/components/shadow/ |
A D | aiot_shadow_api.c | 324 …res = core_sprintf(shadow_handle->sysdep, &topic, SHADOW_UPDATE_TOPIC_FMT, src, sizeof(src) / size… in aiot_shadow_send() 347 res = core_sprintf(shadow_handle->sysdep, &payload, SHADOW_PAYLOAD_REQ_FMT, in aiot_shadow_send() 361 res = core_sprintf(shadow_handle->sysdep, &payload, SHADOW_PAYLOAD_CLEAN_FMT, in aiot_shadow_send() 386 res = core_sprintf(shadow_handle->sysdep, &payload, SHADOW_PAYLOAD_REQ_FMT, in aiot_shadow_send()
|
/AliOS-Things-master/components/linksdk/components/ntp/ |
A D | aiot_ntp_api.c | 111 …res = core_sprintf(ntp_handle->sysdep, &topic, topic_fmt, topic_src, sizeof(topic_src) / sizeof(ch… in _ntp_operate_topic_map() 314 …res = core_sprintf(ntp_handle->sysdep, &topic, topic_fmt, topic_src, sizeof(topic_src) / sizeof(ch… in aiot_ntp_send_request() 322 …res = core_sprintf(ntp_handle->sysdep, &payload, payload_fmt, payload_src, sizeof(payload_src) / s… in aiot_ntp_send_request()
|
/AliOS-Things-master/components/linksdk/components/bootstrap/ |
A D | aiot_bootstrap_api.c | 118 …res = core_sprintf(bootstrap_handle->sysdep, &path, path_fmt, path_src, sizeof(path_src) / sizeof(… in _bootstrap_send_get_request() 148 …res = core_sprintf(bootstrap_handle->sysdep, &content, content_fmt, content_src, sizeof(content_sr… in _bootstrap_send_post_request() 177 …res = core_sprintf(bootstrap_handle->sysdep, &topic, topic_fmt, topic_src, sizeof(topic_src)/sizeo… in _bootstrap_alink_reply() 182 …res = core_sprintf(bootstrap_handle->sysdep, &reply, reply_fmt, reply_src, sizeof(reply_src)/sizeo… in _bootstrap_alink_reply() 263 …res = core_sprintf(bootstrap_handle->sysdep, &topic, topic_fmt, topic_src, sizeof(topic_src) / siz… in _bootstrap_operate_topic_map()
|
/AliOS-Things-master/components/linksdk/core/ |
A D | aiot_http_api.c | 144 …res = core_sprintf(http_handle->sysdep, &path, path_fmt, path_src, sizeof(path_src) / sizeof(char … in _core_http_send_auth() 420 …res = core_sprintf(http_handle->sysdep, &path, "/topic%s", (char **)&topic, 1, CORE_HTTP_MODULE_NA… in aiot_http_send() 431 …res = core_sprintf(http_handle->sysdep, &header, "Content-Type: application/octet-stream\r\nPasswo… in aiot_http_send()
|
/AliOS-Things-master/components/linksdk/components/devinfo/ |
A D | aiot_devinfo_api.c | 190 …res = core_sprintf(devinfo_handle->sysdep, &topic, topic_fmt, topic_src, sizeof(topic_src)/sizeof(… in _devinfo_send() 195 …res = core_sprintf(devinfo_handle->sysdep, &payload, payload_fmt, payload_src, sizeof(payload_src)… in _devinfo_send()
|
/AliOS-Things-master/components/linksdk/components/dynreg/ |
A D | aiot_dynreg_api.c | 36 …res = core_sprintf(dynreg_handle->sysdep, &plain_text, src_fmt, src, sizeof(src) / sizeof(char *),… in _dynreg_sign() 410 …res = core_sprintf(dynreg_handle->sysdep, &content, content_fmt, content_src, sizeof(content_src) … in aiot_dynreg_send_request()
|
/AliOS-Things-master/components/linksdk/components/data-model/ |
A D | aiot_dm_api.c | 226 …return core_sprintf(dm_handle->sysdep, topic, g_dm_send_topic_mapping[msg->type].topic, src, src_c… in _dm_prepare_send_topic() 252 … res = core_sprintf(handle->sysdep, &payload, ALINK_REQUEST_FMT, src, sizeof(src) / sizeof(char *), in _dm_send_alink_req() 287 …res = core_sprintf(handle->sysdep, &payload, ALINK_RESPONSE_FMT, src, sizeof(src) / sizeof(char *), in _dm_send_alink_rsp()
|
/AliOS-Things-master/components/linksdk/components/subdev/ |
A D | aiot_subdev_api.c | 275 …res = core_sprintf(subdev_handle->sysdep, &topic, topic_fmt, topic_src, sizeof(topic_src)/sizeof(c… in _subdev_send_message() 301 …res = core_sprintf(subdev_handle->sysdep, &plain_text, plain_text_fmt, plain_text_src, sizeof(plai… in _subdev_calculate_sign() 322 …res = core_sprintf(subdev_handle->sysdep, &plain_text, plain_text_fmt, plain_text_src, sizeof(plai… in _subdev_calculate_product_register_sign()
|