Searched refs:packet_len (Results 1 – 9 of 9) sorted by relevance
/AliOS-Things-master/components/linkkit/wifi_provision/dev_bind/ |
A D | awss_report.c | 128 int packet_len = SWITCHAP_RSP_LEN, awss_info_len = 0; in awss_online_switchap() local 145 packet = awss_zalloc(packet_len + 1); in awss_online_switchap() 221 &packet_len); in awss_online_switchap() 227 awss_cmp_mqtt_send(reply, packet, packet_len, 1); in awss_online_switchap() 306 int packet_len, ret; in awss_report_token_to_cloud() local 333 packet_len = AWSS_REPORT_LEN_MAX; in awss_report_token_to_cloud() 335 packet = awss_zalloc(packet_len + 1); in awss_report_token_to_cloud() 337 awss_err("alloc mem(%d) failed", packet_len); in awss_report_token_to_cloud() 366 METHOD_MATCH_REPORT, param, 0, packet, &packet_len); in awss_report_token_to_cloud() 372 ret = awss_cmp_mqtt_send(topic, packet, packet_len, 1); in awss_report_token_to_cloud()
|
A D | awss_packet.c | 181 int code, void *packet, int *packet_len) in awss_build_packet() argument 184 if (packet_len == NULL || data == NULL || packet == NULL) { in awss_build_packet() 188 len = *packet_len; in awss_build_packet()
|
/AliOS-Things-master/components/linkkit/wifi_provision/dev_bind/awss_reset/ |
A D | awss_dev_reset.c | 76 int packet_len = AWSS_RESET_PKT_LEN; in awss_report_reset_to_cloud() local 121 packet = devrst_malloc(packet_len + 1); in awss_report_reset_to_cloud() 126 memset(packet, 0, packet_len + 1); in awss_report_reset_to_cloud() 132 final_len = HAL_Snprintf(packet, packet_len, AWSS_RESET_REQ_FMT, id_str, in awss_report_reset_to_cloud()
|
/AliOS-Things-master/components/linkkit/dev_model/deprecated/ |
A D | impl_ntp.c | 136 int packet_len = 64; in linkkit_ntp_time_request() local 174 packet = (char *)IMPL_NTP_MALLOC(packet_len + 1); in linkkit_ntp_time_request() 179 memset(packet, 0, packet_len + 1); in linkkit_ntp_time_request() 182 final_len = HAL_Snprintf(packet, packet_len, "{\"deviceSendTime\":\"%u\"}", in linkkit_ntp_time_request()
|
/AliOS-Things-master/components/linkkit/wifi_provision/zero_config/ |
A D | awss_registrar.c | 167 int packet_len = CHECK_IN_RSP_LEN, dev_info_len = 0; in awss_enrollee_checkin() local 215 &packet_len); in awss_enrollee_checkin() 219 awss_cmp_mqtt_send(reply, packet, packet_len, 1); in awss_enrollee_checkin() 326 int packet_len = AWSS_REPORT_PKT_LEN - 1; in awss_request_cipher_key() local 355 &packet_len); in awss_request_cipher_key() 360 awss_cmp_mqtt_send(topic, packet, packet_len, 1); in awss_request_cipher_key() 650 int packet_len = AWSS_REPORT_PKT_LEN - 1; in awss_report_enrollee() local 685 &packet_len); in awss_report_enrollee() 693 awss_cmp_mqtt_send(topic, packet, packet_len, 1); in awss_report_enrollee()
|
/AliOS-Things-master/components/linkkit/http2/ |
A D | http2_upload_api.c | 232 info->packet_len = FS_UPLOAD_PACKET_LEN; in _http2_fs_part_send_sync() 247 info->packet_len = res; in _http2_fs_part_send_sync() 250 if (info->stream_len - info->send_len < info->packet_len) { in _http2_fs_part_send_sync() 251 info->packet_len = info->stream_len - info->send_len; in _http2_fs_part_send_sync()
|
A D | http2_api.c | 786 ARGUMENT_SANITY_CHECK(info->packet_len != 0, FAIL_RETURN); in IOT_HTTP2_Stream_Send() 789 while (windows_size < info->packet_len) { in IOT_HTTP2_Stream_Send() 841 h2_data.len = info->packet_len; /* TODO */ in IOT_HTTP2_Stream_Send() 843 if (info->packet_len + info->send_len == in IOT_HTTP2_Stream_Send() 874 info->send_len += info->packet_len; in IOT_HTTP2_Stream_Send() 879 h2_data.len = info->packet_len; in IOT_HTTP2_Stream_Send() 882 if (info->packet_len + info->send_len == in IOT_HTTP2_Stream_Send() 895 info->send_len += info->packet_len; in IOT_HTTP2_Stream_Send()
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/bt_if_enhanced/inc/ |
A D | map_api.h | 42 uint32_t packet_len; member
|
/AliOS-Things-master/components/linkkit/include/linkkit/ |
A D | http2_api.h | 96 uint32_t packet_len; /* one packet length */ member
|
Completed in 20 milliseconds