Commit Graph

30 Commits

Author SHA1 Message Date
e4c8a5932c Added badges with version of components to the respective README files 2022-12-12 18:13:04 +01:00
6e2bb518fd CI: Fix ASIO example test 2022-11-23 19:07:26 +04:00
aee016d6e4 Examples: using pytest.ini from top level directory 2022-10-25 23:59:33 +04:00
945bd17701 CI: fixing the files to be complient with pre-commit hooks 2022-10-17 18:16:52 +02:00
f148c98b13 ASIO: Updated package version to "1.14.1~3" 2022-10-17 09:46:10 +02:00
5193ebc6ea ASIO: Example tests integration 2022-09-27 16:09:50 +04:00
57afa38f49 Bump asio/mdns/esp_websocket_client versions
Update components version afrer change d66f9dc158
2022-07-14 20:04:28 +04:00
d66f9dc158 ignore format warnings 2022-07-12 18:13:01 +04:00
3662c149fb asio: Fix exampels build 2022-07-11 18:01:46 +04:00
055f051f53 ASIO: Initial version based on IDF 5.0 with history 2022-06-24 15:33:10 +04:00
ac7bf465d2 asio: Disable concepts support
Fix example for compatibility with C++20

* Original commit: espressif/esp-idf@9dba0476a0
* Original commit: espressif/esp-idf@157247f98f
2022-06-22 17:58:30 +04:00
057a5d2db8 lwip: Update socket API to include port-version of sockets/netdb
Added socket extention to the lwip hooks for implementing non-vanilla
{get/set}sockopts()


* Original commit: espressif/esp-idf@53c009e626
2022-06-22 14:18:18 +04:00
63bff632df esp_netif/lwip: Implement basic support for vanilla-lwip (2.1.3-REL)
* Reference lwip-2.1.3-REL vanilla lwip version
* Use inherent NETIF callbacks instead of dhcp/ipv6/autoip


* Original commit: espressif/esp-idf@5b471a1848
2022-06-22 14:18:18 +04:00
e3c4391246 mbedtls: Remove certs.c and certs.h from port directory
* Original commit: espressif/esp-idf@f31d8dd295
2022-06-22 14:18:18 +04:00
98138189c9 mbedtls-3 update:
1) Fix build issue in mbedtls
2) skip the public headers check in IDF
3)Update Kconfig Macros
4)Remove deprecated config options
5) Update the sha API according to new nomenclature
6) Update mbedtls_rsa_init usage
7) Include mbedtls/build_info.h instead of mbedtls/config.h
8) Dont include check_config.h
9) Add additional error message in esp_blufi_api.h


* Original commit: espressif/esp-idf@45122533e0
2022-06-22 14:18:18 +04:00
f605fdd632 asio: Use internal ssl context and engine impl
Implement asio-ssl layer with three classes in asio::ssl::mbedtls:
* context -- replaces SSL_CTX, used mainly as a container to options,
certs, keys
* engine -- replaces SSL, implements the actual mbedtls operations
* bio -- implements openssl BIO specifically tailered to mbedtls and
its asio usage

Further updates:
* asio: Used shared_ptr<> for bio pairs
* asio: Add error checks to mbedtls-bio
* asio: Address potential ssl-context ownership issue
* asio: Address potential bio-engine ownership issue


* Original commit: espressif/esp-idf@d823106aa6
2022-06-22 14:18:18 +04:00
abbc8d9c5a Build & config: Remove leftover files from the unsupported "make" build system
* Original commit: espressif/esp-idf@766aa57084
2022-06-22 14:18:18 +04:00
a0297743dd openssl: Add deprecation warning to ssl.h
OpenSSL component will be discontinued in ESP-IDF v5.x. The only official TLS API will be esp-tls
Add docs warning about deprecation in v5.x

Removed all examples demonstrating usage of openssl in IDF


* Original commit: espressif/esp-idf@cfc001870c
2022-06-22 14:18:18 +04:00
cc0f2b3cf0 asio coap: If LWIP IPV6 is disabled, automatically don't build asio & coap
- Removes need to manually exclude these components as shown at
  https://github.com/espressif/esp-idf/issues/3781#issuecomment-825742378

- Hide the config for these components if IPV6 is disabled

- The components are still included in the build, but with no source
  files


* Original commit: espressif/esp-idf@e305f29382
2022-06-22 14:18:17 +04:00
47d57a5b14 asio: update copyright notice
* Original commit: espressif/esp-idf@2d0895e9a9
2022-06-22 14:18:17 +04:00
622a360e97 Whitespace: Automated whitespace fixes (large commit)
Apply the pre-commit hook whitespace fixes to all files in the repo.

(Line endings, blank lines at end of file, trailing whitespace)


* Original commit: espressif/esp-idf@66fb5a29bb
2022-06-22 14:18:17 +04:00
4358c3ceab cmake: Apply cmakelint fixes
* Original commit: espressif/esp-idf@e82eac4354
2022-06-22 14:18:17 +04:00
c05558ba28 asio: option to use wolfSSL as TLS stack for ASIO
Plus other minor update, make openssl aware of current modes (SSL_set_mode)
Update coding style in examples and tests, including copyright notices


* Original commit: espressif/esp-idf@1c8171c3e8
2022-06-22 14:18:17 +04:00
dab12309e2 asio: Basic SSL/TLS support in asio port for ESP platform
This port employs IDF port of OpenSSL for most common features, others
are discouraged or not supported. The port also introduces several stubs
for OpenSSL functions which ASIO needs to get compiled and linked.

Upstream ASIO supports WolfSSL as SSL/TLS stack, as well, which is
another option for SSL support in ASIO on ESP platform.


* Original commit: espressif/esp-idf@9459c0dd43
2022-06-22 14:18:17 +04:00
919091766d asio: updated ASIO port to use latest asio and esp-idf features
closes https://github.com/espressif/esp-idf/issues/4296


* Original commit: espressif/esp-idf@13d603e486
2022-06-22 14:18:17 +04:00
9e83b1eb0e components: use new component registration api
* Original commit: espressif/esp-idf@9eccd7c082
2022-06-22 14:18:17 +04:00
3b49d1f559 Rename Kconfig options (root)
* Original commit: espressif/esp-idf@c5000c83d2
2022-06-22 14:18:17 +04:00
57672d5add cmake: make main a component again
* Original commit: espressif/esp-idf@d9939cedd9
2022-06-22 14:18:17 +04:00
142200c7ca Merge branch 'master' into feature/cmake
* Original commit: espressif/esp-idf@ff2404a272
2022-06-22 14:18:17 +04:00
5472d5c52f asio: initial idf port of asio library without ssl
* Original commit: espressif/esp-idf@1ef13c524c
2022-06-22 14:18:17 +04:00