Home
last modified time | relevance | path

Searched refs:url (Results 1 – 25 of 39) sorted by relevance

12

/hal_espressif-2.7.6/tools/ci/
Dcheck_readme_links.py39 def __init__(self, file, url): argument
41 self.url = url
46 … return 'Relative link error, file - {} not found, linked from {}'.format(self.url, self.file)
50 def __init__(self, file, url, error_code): argument
52 super().__init__(file, url)
56 …url - {} in files - {} is not accessible, request returned {}'.format(self.url, ', '.join(files), …
60 def check_url(url, files, timeout): argument
62 with urllib.request.urlopen(url, timeout=timeout):
66 raise UrlLinkError(files, url, str(e))
68 print('Unable to access {}, err = {}'.format(url, str(e)))
[all …]
Dci_fetch_submodule.py27 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))
Ddeploy_docs.py88url = '{}/{}/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-2.7.6/
D.gitmodules3 url = https://github.com/espressif/esptool.git
7 url = https://github.com/kmackay/micro-ecc.git
11 url = https://github.com/espressif/esp32-wifi-lib.git
15 url = https://github.com/espressif/esp32-bt-lib.git
18 url = https://github.com/espressif/esp32c3-bt-lib
/hal_espressif-2.7.6/tools/ci/python_packages/idf_http_server_test/
Dclient.py54 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-2.7.6/docs/
Dgenerate_chart.py63 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-2.7.6/components/esp-tls/
Desp_tls.c424 static int get_port(const char *url, struct http_parser_url *u) in get_port() argument
427 return strtol(&url[u->field_data[UF_PORT].off], NULL, 10); in get_port()
429 … if (strncasecmp(&url[u->field_data[UF_SCHEMA].off], "http", u->field_data[UF_SCHEMA].len) == 0) { in get_port()
431 …} else if (strncasecmp(&url[u->field_data[UF_SCHEMA].off], "https", u->field_data[UF_SCHEMA].len) … in get_port()
441 esp_tls_t *esp_tls_conn_http_new(const char *url, const esp_tls_cfg_t *cfg) in esp_tls_conn_http_new() argument
446 http_parser_parse_url(url, strlen(url), 0, &u); in esp_tls_conn_http_new()
452 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()
453 get_port(url, &u), cfg, tls) == 1) { in esp_tls_conn_http_new()
463 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
468 http_parser_parse_url(url, strlen(url), 0, &u); in esp_tls_conn_http_new_async()
[all …]
/hal_espressif-2.7.6/examples/protocols/esp_http_client/main/
Desp_http_client_example.c306 .url = "http://user:passwd@httpbin.org/basic-auth/user/passwd", in http_auth_basic()
327 .url = "http://user:passwd@httpbin.org/basic-auth/user/passwd", in http_auth_basic_redirect()
347 .url = "http://user:passwd@httpbin.org/digest-auth/auth/user/passwd/MD5/never", in http_auth_digest()
366 .url = "https://www.howsmyssl.com", in https_with_url()
408 .url = "http://httpbin.org/relative-redirect/3", in http_relative_redirect()
427 .url = "http://httpbin.org/absolute-redirect/3", in http_absolute_redirect()
446 .url = "http://httpbin.org/redirect-to?url=https%3A%2F%2Fwww.howsmyssl.com", in http_redirect_to_https()
466 .url = "http://httpbin.org/stream-bytes/8912", in http_download_chunk()
490 .url = "http://httpbin.org/get", in http_perform_as_stream_reader()
520 .url = "https://postman-echo.com/post", in https_async()
[all …]
/hal_espressif-2.7.6/examples/system/ota/simple_ota_example/main/
Dsimple_ota_example.c67 .url = CONFIG_EXAMPLE_FIRMWARE_UPGRADE_URL, in simple_ota_example_task()
75 if (strcmp(config.url, "FROM_STDIN") == 0) { in simple_ota_example_task()
80 config.url = url_buf; in simple_ota_example_task()
DKconfig.projbuild4 string "firmware upgrade url endpoint"
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble/ble_eddystone/main/
Desp_eddystone_api.c138 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()
Desp_eddystone_demo.c63 … 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()
Desp_eddystone_api.h30 char url[EDDYSTONE_URL_MAX_LEN]; /*<! the decoded URL */ member
31 } url; member
/hal_espressif-2.7.6/tools/esp_app_trace/espytrace/
Dapptrace.py353 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-2.7.6/docs/idf_extensions/
Dlink_roles.py63 … return value.url.replace('.git', ''), value.rev, re.sub('^/{}/'.format(key), '', path)
82 url = url_join(BASE_URL, repo, link_type, repo_rev, rel_path)
120 node = nodes.reference(rawtext, link_text, refuri=url, **options)
152url = '{}.html'.format(os.path.join(return_path, '../../..', language, env.config.release,
154 node.replace_self(nodes.reference(rawtext, link_text, refuri=url, **options))
/hal_espressif-2.7.6/tools/
Didf_tools.py309 def splittype(url): argument
310 match = re.match('([^/:]+):(.*)', url, re.DOTALL)
314 return None, url
318 def urlretrieve_ctx(url, filename, reporthook=None, data=None, context=None): argument
319 url_type, path = splittype(url)
325 with contextlib.closing(urlopen(url, data, **extra_urlopen_args)) as fp:
424 def __init__(self, platform_name, url, size, sha256): argument
426 self.url = url
457 def add_download(self, platform_name, url, size, sha256): argument
458 self.downloads[platform_name] = IDFToolDownload(platform_name, url, size, sha256)
[all …]
Dset-submodules-to-github.sh38 git config submodule."${SUBPATH}".url "${SUBURL}"
/hal_espressif-2.7.6/examples/system/ota/advanced_https_ota/main/
Dadvanced_https_ota_example.c86 .url = CONFIG_EXAMPLE_FIRMWARE_UPGRADE_URL, in advanced_ota_example_task()
94 if (strcmp(config.url, "FROM_STDIN") == 0) { in advanced_ota_example_task()
99 config.url = url_buf; in advanced_ota_example_task()
/hal_espressif-2.7.6/components/esp_http_client/include/
Desp_http_client.h109 …const char *url; /*!< HTTP URL, the information on the URL is most… member
220 esp_err_t esp_http_client_set_url(esp_http_client_handle_t client, const char *url);
563 esp_err_t esp_http_client_get_url(esp_http_client_handle_t client, char *url, const int len);
/hal_espressif-2.7.6/docs/en/api-reference/protocols/
Desp_http_client.rst55 .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-2.7.6/components/esp_http_client/
Desp_http_client.c63 char *url; member
472 free(client->connection_info.url); in _clear_connection_info()
645 } else if (config->url != NULL) { in esp_http_client_init()
646 if (esp_http_client_set_url(client, config->url) != ESP_OK) { in esp_http_client_init()
762 esp_err_t esp_http_client_set_url(esp_http_client_handle_t client, const char *url) in esp_http_client_set_url() argument
768 if (client == NULL || url == NULL) { in esp_http_client_set_url()
775 int parser_status = http_parser_parse_url(url, strlen(url), 0, &purl); in esp_http_client_set_url()
778 ESP_LOGE(TAG, "Error parse url %s", url); in esp_http_client_set_url()
787 …http_utils_assign_string(&client->connection_info.host, url + purl.field_data[UF_HOST].off, purl.f… in esp_http_client_set_url()
810 …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-2.7.6/components/newlib/
D.gitmodules3 url = ssh://git@gitlab.espressif.cn:27227/igrokhotkov/newlib_xtensa-2.2.0.git
/hal_espressif-2.7.6/tools/kconfig_new/esp-windows-curses/
Dsetup.py22 url='https://www.espressif.com',
/hal_espressif-2.7.6/docs/test/
Dtest_sphinx_idf_extensions.py111 self.assertIsNotNone(submod_dict[test_submod_name].url)
113 self.assertIsNotNone(submod_dict[test_submod_name].url)
/hal_espressif-2.7.6/examples/system/ota/native_ota_example/main/
Dnative_ota_example.c97 .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()

12