/hal_espressif-3.5.0/tools/ci/ |
D | check_readme_links.py | 40 def __init__(self, file, url): argument 42 self.url = url 47 … return 'Relative link error, file - {} not found, linked from {}'.format(self.url, self.file) 51 def __init__(self, file, url, error_code): argument 53 super().__init__(file, url) 57 …url - {} in files - {} is not accessible, request returned {}'.format(self.url, ', '.join(files), … 61 def check_url(url, files, timeout): argument 63 with urllib.request.urlopen(url, timeout=timeout): 67 raise UrlLinkError(files, url, str(e)) 69 print('Unable to access {}, err = {}'.format(url, str(e))) [all …]
|
D | ci_fetch_submodule.py | 27 def __init__(self, gitlab_inst, path, url): argument 30 self.project_id = self._get_project_id(url) 40 def _get_project_id(self, url): argument 41 base_name = os.path.basename(url) 71 url = url_match.group(1) 78 submodules.append(SubModule(gitlab_inst, path, url))
|
D | deploy_docs.py | 88 … url = '{}/{}/index.html'.format(url_base, vurl) # (index.html needed for the preview server) 89 url = re.sub(r'([^:])//', r'\1/', url) # get rid of any // that isn't in the https:// part 90 print('[document {}][{}] {}'.format(doc_deploy_type, tag, url))
|
/hal_espressif-3.5.0/tools/ci/python_packages/idf_http_server_test/ |
D | client.py | 54 sess.request('GET', url=uri, headers=test_headers) 86 sess.request('POST', url='/echo', body=msg) 108 sess.request('PUT', url='/ctrl', body='0') 114 sess.request('GET', url='/hello') 132 sess.request('POST', url='/echo', body='Some content') 149 sess.request('POST', url='/hello', body='Some content') 178 sess.request('PUT', url='/ctrl', body='1') 189 sess.request('GET', url='/hello') 201 sess.request('GET', url='/invalid') 235 sess.request('GET', url=uri, headers={})
|
/hal_espressif-3.5.0/docs/ |
D | generate_chart.py | 63 def __init__(self, url=None, filename=None): argument 64 self._releases = self._get_releases_from_url(url=url, filename=filename) 81 def _get_all_version_from_url(self, url=None, filename=None): argument 82 … releases_file = requests.get(url).text if url is not None else ''.join(open(filename).readlines()) 85 def _get_releases_from_url(self, url=None, filename=None): argument 86 all_versions = self._get_all_version_from_url(url, filename) 215 …ChartVersions(url=args.url if args.filename is None else None, filename=args.filename).create_char…
|
/hal_espressif-3.5.0/components/esp-tls/ |
D | esp_tls.c | 515 static int get_port(const char *url, struct http_parser_url *u) in get_port() argument 518 return strtol(&url[u->field_data[UF_PORT].off], NULL, 10); in get_port() 520 … if (strncasecmp(&url[u->field_data[UF_SCHEMA].off], "http", u->field_data[UF_SCHEMA].len) == 0) { in get_port() 522 …} else if (strncasecmp(&url[u->field_data[UF_SCHEMA].off], "https", u->field_data[UF_SCHEMA].len) … in get_port() 532 esp_tls_t *esp_tls_conn_http_new(const char *url, const esp_tls_cfg_t *cfg) in esp_tls_conn_http_new() argument 537 http_parser_parse_url(url, strlen(url), 0, &u); in esp_tls_conn_http_new() 543 if (esp_tls_conn_new_sync(&url[u.field_data[UF_HOST].off], u.field_data[UF_HOST].len, in esp_tls_conn_http_new() 544 get_port(url, &u), cfg, tls) == 1) { in esp_tls_conn_http_new() 554 int esp_tls_conn_http_new_async(const char *url, const esp_tls_cfg_t *cfg, esp_tls_t *tls) in esp_tls_conn_http_new_async() argument 559 http_parser_parse_url(url, strlen(url), 0, &u); in esp_tls_conn_http_new_async() [all …]
|
D | esp_tls.h | 419 esp_tls_t *esp_tls_conn_http_new(const char *url, const esp_tls_cfg_t *cfg); 455 int esp_tls_conn_http_new_async(const char *url, const esp_tls_cfg_t *cfg, esp_tls_t *tls);
|
/hal_espressif-3.5.0/examples/protocols/esp_http_client/main/ |
D | esp_http_client_example.c | 311 .url = "http://user:passwd@httpbin.org/basic-auth/user/passwd", in http_auth_basic() 332 .url = "http://user:passwd@httpbin.org/basic-auth/user/passwd", in http_auth_basic_redirect() 353 .url = "http://user:passwd@httpbin.org/digest-auth/auth/user/passwd/MD5/never", in http_auth_digest() 373 .url = "https://www.howsmyssl.com", in https_with_url() 415 .url = "http://httpbin.org/relative-redirect/3", in http_relative_redirect() 434 .url = "http://httpbin.org/absolute-redirect/3", in http_absolute_redirect() 453 .url = "http://httpbin.org/redirect-to?url=https%3A%2F%2Fwww.howsmyssl.com", in http_redirect_to_https() 473 .url = "http://httpbin.org/stream-bytes/8912", in http_download_chunk() 497 .url = "http://httpbin.org/get", in http_perform_as_stream_reader() 527 .url = "https://postman-echo.com/post", in https_async() [all …]
|
/hal_espressif-3.5.0/tools/idf_monitor_base/ |
D | web_socket_client.py | 45 def __init__(self, url): # type: (str) -> None argument 46 self.url = url 57 self.ws = websocket.create_connection(self.url)
|
/hal_espressif-3.5.0/tools/esp_app_trace/espytrace/ |
D | apptrace.py | 353 url = urlparse(trc_src) 354 if len(url.scheme) == 0 or url.scheme == 'file': 359 return FileReader(url.path, tmo) 360 if url.scheme == 'tcp': 361 return TCPReader(url.hostname, url.port, tmo) 362 if url.scheme == 'udp': 363 return UDPReader(url.hostname, url.port, tmo)
|
/hal_espressif-3.5.0/examples/bluetooth/bluedroid/ble/ble_eddystone/main/ |
D | esp_eddystone_api.c | 138 res->inform.url.tx_power = buf[pos++]; in esp_eddystone_url_received() 140 memcpy(&res->inform.url.url, url_res, strlen(url_res)); in esp_eddystone_url_received() 141 res->inform.url.url[strlen(url_res)] = '\0'; in esp_eddystone_url_received()
|
D | esp_eddystone_demo.c | 63 … ESP_LOGI(DEMO_TAG, "Measured power(RSSI at 0m distance):%d dbm", res->inform.url.tx_power); in esp_eddystone_show_inform() 64 ESP_LOGI(DEMO_TAG, "URL: %s", res->inform.url.url); in esp_eddystone_show_inform()
|
D | esp_eddystone_api.h | 30 char url[EDDYSTONE_URL_MAX_LEN]; /*<! the decoded URL */ member 31 } url; member
|
/hal_espressif-3.5.0/tools/ |
D | idf_tools.py | 315 def splittype(url): # type: (str) -> Tuple[Optional[str], str] argument 316 match = re.match('([^/:]+):(.*)', url, re.DOTALL) 320 return None, url 324 def urlretrieve_ctx(url, filename, reporthook=None, data=None, context=None): argument 326 url_type, path = splittype(url) 332 with contextlib.closing(urlopen(url, data, **extra_urlopen_args)) as fp: # type: ignore 431 def __init__(self, platform_name, url, size, sha256): # type: (str, str, int, str) -> None argument 433 self.url = url 466 def add_download(self, platform_name, url, size, sha256): # type: (str, str, int, str) -> None argument 467 self.downloads[platform_name] = IDFToolDownload(platform_name, url, size, sha256) [all …]
|
/hal_espressif-3.5.0/examples/system/ota/simple_ota_example/main/ |
D | simple_ota_example.c | 87 .url = CONFIG_EXAMPLE_FIRMWARE_UPGRADE_URL, in simple_ota_example_task() 98 if (strcmp(config.url, "FROM_STDIN") == 0) { in simple_ota_example_task() 103 config.url = url_buf; in simple_ota_example_task()
|
/hal_espressif-3.5.0/docs/en/api-reference/protocols/ |
D | esp_http_client.rst | 55 .url = "http://httpbin.org/redirect/2", 85 .url = "http://httpbin.org/get", 103 The HTTP client supports SSL connections using **mbedtls**, with the **url** configuration starting… 117 .url = "https://www.howsmyssl.com", 154 …* and **Digest** Authentication. By providing usernames and passwords in ``url`` or in the ``usern… 165 .url = "http://user:passwd@httpbin.org/basic-auth/user/passwd", 178 .url = "http://httpbin.org/basic-auth/user/passwd",
|
/hal_espressif-3.5.0/components/esp_http_client/ |
D | esp_http_client.c | 56 char *url; member 497 free(client->connection_info.url); in _clear_connection_info() 703 } else if (config->url != NULL) { in esp_http_client_init() 704 if (esp_http_client_set_url(client, config->url) != ESP_OK) { in esp_http_client_init() 838 esp_err_t esp_http_client_set_url(esp_http_client_handle_t client, const char *url) in esp_http_client_set_url() argument 844 if (client == NULL || url == NULL) { in esp_http_client_set_url() 851 int parser_status = http_parser_parse_url(url, strlen(url), 0, &purl); in esp_http_client_set_url() 854 ESP_LOGE(TAG, "Error parse url %s", url); in esp_http_client_set_url() 863 …http_utils_assign_string(&client->connection_info.host, url + purl.field_data[UF_HOST].off, purl.f… in esp_http_client_set_url() 886 …http_utils_assign_string(&client->connection_info.scheme, url + purl.field_data[UF_SCHEMA].off, pu… in esp_http_client_set_url() [all …]
|
/hal_espressif-3.5.0/examples/system/ota/advanced_https_ota/main/ |
D | advanced_https_ota_example.c | 90 .url = CONFIG_EXAMPLE_FIRMWARE_UPGRADE_URL, in advanced_ota_example_task() 98 if (strcmp(config.url, "FROM_STDIN") == 0) { in advanced_ota_example_task() 103 config.url = url_buf; in advanced_ota_example_task()
|
/hal_espressif-3.5.0/docs/_static/js/ |
D | version_table.js | 45 let url = getVersionUrl(v); 48 old_ver_list += "<li><a href=\"" + url + "\">" + v.name + "</li>";
|
/hal_espressif-3.5.0/components/esp_http_client/include/ |
D | esp_http_client.h | 102 …const char *url; /*!< HTTP URL, the information on the URL is most… member 223 esp_err_t esp_http_client_set_url(esp_http_client_handle_t client, const char *url); 589 esp_err_t esp_http_client_get_url(esp_http_client_handle_t client, char *url, const int len);
|
/hal_espressif-3.5.0/examples/system/ota/native_ota_example/main/ |
D | native_ota_example.c | 97 .url = CONFIG_EXAMPLE_FIRMWARE_UPG_URL, in ota_example_task() 105 if (strcmp(config.url, "FROM_STDIN") == 0) { in ota_example_task() 110 config.url = url_buf; in ota_example_task()
|
/hal_espressif-3.5.0/components/esp_http_client/test/ |
D | test_http_client.c | 29 .url = "http://httpbin.org/get", 142 .url = "//httpbin.org/post",
|
/hal_espressif-3.5.0/examples/protocols/http_server/captive_portal/ |
D | example_test.py | 44 sess.request('GET', url=uri) 68 sess.request('GET', url=uri)
|
/hal_espressif-3.5.0/components/newlib/ |
D | .gitmodules | 3 url = ssh://git@gitlab.espressif.cn:27227/igrokhotkov/newlib_xtensa-2.2.0.git
|
/hal_espressif-3.5.0/tools/kconfig_new/esp-windows-curses/ |
D | setup.py | 22 url='https://www.espressif.com',
|