diplfranzhoepfinger
d1129f3d19
esp_err_to_name (IDFGH-7793) ( #78 )
...
fix(esp-modem): Use err_to_name to log error message on error
2022-07-18 17:08:15 +02:00
David Cermak
36de9afe0c
feat(mdns): Define explicit dependencies on esp-wifi
2022-07-18 09:49:03 +02:00
david-cermak
0d5081b841
Merge pull request #81 from lcj446068124/bugfix/mdns_ipv6_convert_error
...
bugfix: mdns IPv6 address convert error (IDFGH-7772)
2022-07-15 08:13:06 +02:00
Alexey Lapshin
57afa38f49
Bump asio/mdns/esp_websocket_client versions
...
Update components version afrer change d66f9dc158
2022-07-14 20:04:28 +04:00
liuchangjian
238ee96783
bugfix: mdns IPv6 address convert error
...
In this fix, we manually convert esp_ip_addr_t to ip_addr_t.
2022-07-14 23:40:08 +08:00
david-cermak
10e6348e09
Merge pull request #85 from david-cermak/feature/modem_operator_name_add_act
...
feat(esp_modem): Add optional ACT to operator-name
2022-07-13 16:20:54 +02:00
David Cermak
a286634359
feat(esp_modem): Add optional ACT to operator-name
...
Closes https://github.com/espressif/esp-protocols/issues/80
2022-07-13 09:56:29 +02:00
david-cermak
371a32d4ae
Merge pull request #72 from david-cermak/bugfix/modem_c_api_pdp_ctx
...
fix(esp-modem): Add missing set_pdp_context() to C-API
2022-07-12 20:03:03 +02:00
Alexey Lapshin
d66f9dc158
ignore format warnings
2022-07-12 18:13:01 +04:00
David Cermak
4980ac85b7
fix(esp-modem): Add missing set_pdp_context() to C-API
2022-07-12 15:52:39 +02:00
Alexey Lapshin
e8145fcede
esp_modem: Ignore format warnings
2022-07-12 12:32:15 +04:00
david-cermak
9c3e24b6cf
Merge pull request #70 from david-cermak/bugfix/modem_ap2ppp_retry
...
fix(esp_modem): Update ap2ppp example to recover network on disconnection
2022-07-11 19:11:48 +02:00
Alexey Lapshin
0b102f6286
mdns: Fix test_app build
2022-07-11 20:39:56 +04:00
Alexey Lapshin
3662c149fb
asio: Fix exampels build
2022-07-11 18:01:46 +04:00
David Cermak
a243d7e878
fix(esp_modem): Update ap2ppp example to recover network on disconnection
...
Closes https://github.com/espressif/esp-protocols/issues/44
2022-07-01 13:52:49 +02:00
yuanjm
4cefcd3606
feat(websocket): Optimize memory size for websocket client init
2022-06-28 21:09:05 +08:00
david-cermak
9b403d477f
Merge pull request #64 from bbinet/custom-source-clk
...
Allow to customize uart source_clk (IDFGH-7659)
2022-06-24 16:24:00 +02:00
Bruno Binet
d723fb7a5a
Allow to customize uart source_clk
...
This is for example needed when using an external crystal to select
UART_SCLK_XTAL, which fixes uart comm issue when using PM with light
sleep enabled.
2022-06-24 14:44:15 +02:00
david-cermak
9905fe4cf6
Merge pull request #62 from gabsuren/asio_submodule_migration_with_history
...
ASIO: Initial version based on IDF 5.0 with history
2022-06-24 14:29:39 +02:00
gabsuren
055f051f53
ASIO: Initial version based on IDF 5.0 with history
2022-06-24 15:33:10 +04:00
Bruno Binet
0cf08fb676
Add "at" api for custom commands
2022-06-23 17:40:06 +02:00
gabsuren
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
David Cermak
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
David Cermak
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
Aditya Patwardhan
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
Aditya Patwardhan
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
David Cermak
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
Roland Dobai
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
David Cermak
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
Angus Gratton
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
Jan Brudný
47d57a5b14
asio: update copyright notice
...
* Original commit: espressif/esp-idf@2d0895e9a9
2022-06-22 14:18:17 +04:00
Angus Gratton
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
Angus Gratton
4358c3ceab
cmake: Apply cmakelint fixes
...
* Original commit: espressif/esp-idf@e82eac4354
2022-06-22 14:18:17 +04:00
David Cermak
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
David Cermak
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
David Cermak
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
Renz Christian Bagaporo
9e83b1eb0e
components: use new component registration api
...
* Original commit: espressif/esp-idf@9eccd7c082
2022-06-22 14:18:17 +04:00
Roland Dobai
3b49d1f559
Rename Kconfig options (root)
...
* Original commit: espressif/esp-idf@c5000c83d2
2022-06-22 14:18:17 +04:00
Renz Christian Bagaporo
57672d5add
cmake: make main a component again
...
* Original commit: espressif/esp-idf@d9939cedd9
2022-06-22 14:18:17 +04:00
Angus Gratton
142200c7ca
Merge branch 'master' into feature/cmake
...
* Original commit: espressif/esp-idf@ff2404a272
2022-06-22 14:18:17 +04:00
David Cermak
5472d5c52f
asio: initial idf port of asio library without ssl
...
* Original commit: espressif/esp-idf@1ef13c524c
2022-06-22 14:18:17 +04:00
david-cermak
84f18bddfb
Merge pull request #58 from gabsuren/feature/mdns_esp_dependency
...
mdns: Updated mDNS to explicitly use esp-eth dependency if needed
2022-06-21 18:09:46 +02:00
David Cermak
66e6d4cbf8
fix(esp_modem): Implement movable unique_buffer to bundle data, size, ptr
...
Also improves and fixes tests
2022-06-18 12:19:07 +02:00
gabsuren
4868689111
mdns: Updated mDNS to explicitely use esp-eth dependency if needed
...
* Original commit: espressif/esp-idf@5e19b9c951
2022-06-17 13:24:22 +04:00
David Cermak
f3ff98bb82
fix(exp_modem): DTE should own both command and data terminal
...
reworks to clear shared_ptr<> of both command and data terminals
and having DTE own it. When we swith to CMUX mode the ownership is transfered to CMux terminal
2022-06-11 21:33:51 +02:00
David Cermak
58a0b57e12
fix(esp_modem): Update CMUX example to use CMUX mode automatically
2022-06-11 21:29:25 +02:00
David Cermak
3fd4391c38
feat(esp_modem): Add CMUX mode to C-API
...
Closes https://github.com/espressif/esp-protocols/issues/41
2022-06-11 15:07:39 +02:00
David Cermak
a16aab6979
feat(esp_modem): Add support to CMUX exit
...
Closes https://github.com/espressif/esp-protocols/issues/37
2022-06-11 15:07:39 +02:00
David Cermak
1e0aefd72a
fix(esp-modem): Improve PPP exit sequence
...
* Implement retry mechanism if escape PPP mode failed
* Stop networking and checking for NO-CARRIER manually on PPP exit
Closes https://github.com/espressif/esp-protocols/issues/47
2022-06-11 15:07:39 +02:00
david-cermak
ebf122bd36
Merge pull request #53 from david-cermak/bugfix/cmux_2byte_len
...
esp_modem: Support 2 byte size packets
2022-06-10 15:26:31 +02:00