david-cermak
c0cf91e174
Merge pull request #968 from david-cermak/bump/eppp_v1.1.4
...
[eppp]: Bump -> v1.1.4
2025-12-08 11:41:32 +01:00
David Cermak
2535b3fefc
bump(eppp): 1.1.3 -> 1.1.4
...
1.1.4
Bug Fixes
- Fixed missing freertos deps (f1e35977 )
- Add optional mqtt dependency (911c2dbe )
2025-12-05 15:51:54 +01:00
David Cermak
ba0ef10038
fix(eppp): Fix CI to build for supported releases
...
Partially addresses https://github.com/espressif/esp-protocols/issues/949
2025-12-05 15:50:58 +01:00
David Cermak
f1e35977e5
fix(eppp): Fixed missing freertos deps
2025-12-05 12:54:37 +01:00
david-cermak
25735ead9c
Merge pull request #966 from david-cermak/ci/sock_utils_min_build
...
CI build fix (sock_utils & mbedtls-cxx)
2025-12-05 11:05:41 +01:00
David Cermak
bf9e955514
fix(common): Use component manager from esp-idf docker image
2025-12-05 10:38:58 +01:00
David Cermak
726c41f842
fix(sock_utils): Use minimal build for examples
2025-12-04 08:32:06 +01:00
david-cermak
c7de9251ed
Merge pull request #959 from david-cermak/fix/mdns_v1.10
...
[mdns]: v1.10: Fix to keep TXT/SRV in answers to queries
2025-12-03 12:43:28 +01:00
David Cermak
0f6235f13e
fix(mdns): Fix to keep TXT/SRV in answers to queries
...
unlike discoveries, where they need to stay in additional section
Quick fix of regression b7b8c5dbd7
2025-12-03 11:58:57 +01:00
David Cermak
6c2c2cd22b
fix(mdns): Create a test to check answer section for PTR/ANY
...
to differentiate between discoveries and actual queries
fix(mdns): Revert the fix to check if CI fails
2025-12-03 11:58:01 +01:00
david-cermak
9e0bcd4b08
Merge pull request #957 from david-cermak/bump/mosq_2.0.20_5
...
[mosq]: Bump 2.0.20~4 -> 2.0.20~5
2025-11-28 11:28:17 +01:00
david-cermak
07b1bcdc34
Merge pull request #776 from david-cermak/mdns/refactor
...
[mdns]: Refactor stage #1
2025-11-26 08:30:40 +01:00
David Cermak
f20a234f65
fix(mdns): Fix unused variable dcst warning for wifi-remote chips
...
Forward-port of 081eef88
2025-11-25 17:35:13 +01:00
David Cermak
63082b996d
feat(mdns): support null value for boolean txt records
...
Forward port of fa96de3bd
2025-11-25 17:34:44 +01:00
David Cermak
27d43277d2
fix(mdns): put srv/txt records in additional section for ptr queries
...
Forward port of b7b8c5db
2025-11-25 17:34:17 +01:00
David Cermak
4d8d25a345
fix(mdns): Host test to use hw_support include dir
...
Forward port of 8bba3a97
2025-11-25 17:32:59 +01:00
David Cermak
bed116d98b
feat(mdns): Refactor mdns library (stage #1 )
...
The MDNS component has been refactored from a single monolithic file mdns.c
into a set of focused modules with clear responsibilities.
This restructuring maintains the same functionality while improving code organization,
maintainability, and testability.
In the stage#2 we will focus on module based tests
In the stage#3 we will focus on small scale refators and optimizations
2025-11-25 17:30:27 +01:00
David Cermak
9ec006a3e4
bump(mosq): 2.0.20~4 -> 2.0.20~5
...
2.0.20~5
Features
- Add support for basic MQTT authentication (65b58aa0 )
Bug Fixes
- Add optional mqtt deps to examples (6f6110e3 )
- Update example to optionally use basic mqtt auth (38384852 )
- Fix unpwd-check wrap function (ba3377b2 )
- Fix the version check (9fbb6e6d )
2025-11-25 13:47:02 +01:00
david-cermak
245b5a2ffb
Merge pull request #956 from david-cermak/fix/modem_ping_in_examples
...
[modem]: Bump -> v2.0
2025-11-25 12:23:15 +01:00
David Cermak
b9ea0c31ce
bump(modem): 1.4.0 -> 2.0.0
...
2.0.0
Breaking changes
- inc headers for AT command definitions are no longer used directly, but pregenerated into *.h(pp) (Use generated AT command definitions for IDE navigation)
Features
- Add support for multiple connection in AT based example (2826287d )
- Add enhanced URC observer API (4889dd6f )
- Support esp-modem use without PPP (858f8570 , #851 )
- Modem simulator based on esp-at (e5787e3d )
Bug Fixes
- Update tests and examples to use modem-v2.0 (4aa0e4ba )
- Replace MQTT client with simple ping command (0ccaf2c0 )
- Replace MQTT client with simple ping command (9b2b1f68 )
- Update example to use optional mqtt deps (3141d6ca )
- Minor fixed in the test code (e772ce67 )
- Add missing set_echo() C wrapper (d1e67080 , #926 )
- Fix modem console dependencies (453be4cd )
- Address build issues (018ba58e )
- Fix driver dependency issue on v6.0 (67c682d9 )
- Fix CI build issues with IDFv6.0 (15140e04 )
- Add support for ESP-AT based tcp-client example (14d3cb6b )
- Use idf-build-apps for building target tests (e9d9b3a8 )
- Make MQTT public broker endpoint configurable (6d541194 )
- Fix URC handling in DTE data callback (93029946 )
- Use another public broker for examples and tests (fac2edbe )
- Fix incompatible iterator in std::search() in new gcc (ed0f6334 )
- Fix autodetect to support ACFC mode in PPP frames (8b328a69 , #801 )
- Fix get_network_registration_state() to accept two params (5f54d907 , #826 )
- Consume buffer after handled URC (6eceb28f )
- Use generated AT command definitions for IDE navigation (e2fa1110 , !BREAKING)
2025-11-24 15:57:10 +01:00
David Cermak
4aa0e4ba49
fix(modem): Update tests and examples to use modem-v2.0
2025-11-24 15:57:06 +01:00
David Cermak
c48c2ebe7e
fix(modem): Use current IDF releases for modem tests
2025-11-24 15:23:17 +01:00
David Cermak
0ccaf2c0bb
fix(modem): Replace MQTT client with simple ping command
2025-11-24 14:43:08 +01:00
david-cermak
ed569d8509
Merge pull request #954 from david-cermak/fix/mosq_mqtt_deps
...
[mosq]: Add optional mqtt deps to examples
2025-11-21 13:28:33 +01:00
David Cermak
9b2b1f680d
fix(modem): Replace MQTT client with simple ping command
2025-11-21 12:37:09 +01:00
david-cermak
370dfecc15
Merge pull request #933 from david-cermak/fix/modem_set_echo
...
fix(modem): Add missing set_echo() C wrapper
2025-11-20 13:12:17 +01:00
David Cermak
e50c5eb40e
fix(mosq): Update IDF version matrix in CI
...
publish-connect test moved from IDF -> esp-mqtt in v6.0
serverless example not supported on latest releases
2025-11-20 08:55:00 +01:00
David Cermak
6f6110e30e
fix(mosq): Add optional mqtt deps to examples
2025-11-20 08:33:01 +01:00
david-cermak
41f7157ffb
Merge pull request #951 from david-cermak/fix/asio_ci
...
[asio]: Fix CI target tests
2025-11-19 21:07:24 +01:00
David Cermak
858f67c280
fix(asio): Run target tests on virtual env
2025-11-19 13:40:43 +01:00
david-cermak
83ffeb0d12
Merge pull request #950 from david-cermak/fix/lws_remove_v6.0_support
...
[lws]: Remove lws support for IDF>=v6.0
2025-11-19 13:39:29 +01:00
david-cermak
6e99202a18
Merge pull request #948 from david-cermak/fix/ci_v6.0
...
Common fixes per v6.0/6.1 changes
2025-11-19 13:39:16 +01:00
david-cermak
fb5279ae88
Merge pull request #938 from david-cermak/feat/mosq_basic_auth
...
[mosq]: Add support for basic MQTT authentication
2025-11-19 13:39:05 +01:00
David Cermak
b70cc3fc09
fix(lws): Remove lws support for IDF>=v6.0
2025-11-19 11:57:57 +01:00
David Cermak
911c2dbe9f
fix(eppp): Add optional mqtt dependency
2025-11-19 10:41:34 +01:00
David Cermak
c620855d56
fix(sock_utils): Run target tests via py-venv
2025-11-19 10:40:04 +01:00
david-cermak
cccfdd9315
Merge pull request #946 from david-cermak/fix/examples_mqtt
...
Add optional mqtt deps to examples
2025-11-19 10:33:14 +01:00
David Cermak
ecc7258093
ci(examples): Fix examples CI to build/test on supported releases
...
Ignore "The smallest app partition is nearly full" unconditionally
as most stable releases produce this on most projects
2025-11-19 10:11:13 +01:00
David Cermak
0caea67542
fix(examples): Add optional return for low level netif input
...
Also fixes driver/uart-driver dependency
2025-11-19 08:33:36 +01:00
david-cermak
11a8567598
Merge pull request #884 from david-cermak/feat/modem_prepare_v2.0
...
[modem]: Prepare for v2.0 release
2025-11-18 18:03:25 +01:00
David Cermak
9b80a7ef7d
fix(example): Use eth-phy-generic on IDF>=5.4
2025-11-18 16:26:23 +01:00
David Cermak
12028ab250
fix(examples): Add optional mqtt deps to examples
2025-11-18 15:38:04 +01:00
David Cermak
68e299a357
docs(modem): Update docs and migration manual
...
Document the development mode
2025-11-18 15:28:05 +01:00
david-cermak
2681b9b3c6
Merge pull request #945 from david-cermak/fix/common_mqtt_deps
...
Add mqtt dependency to component's projects
2025-11-18 15:26:14 +01:00
david-cermak
782b7cd119
Merge pull request #849 from david-cermak/feat/modem_tcp_client_multi_conn
...
[modem]: tcp-client example to support multiple connections
2025-11-18 15:25:21 +01:00
David Cermak
3141d6cab5
fix(modem): Update example to use optional mqtt deps
2025-11-18 14:39:18 +01:00
David Cermak
7b8770e2fc
fix(console): Add explicit dependency on esp-mqtt if needed
2025-11-18 14:16:34 +01:00
David Cermak
6153c0002a
fix(console): Workaround ethernet-init IDF dependency
2025-11-18 14:16:34 +01:00
David Cermak
3d5e11b82f
fix(mqtt_cxx): Add explicit dependency on esp-mqtt if needed
2025-11-18 14:16:34 +01:00
David Cermak
eacc3a0aa8
fix(common): Use actual IDF releases for console ci
...
And ignore potential ethernet-init warnings when used with cmd_ifconfig
2025-11-18 14:15:30 +01:00
David Cermak
2826287d43
feat(modem): Add support for multiple connection in AT based example
2025-11-18 10:37:01 +01:00
david-cermak
3bfa00389d
Merge pull request #944 from david-cermak/bump/mdns_v1.9.1
...
[mdns]: Bump to `v1.9.1`
2025-11-18 10:36:46 +01:00
David Cermak
ace7fca8c6
bump(mdns): 1.9.0 -> 1.9.1
...
1.9.1
Bug Fixes
- Fix to use tagged AFL image + minor format fix (2b2f009a )
- Fix unused variable `dcst` warning for wifi-remote chips (081eef88 )
2025-11-14 17:20:28 +01:00
David Cermak
2b2f009a65
fix(mdns): Fix to use tagged AFL image + minor format fix
2025-11-14 17:19:55 +01:00
david-cermak
1444d575f0
Merge pull request #940 from vikramdattu/bugfix/mdns_unused_var_wifi_remote
...
fix(mdns): Fix unused variable `dcst` warning for wifi-remote chips (IDFGH-16787)
2025-11-14 17:18:30 +01:00
Vikram Dattu
081eef88cf
fix(mdns): Fix unused variable dcst warning for wifi-remote chips
...
- Cover WIFI_REMOTE as well for MDNS_ESP_WIFI_ENABLED macro
- localize `esp_netif_dhcp_status_t dcst;` declaration where used
2025-11-14 17:43:54 +05:30
david-cermak
8b0704eaf4
Merge pull request #883 from david-cermak/feat/modem_urc
...
[modem]: Enhanced URC handling
2025-11-14 12:52:03 +01:00
David Cermak
4889dd6fcb
feat(modem): Add enhanced URC observer API
2025-11-14 11:44:48 +01:00
david-cermak
134247d88f
Merge pull request #711 from david-cermak/fix/modem_ota_test
...
[modem]: Minor fixed in the test code
2025-11-14 11:36:36 +01:00
David Cermak
e772ce673d
fix(modem): Minor fixed in the test code
...
* Updated iperf commands
* Updated Github certificat
2025-11-14 10:27:29 +01:00
Suren Gabrielyan
3d4712b905
Merge pull request #941 from gabsuren/ws_bump_1.6.0
...
bump(websocket): 1.5.0 -> 1.6.0
2025-11-14 12:08:52 +04:00
surengab
67188fd7b4
bump(websocket): 1.5.0 -> 1.6.0
...
1.6.0
Features
- add WEBSOCKET_EVENT_HEADER_RECEIVED (#827 ) (18f0d028 , #715 )
- enhance example with docs, pytest setup, and standalone test server - Add comprehensive README with TOC and quick start - Add pytest setup and certificate generation scripts - Add standalone WebSocket test server with TLS support - Add troubleshooting and multiple testing approaches (cad527d2 )
- Add websocket HTTP redirect (ce1560ac )
Bug Fixes
- remove redundant timeout check in client task loop (1e83bee4 )
- fix PING timing - enable periodic PING during active traffic (7f424325 )
- Update linux build docs on required libs (e52a5757 )
- clean up component dependencies - Remove unused 'json', 'nvs_flash', 'esp_stubs', dependency from Linux build configuration - Add cJSON dependency to target example's idf_component.yml (d665e6f1 )
- fix relying on asprintf() to NULL strp on failure (54eb0027 )
- Update Remaining Websocket Echo Server (#893 ) (18faeb3d )
- avoid long stopping time when waiting to auto-reconnect (2432e41d )
- Update Websocket Echo Server (94bd5b07 )
Updated
- ci(common): Update test component dir for IDFv6.0 (18418c83 )
2025-11-13 16:55:20 +04:00
Suren Gabrielyan
4d7c6848b2
Merge pull request #935 from gabsuren/refactor/websocket_timeout_check_remove
...
fix(websocket): remove redundant timeout check in client task loop
2025-11-13 15:59:45 +04:00
surengab
1e83bee4fe
fix(websocket): remove redundant timeout check in client task loop
2025-11-12 22:00:55 +04:00
David Cermak
3838485229
fix(mosq): Update example to optionally use basic mqtt auth
2025-11-12 11:45:40 +01:00
David Cermak
ba3377b262
fix(mosq): Fix unpwd-check wrap function
2025-11-12 11:44:55 +01:00
David Cermak
e5bed394ee
fix(ci): Run mosquitto tests on py-venv3.12
2025-11-10 11:55:29 +01:00
David Cermak
65b58aa05a
feat(mosq): Add support for basic MQTT authentication
2025-11-10 09:19:23 +01:00
David Cermak
d1e6708063
fix(modem): Add missing set_echo() C wrapper
...
Closes https://github.com/espressif/esp-protocols/issues/926
2025-11-05 12:57:04 +01:00
Suren Gabrielyan
318bca1657
Merge pull request #930 from gabsuren/fix/ping_unreset
...
fix(websocket): fix PING timing - enable periodic PING during active traffic (IDFGH-16701)
2025-11-05 10:49:06 +04:00
david-cermak
9e1b9cdd20
Merge pull request #929 from david-cermak/bump/mdns_v1.9
...
[mdns]: Bump version to `v1.9`
2025-11-03 12:09:42 +01:00
surengab
7f424325d8
fix(websocket): fix PING timing - enable periodic PING during active traffic
2025-11-03 14:03:30 +04:00
David Cermak
9ef228f247
bump(mdns): 1.8.2 -> 1.9.0
...
1.9.0
Features
- support null value for boolean txt records (fa96de3b )
Bug Fixes
- Add test case for bool/NULL txt handling (5068f221 )
- Temporary fix for build issues on IDF master (0197c994 )
- Add tests for delegated answers (487a746d )
- Add fuzzing into mdns CI (af6bb1b5 )
- Host test to use hw_support include dir (8bba3a97 )
- Fixes case where we create our own malloc/free allocators, therefore we need to call mdns_mem_free and not free (63bf7091 )
- put srv/txt records in additional section for ptr queries (b7b8c5db )
Updated
- ci(common): Update test component dir for IDFv6.0 (18418c83 )
2025-11-03 08:12:38 +01:00
David Cermak
5068f2217e
fix(mdns): Add test case for bool/NULL txt handling
2025-11-03 08:11:41 +01:00
david-cermak
1ceb42c5a2
Merge pull request #928 from david-cermak/fix/websocket_linux_docs
...
fix(websocket): Update linux build docs on required libs
2025-10-31 08:22:58 +01:00
Alexander Salas Bastidas
e52a5757f1
fix(websocket): Update linux build docs on required libs
...
ESP-IDF linux target expects libbsd headers
Updated instructions for compiling the example on Linux to include the correct path for the executable.
2025-10-30 19:41:31 +01:00
Suren Gabrielyan
732cd29ec0
Merge pull request #925 from gabsuren/ci/fix_json_dependancy
...
fix(websocket): resolve JSON dependency issues for component and exam…
2025-10-29 20:26:42 +04:00
david-cermak
7a203cf085
Merge pull request #921 from david-cermak/bump/console_ping
...
bump(console): 1.1.0 -> 1.2.0
2025-10-29 17:04:32 +01:00
surengab
d665e6f18e
fix(websocket): clean up component dependencies
...
- Remove unused 'json', 'nvs_flash', 'esp_stubs', dependency from Linux build configuration
- Add cJSON dependency to target example's idf_component.yml
2025-10-29 19:19:02 +04:00
David Cermak
2e269640c6
bump(console): 1.1.0 -> 1.2.0
...
1.2.0
Features
- Add support for interface argument (90ddb04e )
2025-10-27 14:34:59 +01:00
david-cermak
c078c36361
Merge pull request #886 from david-cermak/feat/console_ping_interface
...
[console_ping]: Add support for interface argument
2025-10-24 15:17:14 +02:00
David Cermak
90ddb04e53
feat(console_ping): Add support for interface argument
2025-10-24 15:12:05 +02:00
david-cermak
cee3bdea9d
Merge pull request #822 from tanyanquan/feat/support_null_value_txt
...
feat(mdns): support null value for boolean txt records
2025-10-24 14:05:47 +02:00
Tan Yan Quan
fa96de3bd7
feat(mdns): support null value for boolean txt records
2025-10-24 16:12:10 +08:00
bryghtlabs-richard
18f0d02806
feat(websocket): add WEBSOCKET_EVENT_HEADER_RECEIVED ( #827 )
...
Send a new event for each HTTP header-line received.
Depends on https://github.com/espressif/esp-idf/pull/16119
Closes https://github.com/espressif/esp-protocols/issues/715
2025-10-22 18:25:31 -03:00
david-cermak
bfa604b5f6
Merge pull request #904 from david-cermak/feat/add_tests_v1.9
...
[mdns]: Add tests for recent feats/fixes
2025-10-22 11:07:59 +02:00
David Cermak
92a31187ff
fix(ci): Use python venv for mdns target tests
2025-10-21 17:16:21 +02:00
David Cermak
0197c994ee
fix(mdns): Temporary fix for build issues on IDF master
2025-10-21 17:11:46 +02:00
David Cermak
487a746d14
fix(mdns): Add tests for delegated answers
2025-10-21 17:11:46 +02:00
David Cermak
af6bb1b5ee
fix(mdns): Add fuzzing into mdns CI
2025-10-21 17:11:46 +02:00
Suren Gabrielyan
f5e62e83e9
Merge pull request #902 from gabsuren/docs/readme_update
...
[examples]: enhance example with docs, pytest setup, and standalone test server(IDFGH-16585)
2025-10-21 13:07:38 +04:00
surengab
cad527d2fc
feat(examples): enhance example with docs, pytest setup, and standalone test server
...
- Add comprehensive README with TOC and quick start
- Add pytest setup and certificate generation scripts
- Add standalone WebSocket test server with TLS support
- Add troubleshooting and multiple testing approaches
2025-10-21 12:17:00 +04:00
david-cermak
16cc2dcffb
Merge pull request #914 from david-cermak/fix/modem_forwardport_patch
...
[modem]: Forward-port 1.4.1 patches
2025-10-21 07:14:47 +02:00
david-cermak
d622e41a54
Merge pull request #915 from david-cermak/fix/target_tests
...
[websockets]: Fix target tests
2025-10-21 07:14:28 +02:00
glmfe
ca6e39aac7
ci(common): Ignore ethernet warning.
2025-10-20 16:27:57 +02:00
David Cermak
e45944e143
fix(websocket): Use venv for running target tests
2025-10-20 16:27:22 +02:00
David Cermak
fe657b9737
fix(modem): Ignore more build warnings
2025-10-20 09:35:00 +02:00
David Cermak
453be4cd79
fix(modem): Fix modem console dependencies
2025-10-20 09:34:15 +02:00
David Cermak
018ba58ec5
fix(modem): Address build issues
2025-10-20 09:30:47 +02:00
David Cermak
67c682d911
fix(modem): Fix driver dependency issue on v6.0
2025-10-20 09:30:41 +02:00
Suren Gabrielyan
91915ce1c7
Merge pull request #901 from bryghtlabs-richard/fix/websocket-asprintf-ret-checks
...
fix(websocket): fix relying on asprintf() to NULL strp on failure (IDFGH-16595)
2025-10-15 14:27:56 +04:00
david-cermak
ae052e5507
Merge pull request #905 from david-cermak/fix/eppp_netif_rx_err
...
[eppp]: Fix tun netif to (optionally) return errors
2025-10-09 14:03:03 +02:00
David Cermak
44524f5de0
bump(eppp): 1.1.2 -> 1.1.3
...
1.1.3
Bug Fixes
- Fix test dependency issue on driver (1ace92c2 )
- Fix tun netif to (optionally) return errors (7a6cf0f9 )
2025-10-09 13:04:46 +02:00
David Cermak
1ace92c279
fix(eppp): Fix test dependency issue on driver
2025-10-09 13:03:06 +02:00
David Cermak
7a6cf0f9c0
fix(eppp): Fix tun netif to (optionally) return errors
2025-10-08 16:20:18 +02:00
Richard Allen
54eb002758
fix(websocket): fix relying on asprintf() to NULL strp on failure
...
asprintf()'s return value:
When successful, these functions return the number of bytes
printed, just like sprintf(3). On error, -1 is returned, errno is
set to indicate the error, and the contents of strp are undefined.
Fixes the following:
error: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
2025-10-03 08:44:00 -05:00
Guilherme Alves Ferreira
318e41b3c3
fix(lws): Update websocket Echo server ( #894 )
...
* fix(lws): Update websocket Echo server
- Update Websocket Echo Server, "wss://echo.websocket.events" is no longer available.
2025-10-03 06:17:11 -03:00
david-cermak
6f6237a0cc
Merge pull request #813 from tanyanquan/master
...
fix(mdns): put srv/txt records in additional section for ptr queries
2025-10-01 13:59:03 +02:00
Guilherme Alves Ferreira
18faeb3dfa
fix(websocket): Update Remaining Websocket Echo Server ( #893 )
2025-10-01 07:52:42 -03:00
Guilherme Alves Ferreira
296123c14e
Merge pull request #896 from glmfe/fix/ignore-ci-build-warnings
...
ci(common): Ignore deprecated idf-build-apps parameters
2025-09-30 10:50:22 -03:00
glmfe
4e178f06bd
ci(common): Ignore deprecated idf-build-apps parameters
...
- Added deprecated flash, sign and extract_public_key to global warning list file
2025-09-29 08:21:50 -03:00
Guilherme Alves Ferreira
5ab7e8327e
Merge pull request #729 from DazeTechnology/fix/websocket_long_stop
...
fix(websocket): avoid long stop time when waiting to auto-reconnect (IDFGH-14393)
2025-09-25 10:12:39 -03:00
Paolo Pasinetti
91e7e9fa08
chore(lws): fixed formatting
2025-09-19 15:42:33 +02:00
Paolo Pasinetti
ff5d6021be
chore(asio): Fixed formatting
2025-09-19 15:42:33 +02:00
Paolo Pasinetti
2432e41dcb
fix(websocket): avoid long stopping time when waiting to auto-reconnect
...
This commit fixes an issue that occurred when auto-reconnection is enabled,
and the client is disconnected from the server. In this situation, if the
esp_websocket_client_stop() method is called, the caller could remain stuck
waiting for a maximum time equal to half of wait_timeout_ms.
This fix allows the esp_websocket_client_task to be woken up when it is
waiting to reconnect, so it can be closed promptly when requested.
2025-09-19 15:42:33 +02:00
Guilherme Alves Ferreira
870ac91db7
Merge pull request #890 from glmfe/fix/update-ws-echo-server
...
fix(websocket): Update Websocket Echo Server
2025-09-19 08:35:01 -03:00
glmfe
94bd5b074a
fix(websocket): Update Websocket Echo Server
2025-09-19 07:44:12 -03:00
david-cermak
db7baaffba
Merge pull request #887 from david-cermak/fix/eppp_uart_deps
...
[eppp]: Fix uart driver deps with new IDF
2025-09-15 13:41:53 +02:00
David Cermak
1ea93a866b
bump(eppp): 1.1.1 -> 1.1.2
...
1.1.2
Bug Fixes
- Update uart driver deps per IDF > v5.3 (92e14607 )
2025-09-15 12:55:14 +02:00
David Cermak
92e1460721
fix(eppp): Update uart driver deps per IDF > v5.3
2025-09-15 12:55:08 +02:00
david-cermak
858d38b55f
Merge pull request #885 from david-cermak/fix/eppp_uart_channels
...
[eppp]: Fix getting context for channel API
2025-09-09 17:03:00 +02:00
David Cermak
6428e68c8e
bump(eppp): 1.1.0 -> 1.1.1
...
1.1.1
Bug Fixes
- Fix getting context for channel API (94563cdc )
- Cover more combinations in build tests (e0b8de8f )
2025-09-09 16:18:11 +02:00
David Cermak
94563cdc1f
fix(eppp): Fix getting context for channel API
2025-09-09 13:42:18 +02:00
David Cermak
e0b8de8f38
fix(eppp): Cover more combinations in build tests
2025-09-09 13:42:18 +02:00
Guilherme Alves Ferreira
34b6681576
Merge pull request #771 from glmfe/feat/add-http-redir
...
feat(websocket): Add websocket HTTP redirect
2025-09-03 12:31:20 -03:00
david-cermak
1f7828f629
Merge pull request #875 from david-cermak/update/eppp_v1.1
...
[eppp]: Bump 1.0.1 -> 1.1.0
2025-09-03 16:03:05 +02:00
david-cermak
e74db36ebb
Merge pull request #881 from david-cermak/fix/minor_ci_fixes
...
Fixup common CI issues with v6.0 idf-tools
2025-09-03 13:16:49 +02:00
David Cermak
f8d2ed2eed
fix(tls_cxx): Remove unnnecessary warning ignore
2025-09-03 12:07:21 +02:00
David Cermak
8bba3a9734
fix(mdns): Host test to use hw_support include dir
2025-09-03 11:37:47 +02:00
David Cermak
9fbb6e6d0a
fix(mosq): Fix the version check
2025-09-03 10:20:53 +02:00
David Cermak
e599cd826b
fix(common): Fixup common CI issues with v6.0
2025-09-03 10:06:13 +02:00
david-cermak
e2d36b4fbd
Merge pull request #879 from david-cermak/fix/modem_sim_napt
...
[modem_sim]: Enable LWIP-NAPT by default in modem simulator
2025-09-03 09:27:41 +02:00
david-cermak
82a784baf4
Merge pull request #880 from david-cermak/fix/modem_ci
...
[modem]: Fix recent CI issues
2025-09-02 18:01:05 +02:00
David Cermak
15140e04c6
fix(modem): Fix CI build issues with IDFv6.0
...
* Fix C++ console struct init in examples
* VFS deprecation in tests
* Add conditional defines over wakeup-cause
2025-09-02 15:47:00 +02:00
glmfe
ce1560acb1
feat(websocket): Add websocket HTTP redirect
...
- Handle 301 status (moved permanently) and redirect the connection to the new host.
2025-09-02 09:52:20 -03:00
David Cermak
e1be830fb7
fix(modem_sim): Enable LWIP-NAPT by default in modem simulator
...
As this mode is used by PPP clients
2025-09-01 18:47:47 +02:00
david-cermak
b7cfa31a0b
Merge pull request #878 from david-cermak/bump/mosq_2.0.20.4
...
bump(mosq): 2.0.20~3 -> 2.0.20~4
2025-09-01 11:54:20 +02:00
David Cermak
845a1e2ef8
fix(mosq): Skip serverless example build on master
...
Due to esp-peer's long list dependencies, which are usually based
from stable IDF releases
2025-09-01 10:08:11 +02:00
David Cermak
6ae7a4d2ba
bump(mosq): 2.0.20~3 -> 2.0.20~4
...
2.0.20~4
Features
- Update brokerless example to work with esp-peer (76e45f72 )
Bug Fixes
- drop newlib from PRIV_REQUIRES (6318022c )
- Make esp-peer build optional (03df9ae9 )
- Fix esp_webRTC deprecation with new FreeRTOS (78ae2559 )
2025-09-01 09:55:34 +02:00
david-cermak
4d52982a69
Merge pull request #876 from Lapshin/master
...
fix: drop newlib from PRIV_REQUIRES
2025-09-01 09:27:09 +02:00
Alexey Lapshin
6318022cda
fix: drop newlib from PRIV_REQUIRES
2025-08-28 16:18:22 +07:00
David Cermak
13591ade3d
bump(eppp): 1.0.1 -> 1.1.0
...
1.1.0
Features
- Add support for UART flow control (cd57f1bb , #870 )
Bug Fixes
- Fix SPI transport to allow already init GPIO ISR (497ee2d6 , #868 )
- Fix stack-overflow in ping task for TUN netif (b2568a3d , #867 )
Updated
- ci(common): Update test component dir for IDFv6.0 (18418c83 )
2025-08-27 15:11:15 +02:00
david-cermak
d09b302b9e
Merge pull request #872 from david-cermak/fix/eppp_minor_fixes
...
[eppp]: Minor fixes v1.0
2025-08-27 08:57:25 +02:00
david-cermak
39e2333adb
Merge pull request #871 from david-cermak/fix/modem_sim_docs
...
[modem_sim]: Add initial modem simulator docs
2025-08-26 11:00:46 +02:00
David Cermak
cd57f1bb13
feat(eppp): Add support for UART flow control
...
Closes https://github.com/espressif/esp-protocols/issues/870
2025-08-25 16:30:57 +02:00
David Cermak
497ee2d6d4
fix(eppp): Fix SPI transport to allow already init GPIO ISR
...
Closes https://github.com/espressif/esp-protocols/issues/868
2025-08-25 15:23:07 +02:00
David Cermak
b2568a3d83
fix(eppp): Fix stack-overflow in ping task for TUN netif
...
Closes https://github.com/espressif/esp-protocols/issues/867
2025-08-25 14:51:59 +02:00
david-cermak
58a21e39d0
Merge pull request #837 from david-cermak/feat/modem_tcp_client_extend
...
[modem]: Extend tcp-client example
2025-08-25 08:53:51 +02:00
David Cermak
9c7ee07755
feat(modem_sim): Add initial modem simulator docs
2025-08-25 08:52:48 +02:00
David Cermak
14d3cb6bd1
fix(modem): Add support for ESP-AT based tcp-client example
2025-08-25 06:38:57 +02:00
david-cermak
ccdb45ee94
Merge pull request #869 from david-cermak/fix/test_build_v6.0
...
fix(CI): Fix test component dir after IDFv6.0 update
2025-08-22 15:01:59 +02:00
David Cermak
18418c83ff
ci(common): Update test component dir for IDFv6.0
...
Update websocket, mdns and eppp test apps
2025-08-22 14:23:43 +02:00
david-cermak
ecb7dae502
Merge pull request #863 from david-cermak/feat/modem_without_ppp
...
[modem]: Support esp-modem use without PPP
2025-08-21 12:46:29 +02:00
david-cermak
958ff6a584
Merge pull request #866 from david-cermak/fix/modem_sim
...
[modem_sim]: ESP-AT build failure on v5.4
2025-08-18 17:12:53 +02:00
David Cermak
5ea83be7ce
fix(modem_sim): Fix build step
2025-08-18 16:35:07 +02:00
david-cermak
33a3ec54b6
Merge pull request #865 from david-cermak/fix/eppp_ipv4_only
...
[eppp]: Support for IPv4-only mode
2025-08-18 12:03:07 +02:00
David Cermak
c91578c827
bump(eppp): 1.0.0 -> 1.0.1
...
1.0.1
Bug Fixes
- Support for IPv4-only mode (653328ba , #864 )
2025-08-18 11:09:33 +02:00
David Cermak
653328ba07
fix(eppp): Support for IPv4-only mode
...
Closes https://github.com/espressif/esp-protocols/issues/864
2025-08-18 11:03:17 +02:00
David Cermak
858f85706d
feat(modem): Support esp-modem use without PPP
...
Closes https://github.com/espressif/esp-protocols/issues/851
2025-08-14 17:29:50 +02:00
david-cermak
f8748e026d
Merge pull request #862 from david-cermak/fix/mbedtls_cookie
...
fix(mbedtls_cxx): Enable mbedtls cookie support
2025-08-13 12:41:48 +02:00
David Cermak
479122b21d
fix(mbedtls_cxx): Enable mbedtls cookie support
2025-08-13 12:05:14 +02:00
david-cermak
e8ce8f4739
Merge pull request #861 from david-cermak/fix/minor_links
...
fix(ci): Use default mqtt public endpoint
2025-08-12 16:23:12 +02:00
David Cermak
03df9ae957
fix(mosq): Make esp-peer build optional
2025-08-12 16:07:02 +02:00
David Cermak
35fa0b1d42
ci(common): Fix the link to CONTRIBUTING guidelines
2025-08-12 14:29:08 +02:00
David Cermak
e9d9b3a8bd
fix(modem): Use idf-build-apps for building target tests
...
Also updates default mqtt broker public endpoint
2025-08-12 14:29:03 +02:00
Euripedes
07e8eddcb6
Merge pull request #856 from david-cermak/fix/mosquitto_build
...
[mosq]: Fix esp_webRTC-lib deprecation with new FreeRTOS
2025-07-29 08:06:05 +02:00
David Cermak
78ae25598b
fix(mosq): Fix esp_webRTC deprecation with new FreeRTOS
2025-07-25 18:55:59 +02:00
david-cermak
ffeee3e87a
Merge pull request #852 from david-cermak/fix/mqtt_endpoints
...
fix(examples): Address MQTT public endpoint availability
2025-07-25 16:04:24 +02:00
David Cermak
6d5411941b
fix(modem): Make MQTT public broker endpoint configurable
2025-07-25 11:02:36 +02:00
David Cermak
e71365f835
fix(examples): Use configured public broker for MQTT linux test
...
Also updated pre-commit hook versions, as some don't work in py3.12
2025-07-25 11:01:53 +02:00
david-cermak
8dbf0e4561
Merge pull request #855 from cosmicKev/mdns-fix-custom-allocator
...
Fixes case where we create our own malloc/free allocators, therefore … (IDFGH-16053)
2025-07-25 07:48:09 +02:00
kevin filipe
63bf70914b
fix(mdns): Fixes case where we create our own malloc/free allocators, therefore we need to call mdns_mem_free and not free
2025-07-24 13:21:55 +02:00
Guilherme Alves Ferreira
29f1dec408
Merge pull request #854 from glmfe/master
...
bump(websocket): 1.4.0 -> 1.5.0
2025-07-23 08:45:59 -03:00
glmfe
05715d80d7
bump(websocket): 1.4.0 -> 1.5.0
...
1.5.0
Features
- add separate tx lock for send and receive (250eebf )
- add unregister event to websocket client (ce16050 )
- add ability to reconnect after close (19891d8 )
Bug Fixes
- release client-lock during WEBSOCKET_EVENT_DATA (030cb75 )
2025-07-22 17:54:02 -03:00
Guilherme Alves Ferreira
75d6845194
Merge pull request #850 from shootao/feat/add_ws_tx_lock
...
esp_websocket: add_ws_tx_lock (IDFGH-15952)
2025-07-21 08:08:13 -03:00
xutao
250eebf3fc
feat(websocket): add separate tx lock for send and receive
2025-07-21 10:46:55 +08:00
david-cermak
84b61dca16
Merge pull request #840 from david-cermak/feat/mosq_esp_peer
...
[mosq]: Add support for esp-peer in brokerless example
2025-07-18 13:13:27 +02:00
David Cermak
76e45f7254
feat(mosq): Update brokerless example to work with esp-peer
...
* Relax CI criteria to build on v5.2+ (for the brokerless due to
esp-peer dependency)
2025-07-18 12:49:34 +02:00
Euripedes
462561b8d9
Merge pull request #843 from david-cermak/fix/example_mqtt
...
[examples]: Use another public broker for MQTT example
2025-07-15 08:44:34 +02:00
David Cermak
ae8cf218c8
fix(examples): Use another public broker for MQTT example
2025-07-11 19:00:28 +02:00
david-cermak
c340f85a90
Merge pull request #836 from david-cermak/fix/modem_urc
...
[modem]: Fix URC handler processing
2025-07-11 18:14:08 +02:00
David Cermak
b95d8be41d
fix(modem_sim): Support of PPPD exit
2025-07-11 17:37:51 +02:00
David Cermak
9302994673
fix(modem): Fix URC handling in DTE data callback
...
This partially revert 6eceb28f7d
and fixes URC handling and passing full buffer to higher layers
2025-07-11 11:01:28 +02:00
David Cermak
e5787e3d9f
feat(modem_sim): Modem simulator based on esp-at
2025-07-11 11:01:17 +02:00
david-cermak
7cddc8c6f5
Merge pull request #834 from david-cermak/fix/modem_build_new_gcc
...
[modem]: Fix to use compatible iterator types for std::search in new gcc
2025-07-11 09:29:00 +02:00
David Cermak
fac2edbe59
fix(modem): Use another public broker for examples and tests
...
since mqtt.eclipseprojects.io is no longer available
2025-07-11 08:16:17 +02:00
David Cermak
ed0f633418
fix(modem): Fix incompatible iterator in std::search() in new gcc
...
Creates a temporary string view and uses find() instead.
2025-07-11 08:15:53 +02:00
david-cermak
a8631eecf5
Merge pull request #814 from david-cermak/feat/eppp_channels
...
[eppp-link]: Support for channels
2025-07-10 14:45:29 +02:00
David Cermak
3e28a7264c
bump(eppp): 0.3.1 -> 1.0.0
...
1.0.0
Features
- Add support for custom channels (4ee9360f )
2025-07-10 13:57:13 +02:00
David Cermak
4ee9360f53
feat(eppp): Add support for custom channels
2025-07-10 13:55:46 +02:00
david-cermak
e9b21ea7a3
Merge pull request #833 from david-cermak/fix/mosq_minor
...
[mosq]: Fix some recent bugs
2025-07-01 12:41:01 +02:00
David Cermak
ac1b2b7573
bump(mosq): 2.0.20~2 -> 2.0.20~3
...
2.0.20~3
Bug Fixes
- Support build on older IDF branches (13b90ad1 )
- Fix misleading error when accepting connection (fd410061 , #807 )
- Make mosquitto component c++ compatible (c4169765 , #817 )
- include config.h before any system header (1b1ede43 )
2025-07-01 12:20:45 +02:00
David Cermak
13b90ad14b
fix(mosq): Support build on older IDF branches
...
and added build jobs to CI
2025-07-01 12:18:08 +02:00
David Cermak
fd41006193
fix(mosq): Fix misleading error when accepting connection
...
Closes https://github.com/espressif/esp-protocols/issues/807
2025-07-01 11:31:32 +02:00
Euripedes
e71926f6ed
Merge pull request #752 from bryghtlabs-richard/feat/websocketReconnectOnClose
...
feat(websocket): add ability to reconnect after close (IDFGH-15455)
2025-06-27 14:31:16 +02:00
c4169765af
fix(mosq): Make mosquitto component c++ compatible
...
Closes https://github.com/espressif/esp-protocols/issues/817
Closes https://github.com/espressif/esp-protocols/issues/816
2025-06-27 12:36:16 +02:00
david-cermak
f43dd5012f
Merge pull request #829 from david-cermak/fix/modem_get_network_state
...
[modem]: Fix get_network_registration_state() to accept two params
2025-06-25 12:35:45 +02:00
david-cermak
b143894874
Merge pull request #821 from lolrobbe2/fix-urc-line-handler-modem
...
fix(modem): Consume buffer after handled URC
2025-06-24 10:22:45 +02:00
david-cermak
d1c912c833
Merge pull request #830 from david-cermak/fix/dns_http_event
...
[dns]: Fix http event handler to accept default case
2025-06-24 10:21:16 +02:00
David Cermak
4fbd86b278
fix(dns): Fix http event handler to accept default case
2025-06-24 09:52:38 +02:00
david-cermak
af8272d441
Merge pull request #825 from david-cermak/fix/modem_auto_mode
...
[modem]: Fix autodetect to support ACFC mode in PPP frames
2025-06-24 09:09:01 +02:00
David Cermak
8b328a6904
fix(modem): Fix autodetect to support ACFC mode in PPP frames
...
Closes https://github.com/espressif/esp-protocols/issues/801
2025-06-23 17:13:32 +02:00
David Cermak
5f54d9075e
fix(modem): Fix get_network_registration_state() to accept two params
...
Co-authored-by: Beernaert Robbe <robbe.beernaert@student.howest.be >
Closes https://github.com/espressif/esp-protocols/issues/826
2025-06-23 11:10:36 +02:00
david-cermak
01952f21cb
Merge pull request #824 from david-cermak/fix/mdns_host_test
...
[mdns]: Fix host tests by freezing idf-build-apps to 2.10
2025-06-17 12:43:25 +02:00
David Cermak
5dfe076c94
fix(mdns): Fix host tests by freezing idf-build-apps to 2.10
2025-06-12 17:47:24 +02:00
david-cermak
ea9f29ad14
Merge pull request #823 from david-cermak/fix/eppp_without_pppos
...
[eppp]: Fix NETIF_PPP_STATUS link issue if PPP disabled in lwip
2025-06-12 14:20:05 +02:00
David Cermak
217e6d90c8
bump(eppp): 0.3.0 -> 0.3.1
...
0.3.1
Bug Fixes
- Fix NETIF_PPP_STATUS link issue if PPP disabled in lwip (077ea0bb )
2025-06-12 13:53:42 +02:00
David Cermak
077ea0bb1f
fix(eppp): Fix NETIF_PPP_STATUS link issue if PPP disabled in lwip
2025-06-12 13:53:20 +02:00
david-cermak
a74b01e7e3
Merge pull request #812 from david-cermak/feat/eppp_transports
...
feat(eppp): Add support for TUN interface
2025-06-12 12:39:21 +02:00
David Cermak
c5a4a51d82
bump(eppp): 0.2.0 -> 0.3.0
...
0.3.0
Features
- Add support for TUN interface (2ff150c3 )
- Add support for transport via Ethernet link (a21ce883 )
2025-06-12 11:59:56 +02:00
David Cermak
2ff150c310
feat(eppp): Add support for TUN interface
...
* Implement factory pattern
* Make netif type configurable (PPP vs. TUN)
* Use ICMP for TUN netif connection
* Relax deps criteria (mainly for Ethernet)use the tun feature
2025-06-12 11:59:17 +02:00
robbedptechnics
6eceb28f7d
fix(modem): Consume buffer after handled URC
2025-06-11 14:50:14 +02:00
Tan Yan Quan
b7b8c5dbd7
fix(mdns): put srv/txt records in additional section for ptr queries
2025-05-08 19:09:52 +08:00
Euripedes
b8cdd373f4
Merge pull request #809 from david-cermak/fix/mqtt_cxx_clang_tidy_warns
...
fix(mqtt_cxx): Fix clang-tidy warnings with C++ exceptions
2025-05-06 14:29:57 +02:00
david-cermak
66a5ac0190
Merge pull request #808 from Lapshin/master
...
fix(mosq): include config.h before any system header (IDFGH-15223)
2025-05-02 10:26:41 +02:00
David Cermak
40cce5e926
fix(mqtt_cxx): Fix clang-tidy warnings with C++ exceptions
2025-05-02 10:18:40 +02:00
Alexey Lapshin
1b1ede435d
fix(mosq): include config.h before any system header
2025-05-01 23:58:53 +07:00
david-cermak
c6f08ee961
Merge pull request #622 from david-cermak/feat/eppp_emac2emac
...
[eppp]: Support for transport via Ethernet (phy or emac)
2025-04-30 12:32:48 +02:00
David Cermak
a21ce883ef
feat(eppp): Add support for transport via Ethernet link
2025-04-30 11:56:40 +02:00
david-cermak
79d6fa2607
Merge pull request #806 from david-cermak/fix/clang_tidy_disable_lws
...
fix(lws): Remove clang tidy checks
2025-04-29 14:30:26 +02:00
David Cermak
ad90558420
fix(lws): Remove clang tidy checks
...
Since lws hardcodes some flags in CMakeLists.txt, which causes compilation issues
with mbedtls, generated lws_config.h and -mlongcalls
2025-04-25 16:50:13 +02:00
Abhik Roy
8541753443
Merge pull request #781 from espressif-abhikroy/component/esp_dns
...
feat(common): Add ESP DNS module with support for UDP, DoT, and DoH protocols
2025-04-18 21:37:32 +10:00
Abhik Roy
6660f71d03
bump(dns): First version [1.0.0]
...
1.0.0
Features
- Add ESP DNS module with support for UDP, TCP, DoT, and DoH protocols (57cd6080 )
2025-04-16 22:03:33 +10:00
Abhik Roy
57cd60807e
feat(dns): Add ESP DNS module with support for UDP, TCP, DoT, and DoH protocols
...
This commit introduces a custom DNS module for ESP32, enabling DNS resolution capabilities
over various protocols including UDP, TCP, DNS over TLS (DoT), and DNS over HTTPS (DoH).
The module includes initialization and cleanup functionalities, along with
protocol-specific implementations for each DNS type.
2025-04-16 21:30:06 +10:00
david-cermak
03dd8006b2
Merge pull request #798 from david-cermak/fix/lws_clang_tidy
...
[lws]: Fix many file-not-found errors on clang-tidy job
2025-04-10 17:41:32 +02:00
Guilherme Alves Ferreira
3863c26b79
Merge pull request #704 from bryghtlabs-richard/fix/websocketWriterLag
...
fix(websocket): release client-lock during WEBSOCKET_EVENT_DATA (IDFGH-14545)
2025-04-10 12:16:31 -03:00
david-cermak
1d1ff365c2
Merge pull request #797 from david-cermak/fix/asio_certs
...
[asio]: Fixed TLS server-client example failure
2025-04-10 14:50:37 +02:00
David Cermak
ef3870573c
fix(lws): Fix many file-not-found errors on clang-tidy job
2025-04-10 12:49:46 +02:00
David Cermak
ad94cc9502
feat(asio): Add mbedtls specific APIs to use TLS stack specific features
...
Use mbedtls specific API to configure hostname for verification
2025-04-08 17:08:27 +02:00
David Cermak
4885d28294
fix(asio): Fixed TLS server-client example failure per cert expiry
2025-04-07 12:01:30 +02:00
david-cermak
df00a03084
Merge pull request #685 from david-cermak/fix/modem_generate_code
...
[modem]: Use pre-generated command declarations to improve IDE navigation
2025-04-04 16:25:27 +02:00
David Cermak
e2fa11103c
fix(modem): Use generated AT command definitions for IDE navigation
...
BREAKING CHANGE: inc headers for AT command definitions are no longer used directly, but pregenerated into *.h(pp)
2025-04-04 15:39:39 +02:00
david-cermak
d2e94e5db2
Merge pull request #609 from david-cermak/fix/example_multinetif
...
[examples]: Make multi-netif example working with DNS_PER_DEFAULT_NETIF
2025-04-02 07:54:49 +02:00
David Cermak
bc8ac4c684
fix(examples): Make multi-netif example working with DNS_PER_DEFAULT_NETIF feature
2025-04-01 12:39:37 +02:00
david-cermak
b710dbd2ad
Merge pull request #793 from david-cermak/fix/modem_bump
...
[modem]: Bump 1.3.0 -> 1.4.0
2025-03-28 14:57:48 +01:00
David Cermak
5eeb29cb94
bump(modem): 1.3.0 -> 1.4.0
...
1.4.0
Features
- added config_edrx api function (74b7d85d )
- added sqn_gm02s connect function (b97dfc08 )
- add support for sequans GM02S modem (8560f021 )
Bug Fixes
- Fix cmux log message (6ed672da )
- fixed minor code mistakes. (317faf89 )
- handle nullptr in DTE constructors to prevent invalid access (95b56600 )
2025-03-28 13:47:52 +01:00
david-cermak
a00117fbdb
Merge pull request #790 from david-cermak/fix/modem_cmux_log_pr
...
[modem]: Fix cmux log message
2025-03-28 08:51:37 +01:00
term-est
6ed672da7b
fix(modem): Fix cmux log message
2025-03-26 18:20:03 +01:00
david-cermak
1b4baaed0e
Merge pull request #786 from robbedptechnics/support-sqn-gm02s
...
feat(module): add support for sequans GM02S modem (DPTechnics) (IDFGH-14891)
2025-03-25 12:24:51 +01:00
robbedptechnics
74b7d85d4a
feat(modem): added config_edrx api function
2025-03-25 11:28:16 +01:00
robbedptechnics
317faf89ff
fix(modem): fixed minor code mistakes.
2025-03-25 11:27:14 +01:00
robbedptechnics
b97dfc08b8
feat(modem): added sqn_gm02s connect function
2025-03-25 11:25:07 +01:00
david-cermak
e9d7350219
Merge pull request #784 from david-cermak/fix/mdns_fuzz_issue
...
[mdns]: Fix parsing incorrect txt records
2025-03-21 13:11:28 +01:00
David Cermak
61da30b013
bump(mdns): 1.8.1 -> 1.8.2
...
1.8.2
Bug Fixes
- Fix parsing incorrect txt records (8fd2c99f )
2025-03-21 12:40:42 +01:00
David Cermak
8fd2c99f15
fix(mdns): Fix parsing incorrect txt records
...
Issue discovered when fuzzing packet parser,
received packet with inconsistent txt section caused issues on final cleanup
2025-03-21 12:40:12 +01:00
robbedptechnics
8560f02191
feat(module): add support for sequans GM02S modem
2025-03-19 14:45:32 +01:00
david-cermak
703c49297f
Merge pull request #785 from david-cermak/fix/mosq_test
...
[mosq]: Fix pytest to use latest embedded packages
2025-03-19 10:25:00 +01:00
David Cermak
2fe8345fa5
fix(mosq): Fix pytest to use latest embedded packages
2025-03-19 08:49:22 +01:00
david-cermak
3fc26a5e5c
Merge pull request #780 from david-cermak/fix/mdns_task_delete_race
...
[mdns]: Fix potential task delete race
2025-03-17 11:31:00 +01:00
David Cermak
5db6be7422
bump(mdns): 1.8.0 -> 1.8.1
...
1.8.1
Bug Fixes
- Fix potential task delete race (8ca45f34 )
2025-03-17 10:51:14 +01:00
David Cermak
8ca45f34fa
fix(mdns): Fix potential task delete race
...
Need to wait for the task to be deleted before destroy its stack
2025-03-17 10:51:02 +01:00
Euripedes
2e28774228
Merge pull request #775 from euripedesrocha/feature/mosquitto_plugin
...
Add config to enable SYS on mosquito and bump version
2025-03-06 14:48:20 -03:00
Euripedes Rocha
e14e21ab32
bump(mosq): 2.0.20~1 -> 2.0.20~2
...
##
[2.0.20~2](https://github.com/espressif/esp-protocols/commits/mosq-v2.0.20_2 )###
Features- Allow user to enable SYS topic
([905b84fb ](https://github.com/espressif/esp-protocols/commit/905b84fb ))###
Bug Fixes- Remove temp modification of IDF files
([9162de11 ](https://github.com/espressif/esp-protocols/commit/9162de11 ))-
Add a note about stack size
([dbd164dd ](https://github.com/espressif/esp-protocols/commit/dbd164dd ))
2025-03-06 11:14:26 +01:00
david-cermak
6f00c369fc
Merge pull request #774 from david-cermak/ci/fix_deprecated_containers
...
ci(common): Remove deprecated CI runners on ubuntu-20.04
2025-03-05 15:52:35 +01:00
Euripedes Rocha
905b84fb97
feat(mosq): Allow user to enable SYS topic
...
Mosquitto provides several topics under $SYS/# to capture logs and load
statistics. This allows users to enable it.
2025-03-05 15:03:59 +01:00
David Cermak
d7f5322a39
ci(common): Remove deprecated CI runners on ubuntu-20.04
2025-03-04 16:11:51 +01:00
david-cermak
eb12d05bf3
Merge pull request #773 from david-cermak/fix/mdns_add_version_macro
...
[mdns]: Bump 1.7.0 -> 1.8.0
2025-03-04 15:59:54 +01:00
David Cermak
520b8194fc
fix(common): Fix clang-tidy runner to use supported versions
2025-03-04 15:29:38 +01:00
David Cermak
40142cdcfd
bump(mdns): 1.7.0 -> 1.8.0
...
1.8.0
Features
- Add version keys (e01e67e7 )
Bug Fixes
- Reformat mdns sources per indent-cont=120 (c7663cde )
2025-03-04 15:20:49 +01:00
David Cermak
c7663cdef2
fix(mdns): Reformat mdns sources per indent-cont=120
2025-02-27 10:42:03 +01:00
Adrian Scillato
e01e67e7eb
feat(mdns): Add version keys
2025-02-27 10:33:53 +01:00
david-cermak
37f84ee5a4
Merge pull request #768 from deodatomatheus/fix/handle-nullptr-dte-constructors
...
fix(modem): handle nullptr in DTE constructors to prevent invalid access (IDFGH-14688)
2025-02-27 09:19:16 +01:00
Matheus Deodato
95b56600ed
fix(modem): handle nullptr in DTE constructors to prevent invalid access
2025-02-26 11:37:02 -03:00
david-cermak
a22c3da49e
Merge pull request #762 from david-cermak/fix/examples_target_tests
...
[examples]: Test the SLIP netif example on target as well
2025-02-20 14:32:54 +01:00
david-cermak
5d0fd5c1c5
Merge pull request #770 from david-cermak/fix/lws_license
...
[lws]: Adds missing license info
2025-02-20 14:17:47 +01:00
David Cermak
7ea6879a19
fix(lws): Adds missing license info
2025-02-20 12:34:40 +01:00
David Cermak
2db11bbb8c
fix(examples): Fix SLIP netif example to make esp_netif use special netif
...
by enabling PPP netif, so esp_netif knows that lwip's netif->state
will be reserved for special netif info (slip)
Closes https://github.com/espressif/esp-protocols/issues/759
2025-02-20 11:58:54 +01:00
David Cermak
cdb7bfd188
fix(examples): Test the SLIP netif example on target as well
2025-02-20 11:58:49 +01:00
Guilherme Alves Ferreira
c679ceed85
Merge pull request #718 from glmfe/feat/lws
...
[lws]: Add initial support for libwebsockets
2025-02-19 11:26:03 -03:00
glmfe
c009892968
bump(lws): First version 4.3.3
...
4.3.3
Features
- Add initial support libwebsockets component (ef3443d)
2025-02-19 10:21:35 -03:00
glmfe
5f66f35f5f
feat(lws): Add initial support libwebsockets component
2025-02-19 10:16:42 -03:00
david-cermak
dea5f1c431
Merge pull request #764 from david-cermak/feat/mdns_malloc_caps
...
[mdns]: Allow allocate memory with configured caps
2025-02-18 13:23:41 +01:00
David Cermak
384d1c23ba
bump(mdns): 1.6.0 -> 1.7.0
...
1.7.0
Features
- Support user defined allocators (88162d1f )
- Allow allocate memory with configured caps (7d29b476 )
Bug Fixes
- Adjust some formatting per indent-cont=120 (5b2077e3 )
2025-02-18 12:53:46 +01:00
David Cermak
88162d1f3a
feat(mdns): Support user defined allocators
...
Defines mem-alloc function optionally weak, so users can override them
and implement their own allocation, or a static/bss memory for the mdns
task stack.
2025-02-18 12:52:21 +01:00
David Cermak
e65f22ab6c
ci(mdns): Check mdns sources for std alloc functions
2025-02-13 15:02:18 +01:00
David Cermak
7d29b47676
feat(mdns): Allow allocate memory with configured caps
2025-02-13 13:51:22 +01:00
david-cermak
f1a72ec42c
Merge pull request #760 from glmfe/feat/add-ws-unregister
...
feat(websocket): add unregister event to websocket client
2025-02-12 18:50:52 +01:00
glmfe
ce160505dc
feat(websocket): add unregister event to websocket client
2025-02-12 08:46:39 -03:00
david-cermak
87e96b4682
Merge pull request #761 from david-cermak/fix/ci_astyle
...
[ci]: Fix pre-commit hook to call astyle correctly
2025-02-12 11:47:40 +01:00
David Cermak
5b2077e373
fix(common): Adjust some formatting per indent-cont=120
...
As we updated astyle configuration to be in line with IDF style
2025-02-12 11:40:21 +01:00
Richard Allen
030cb75ece
fix(websocket): release client-lock during WEBSOCKET_EVENT_DATA
...
This resolves:
1) Deadlock when trying to reserve a lock in WEBSOCKET_EVENT_DATA,
but lock is held by a thread trying to send a websocket message.
2) High latency caused by writers serialized with WEBSOCKET_EVENT_DATA
while calling esp_websocket_client_send(), even when TCP window
has enough space for the entire message being queued to send.
Multiple writers are still serialized at fragment boundaries, but
only with other writers and websocket error updates.
Fixes #625
2025-02-11 12:04:39 -06:00
David Cermak
b45fe143a4
ci(common): Fix pre-commit hook to call astyle correctly
2025-02-11 17:16:11 +01:00
david-cermak
ee2fbbbee7
Merge pull request #756 from david-cermak/feat/mdns_alloc_task
...
[mdns]: support allocating mDNS task with caps
2025-02-10 11:50:59 +01:00
David Cermak
cb061c9c38
bump(mdns): 1.5.3 -> 1.6.0
...
1.6.0
Features
- support allocating mDNS task from SPIRAM (8fcad10c )
Bug Fixes
- Use correct task delete function (eb4ab524 )
Updated
- ci(mdns): Fix mdns host test layers with static task creation (0690eba3 )
2025-02-10 11:18:55 +01:00
David Cermak
0690eba3a8
ci(mdns): Fix mdns host test layers with static task creation
2025-02-10 11:18:19 +01:00
David Cermak
eb4ab52487
fix(mdns): Use correct task delete function
2025-02-10 11:18:19 +01:00
zwx
8fcad10ccf
feat(mdns): support allocating mDNS task from SPIRAM
2025-02-10 11:18:19 +01:00
david-cermak
936e43f9d8
Merge pull request #758 from david-cermak/fix/mdns_ignore_only_invalid_queries
...
[mdns]: Fix the responder to ignore only invalid queries
2025-02-07 15:11:14 +01:00
David Cermak
64d818b2d3
bump(mdns): 1.5.2 -> 1.5.3
...
1.5.3
Bug Fixes
- Fix responder to ignore only invalid queries (cd07228f , #754 )
2025-02-07 14:31:18 +01:00
David Cermak
cd07228f81
fix(mdns): Fix responder to ignore only invalid queries
...
not the entire packet, so we can still reply to next questions
Closes https://github.com/espressif/esp-protocols/issues/754
2025-02-07 14:30:10 +01:00
david-cermak
1c6580e22b
Merge pull request #753 from david-cermak/fix/ci_mosq
...
[mosquitto]: Fix minor CI issue
2025-02-03 14:54:07 +01:00
David Cermak
87f835af0f
fix(mosq): Run IDF build test only on master or labeled PRs
2025-01-31 11:19:00 +01:00
Richard Allen
19891d8c3c
feat(websocket): add ability to reconnect after close
...
Needed to support protocols like Socket.IO, where some
websocket closes issued by the server are reconnectable.
2025-01-30 12:12:12 -06:00
david-cermak
85a8dac42d
Merge pull request #750 from david-cermak/bump/ws_client
...
[websocket]: Bump 1.3.0 -> 1.4.0
2025-01-30 08:48:45 +01:00
David Cermak
39866116f5
bump(websocket): 1.3.0 -> 1.4.0
...
1.4.0
Features
- Support DS peripheral for mutual TLS (55385ec3 )
Bug Fixes
- wait for task on destroy (42674b49 )
- Fix pytest to verify client correctly (9046af8f )
- propagate error type (eeeb9006 )
- fix example buffer leak (5219c39d )
Updated
- chore(websocket): align structure members (beb6e57e )
- chore(websocket): remove unused client variable (15d3a01e )
2025-01-30 07:16:24 +01:00
david-cermak
7740b591b6
Merge pull request #749 from david-cermak/fix/ws_client_test
...
[websocket]: Fix pytest to verify client correctly
2025-01-30 07:09:34 +01:00
david-cermak
b57979d967
Merge pull request #751 from johanstokking/fix/await-task-on-destroy
...
fix(websocket): wait for task on destroy (IDFGH-14533)
2025-01-29 15:27:38 +01:00
Johan Stokking
42674b49f9
fix(websocket): wait for task on destroy
2025-01-29 14:30:32 +01:00
david-cermak
e069ae7762
Merge pull request #520 from johanstokking/feature/websocket/client_ds_data
...
feat(websocket): Support DS peripheral for mutual TLS (IDFGH-12285)
2025-01-28 16:59:34 +01:00
Johan Stokking
44d476fc50
docs(websocket): fix minor readability issues
2025-01-28 14:59:24 +01:00
Johan Stokking
55385ec312
feat(websocket): Support DS peripheral for mutual TLS
2025-01-28 14:58:54 +01:00
david-cermak
a3c2bbed9e
Merge pull request #748 from david-cermak/fix/mdns_coverity
...
[mdns]: Bump v1.5.2
2025-01-28 10:23:24 +01:00
David Cermak
84c47c37f1
bump(mdns): 1.5.1 -> 1.5.2
...
1.5.2
Bug Fixes
- Fix potential NULL deref when sending sub-buy (e7273c46 )
- Fix _mdns_append_fqdn excessive stack usage (bd23c233 )
2025-01-28 09:54:54 +01:00
David Cermak
e7273c46ec
fix(mdns): Fix potential NULL deref when sending sub-buy
...
Closes coverity reported issue: 473829 Dereference null return value
2025-01-28 09:54:16 +01:00
david-cermak
2e7d240abd
Merge pull request #744 from andrew-lifx/fix/mdns_append_fqdn
...
fix(mdns): Fix _mdns_append_fqdn excessive stack usage (IDFGH-14506)
2025-01-28 07:28:00 +01:00
david-cermak
d4a004b5b4
Merge pull request #694 from johanstokking/fix/websocket-esp-tls-errors
...
fix(websocket): propagate error type (IDFGH-14518)
2025-01-27 15:50:32 +01:00
David Cermak
9046af8f8d
fix(websocket): Fix pytest to verify client correctly
2025-01-27 15:34:49 +01:00
Johan Stokking
eeeb9006eb
fix(websocket): propagate error type
2025-01-25 21:52:06 +01:00
david-cermak
b167aa315f
Merge pull request #747 from david-cermak/fix/publish_asio_1.32
...
bump(asio): Publish 1.32.0 to component manager
2025-01-24 15:53:54 +01:00
David Cermak
72ba24470d
bump(asio): Publish 1.32.0 to component manager
...
Related to the bump-commit: ac6a388cdd
but missed to update idf_component.yml
This publishes ASIO-1.32-0~0
2025-01-24 14:32:20 +01:00
david-cermak
7dc87d28b2
Merge pull request #717 from david-cermak/feat/asio_sync_upstream
...
[asio]: Drop esp-asio patches in favor of sock-utils
2025-01-24 13:49:53 +01:00
David Cermak
ac6a388cdd
bump(asio): 1.28.0 -> 1.32.0
...
1.32.0
Features
- Upgrade asio to 1.32 (9bdd429c )
- Drop esp/asio patches in favor of sock-utils (27435b7f )
Bug Fixes
- Fix chat example to print only the message body (76aaea08 )
- Make asio enable if_nametoindex to fix linking (5db32cce )
- Re-applie refs to common comps idf_component.yml (9fe44a45 )
- Reference common component from IDF (74fc228c )
- Revert referencing protocol_examples_common from IDF (f9e0281a )
- reference protocol_examples_common from IDF (09abb18b )
- specify override_path in example manifest files (1d8923cf )
Updated
- docs(asio): Updates asio docs (ce9337d3 )
2025-01-24 12:40:45 +01:00
David Cermak
76aaea08d2
fix(asio): Fix chat example to print only the message body
2025-01-24 12:37:39 +01:00
David Cermak
5db32cce30
fix(asio): Make asio enable if_nametoindex to fix linking
2025-01-24 12:37:39 +01:00
David Cermak
9bdd429c7c
feat(asio): Upgrade asio to 1.32
2025-01-24 10:47:54 +01:00
David Cermak
6f7c52cc3f
fix(asio): Add tests for IDF-v5.4
2025-01-24 10:47:54 +01:00
David Cermak
27435b7f34
feat(asio): Drop esp/asio patches in favor of sock-utils
2025-01-24 10:47:54 +01:00
david-cermak
813331f003
Merge pull request #743 from david-cermak/fix/modem_ci
...
[modem]: Fix deprecated CI download action
2025-01-24 08:27:37 +01:00
Andrew Chalmers
bd23c233a4
fix(mdns): Fix _mdns_append_fqdn excessive stack usage
...
Move "mdns_name_t name" declaration inside loop to move it out of scope and reclain stack space before recursion call.
2025-01-24 17:39:04 +10:30
David Cermak
4eda7d472f
fix(modem): Fix deprecated download action
2025-01-23 19:15:28 +01:00
david-cermak
163029c0b6
Merge pull request #742 from david-cermak/bump/mdns_1.5.1
...
[mdns]: Bump 1.5.0 -> 1.5.1
2025-01-23 15:32:49 +01:00
David Cermak
96eae25096
bump(mdns): 1.5.0 -> 1.5.1
...
1.5.1
Bug Fixes
- Fix incorrect memory free for mdns browse (4451a8c5 )
2025-01-23 09:00:01 +01:00
david-cermak
ebec8eff63
Merge pull request #740 from gytxxsy/fix/fix_wrong_mem_free_of_mdns_browse
...
[mdns]: fix incorrect memory free for mdns browse
2025-01-23 08:58:05 +01:00
Xu Si Yu
4451a8c5ad
fix(mdns): Fix incorrect memory free for mdns browse
2025-01-23 09:08:25 +08:00
david-cermak
6d19aabb02
Merge pull request #721 from david-cermak/feat/mosq_target_tests
...
[mosq]: Add IDF MQTT stress tests to mosquitto CI
2025-01-21 12:55:49 +01:00
David Cermak
9162de1150
fix(mosq): Remove temp modification of IDF files
2025-01-21 12:27:09 +01:00
David Cermak
dbd164dd91
fix(mosq): Add a note about stack size
2025-01-21 12:27:09 +01:00
David Cermak
90d663ad01
feat(mosq): Add IDF MQTT stress tests to mosquitto CI
2025-01-21 12:27:09 +01:00
david-cermak
a83f1b6787
Merge pull request #736 from david-cermak/bump/mdns_1.4.4
...
[mdns]: Bump 1.4.3 -> 1.5.0
2025-01-21 10:56:48 +01:00
David Cermak
84caca465d
bump(mdns): 1.4.3 -> 1.5.0
...
1.5.0
Features
- supported removal of subtype when updating service (4ad88e29 )
Bug Fixes
- Fix zero-sized VLA clang-tidy warnings (196198ec )
- Remove dead store to arg variable shared (e838bf03 )
- Fix name mangling not to use strcpy() (99b54ac3 )
- Fix potential null derefernce in _mdns_execute_action() (f5be2f41 )
- Fix AFL test mock per espressif/esp-idf@a5bc08fb55 (3d8835cf )
- Fixed potential out-of-bound interface error (24f55ce9 )
- Fixed incorrect error conversion (8f8516cc )
- Fixed potential overflow when allocating txt data (75a8e864 )
- Move MDNS_NAME_BUF_LEN to public headers (907087c0 , #724 )
- Cleanup includes in mdns.c (68a9e148 , #725 )
- Allow advertizing service with port==0 (827ea65f )
- Fixed complier warning if MDNS_MAX_SERVICES==0 (95377216 , #611 )
2025-01-20 17:57:07 +01:00
david-cermak
8f81478fff
Merge pull request #735 from david-cermak/fix/docs_build
...
[common]: Fix esp-docs dependencies
2025-01-20 14:50:32 +01:00
David Cermak
ae5a8ceeda
fix(mosq): Run mosquitto version check only on labeled job or push
2025-01-20 12:56:02 +01:00
David Cermak
774bab22ea
fix(common): Update esp-docs dependencies to fix docs-build job
2025-01-20 12:52:52 +01:00
david-cermak
265e38d684
Merge pull request #731 from tanyanquan/feat/update_subtype_removal
...
feat(mdns): supported removal of subtype when updating service (IDFGH-14413)
2025-01-20 09:48:27 +01:00
david-cermak
93f772171c
Merge pull request #732 from david-cermak/fix/mdns_clangtiy_warns
...
[mdns]: Fixes clang-tidy warnings
2025-01-20 09:47:56 +01:00
Tan Yan Quan
4ad88e297f
feat(mdns): supported removal of subtype when updating service
2025-01-16 10:56:54 +08:00
David Cermak
196198ecc9
fix(mdns): Fix zero-sized VLA clang-tidy warnings
...
and some minor leaks in creation of browse results
2025-01-15 14:23:34 +01:00
David Cermak
e838bf03f4
fix(mdns): Remove dead store to arg variable shared
...
Fixing: warning: Value stored to 'shared' is never read [clang-analyzer-deadcode.DeadStores]
2025-01-15 14:23:34 +01:00
David Cermak
99b54ac384
fix(mdns): Fix name mangling not to use strcpy()
...
Since it was flagged by clang-tidy as insecture API
2025-01-15 14:23:34 +01:00
David Cermak
f5be2f4115
fix(mdns): Fix potential null derefernce in _mdns_execute_action()
...
We did check for null-deref before checking 'a->type', but contol
continues and passes potential null-ptr to the processing function
_mdns_execute_action()
Fixed by asserting action != NULL, since it is an invalid state which
should never happen.
2025-01-15 14:21:59 +01:00
david-cermak
9b74256b51
Merge pull request #730 from david-cermak/fix/mdns_minor
...
[mdns]: Fixed some minor bugs
2025-01-15 12:27:05 +01:00
David Cermak
3d8835cfb9
fix(mdns): Fix AFL test mock per espressif/esp-idf@a5bc08fb55
2025-01-15 11:42:34 +01:00
David Cermak
24f55ce9b4
fix(mdns): Fixed potential out-of-bound interface error
...
invalid mdns_if was handled for enabling/announcing pcbs,
but not for the consequent browsing
Closes coverity isssue: 470162 Out-of-bounds access
2025-01-15 10:46:15 +01:00
David Cermak
8f8516cc3f
fix(mdns): Fixed incorrect error conversion
...
Mixing esp_err_t (int) with err_t (uint8_t) from lwip.
Closes coverity isssue: 470139 Overflowed return value
2025-01-15 10:46:15 +01:00
David Cermak
75a8e8640a
fix(mdns): Fixed potential overflow when allocating txt data
...
Closes coverity warning: 470092 Overflowed integer argument
2025-01-15 10:46:15 +01:00
David Cermak
907087c09b
fix(mdns): Move MDNS_NAME_BUF_LEN to public headers
...
Since it's used by public API as maximum length of user buffer
Closes https://github.com/espressif/esp-protocols/issues/724
2025-01-15 10:46:10 +01:00
David Cermak
68a9e14898
fix(mdns): Cleanup includes in mdns.c
...
Closes https://github.com/espressif/esp-protocols/issues/725
2025-01-15 10:44:12 +01:00
David Cermak
827ea65fd5
fix(mdns): Allow advertizing service with port==0
...
Closes https://github.com/espressif/esp-idf/issues/14335
2025-01-15 10:44:12 +01:00
David Cermak
9537721600
fix(mdns): Fixed complier warning if MDNS_MAX_SERVICES==0
...
Closes https://github.com/espressif/esp-protocols/issues/611
2025-01-15 10:44:07 +01:00
david-cermak
4394f845fc
Merge pull request #728 from david-cermak/bump/mdns_1.4.3
...
[mdns]: bump: 1.4.2 -> 1.4.3
2025-01-08 10:24:01 +01:00
David Cermak
9b0ba6060f
bump(mdns): 1.4.2 -> 1.4.3
...
1.4.3
Features
- support zero item when update subtype (5bd82c01 )
2025-01-08 09:42:38 +01:00
david-cermak
7c6a3098af
Merge pull request #726 from zwx1995esp/feature/support_update_zero_item_of_subtype_for_mdns
...
feat(mdns): support zero item when update subtype (IDFGH-14369)
2025-01-07 18:40:25 +01:00
david-cermak
f3f3e23bec
Merge pull request #727 from david-cermak/fix/sockutls_gai_error
...
fix(sockutls): Fix gai_strerror() impl to return const string
2025-01-07 15:59:24 +01:00
David Cermak
9ed835ba3f
bump(sockutls): 0.2.1 -> 0.2.2
...
0.2.2
Bug Fixes
- Fix gai_strerror() impl to return const string (f12a2056 )
2025-01-07 14:06:42 +01:00
David Cermak
f12a205657
fix(sockutls): Fix gai_strerror() impl to return const string
...
Previous gai_strerror() returned numeric representation of the code,
but used TLS storage, which might cause issues with stack sizes on all
tasks in the system. Alternatively we can leave the storage to static
only (which wouldn't be thread-safe) or we could one-time allocate and
never free (which is wrong).
This option uses hardcoded strings for common error codes used in lwip.
The disadvantage is that we might need to update the impl in the future
when lwip adds more codes.
2025-01-07 14:06:00 +01:00
zwx
5bd82c01a5
feat(mdns): support zero item when update subtype
2025-01-07 10:28:02 +08:00
david-cermak
b4cb8f8a66
Merge pull request #720 from david-cermak/fix/sock_utils_define_conflict
...
[sock-utils] Fix potential macro conflict
2024-12-20 16:36:08 +01:00
David Cermak
0499ed93df
bump(sockutls): 0.2.0 -> 0.2.1
...
0.2.1
Bug Fixes
- Fix potential macro colission including standard headers (ade9448c )
2024-12-20 15:41:10 +01:00
David Cermak
ade9448c01
fix(sockutls): Fix potential macro colission including standard headers
2024-12-20 15:40:54 +01:00
david-cermak
4745fc8fe1
Merge pull request #719 from david-cermak/bump/mosq_2.2.0_1
...
[mosq]: Bump: v2.0.20 -> 2.0.20~1
2024-12-20 15:31:13 +01:00
David Cermak
73e523e736
bump(mosq): 2.0.20 -> 2.0.20~1
...
2.0.20~1
Bug Fixes
- Use sock_utils instead of func stubs (3cd0ed37 )
- Update API docs adding on-message callback (5dcc3330 )
2024-12-20 15:09:41 +01:00
David Cermak
3cd0ed377b
fix(mosq): Use sock_utils instead of func stubs
2024-12-20 15:07:42 +01:00
David Cermak
95294f5f89
fix(mosq): Add consistency check for api docs and versions
2024-12-20 15:07:37 +01:00
David Cermak
5dcc33300f
fix(mosq): Update API docs adding on-message callback
2024-12-20 12:09:48 +01:00
david-cermak
840a561de4
Merge pull request #710 from david-cermak/feat/mosq_p2p_example
...
[mosq]: Add serverless broker example
2024-12-19 17:11:13 +01:00
David Cermak
e6fb8aa078
bump(mosq): 2.0.18~0 -> 2.0.20~0
...
2.0.20~0
Features
- Upgrade to mosquitto v2.0.20 (3b2c614d )
- Add support for on-message callback (cdeab8f5 )
- Add example with two brokers synced on P2P (d57b8c5b )
Bug Fixes
- Fix dependency issues moving esp-tls to public deps (6cce87e4 )
2024-12-19 16:51:49 +01:00
David Cermak
3b2c614d86
feat(mosq): Upgrade to mosquitto v2.0.20
...
Used tagged version v2.0.20
2024-12-19 16:41:37 +01:00
David Cermak
cdeab8f517
feat(mosq): Add support for on-message callback
2024-12-19 16:41:37 +01:00
David Cermak
6cce87e465
fix(mosq): Fix dependency issues moving esp-tls to public deps
...
Since esp-tls structs are using in public header files
2024-12-19 16:41:37 +01:00
David Cermak
d57b8c5b29
feat(mosq): Add example with two brokers synced on P2P
...
Broker-less two chip example which virtual private IoT
networks on MQTT protocol.
2024-12-19 16:40:02 +01:00
david-cermak
9c11003449
Merge pull request #713 from david-cermak/feat/sock_utiis_0.2
...
[sock-utils]: Bump 0.1 -> 0.2
2024-12-19 11:13:59 +01:00
David Cermak
85a7fc772c
bump(sockutls): 0.1.0 -> 0.2.0
...
0.2.0
Features
- Declare socketpair and gai_strerror via standard headers (b090a3cb )
- Add support for gethostname() (f7c0b756 )
2024-12-19 10:57:36 +01:00
David Cermak
b090a3cb69
feat(sockutls): Declare socketpair and gai_strerror via standard headers
...
Adding a reverse dependency to lwip and define macros, which
enable declarations of socketpair() and gai_strerror() in standard
heders (sys/socket.h and netdb.h)
2024-12-19 10:54:56 +01:00
david-cermak
42cde46c97
Merge pull request #714 from bryghtlabs-richard/chore/websocketTidying
...
Chore(websocket) tidy up two small issues
2024-12-17 11:35:57 +01:00
Richard Allen
beb6e57e5e
chore(websocket): align structure members
2024-12-16 16:20:21 -06:00
Richard Allen
15d3a01e11
chore(websocket): remove unused client variable
2024-12-16 15:46:43 -06:00
david-cermak
e12ecb8e89
Merge pull request #707 from david-cermak/bugfix/sckutls_gethostname
...
[sock-utils]: Add support for gethostname()
2024-12-16 16:36:32 +01:00
david-cermak
54271a1b96
Merge pull request #709 from david-cermak/bump/modem_1.3
...
[modem]: bump 1.2.1 -> 1.3.0
2024-12-12 09:46:27 +01:00
David Cermak
886215032f
bump(modem): 1.2.1 -> 1.3.0
...
1.3.0
Features
- Add mode detection to the example (18f196fa )
- Support for pausing network in C-API (1db83cd1 )
- Add support for pausing netif (247f1681 , #699 )
Bug Fixes
- Minor cleanup of pppos example (5e929902 )
- Fix PPP mode detection to accept LCP/conf (c989c6ad )
- Refine mode switch data->command (8b6ea331 , #692 )
- Detect serial ports properly (0cb59ff8 )
- Fix CMUX enter to ignore URC before transition (1284f66d , #669 )
2024-12-10 12:48:09 +01:00
david-cermak
269351f41c
Merge pull request #700 from david-cermak/feat/modem_pause_network
...
[modem]: Add support for pausing netif
2024-12-10 12:14:10 +01:00
David Cermak
5e929902c7
fix(modem): Minor cleanup of pppos example
...
* Use CONFIG_EXAMPLE_DETECT_MODE_BEFORE_CONNECT to demonstrate mode
detect
* Use disconnection flag to indicate conneciton issue and gracefully
degrade to command mode
* Remove IDF-verion < v5.0 code
2024-12-10 11:36:10 +01:00
David Cermak
f7c0b7564a
feat(sockutls): Add support for gethostname()
...
Closes https://github.com/espressif/esp-idf/issues/14849
2024-12-09 17:16:59 +01:00
David Cermak
c989c6adae
fix(modem): Fix PPP mode detection to accept LCP/conf
2024-12-06 10:12:25 +01:00
David Cermak
18f196fa1e
feat(modem): Add mode detection to the example
2024-12-06 09:48:00 +01:00
David Cermak
1db83cd1ca
feat(modem): Support for pausing network in C-API
...
also adds a demo of this feature to pppos client example
2024-12-05 20:16:45 +01:00
David Cermak
247f1681e8
feat(modem): Add support for pausing netif
...
Closes https://github.com/espressif/esp-protocols/issues/699
2024-12-05 20:16:41 +01:00
david-cermak
32387f7e39
Merge pull request #702 from david-cermak/fix/modem_data_cmd_mode_refine
...
[modem]: Refine data -> command transition
2024-12-04 15:42:43 +01:00
David Cermak
dbc3ea6809
fix(common): Export IDF environment in bash shell
...
To avoid issues with IDF_PATH/export with the latest tools
2024-12-04 14:44:43 +01:00
David Cermak
8b6ea3311a
fix(modem): Refine mode switch data->command
...
* netif.stop() moved after setting the transition callback
* send PPP escape sequence if enabled before waiting for transition to
complete
* add newline character before sync() command (after the "+++")
Closes https://github.com/espressif/esp-protocols/issues/692
2024-12-04 14:39:01 +01:00
david-cermak
8e55b93b59
Merge pull request #703 from david-cermak/fix/modem_cmux_data_before_switch
...
[modem]: CMUX: ignore URC before entering CMUX
2024-12-04 08:18:54 +01:00
David Cermak
0cb59ff80d
fix(modem): Detect serial ports properly
2024-11-29 18:27:26 +01:00
David Cermak
1284f66d58
fix(modem): Fix CMUX enter to ignore URC before transition
...
Closes https://github.com/espressif/esp-protocols/issues/669
2024-11-29 17:32:35 +01:00
Abhik Roy
c5b49de2db
Merge pull request #502 from espressif-abhikroy/component/console_cmd_mqtt
...
feat(console): Added component with mqtt command
2024-11-29 21:53:01 +11:00
Abhik Roy
2e9bb6ee45
bump(console): First version [1.0.0]
...
1.0.0
Features
- Added component with mqtt command (1fcc5b1d )
2024-11-29 21:48:50 +11:00
Abhik Roy
1fcc5b1d56
feat(console): Added component with mqtt command
2024-11-29 00:59:27 +11:00
david-cermak
849fe7b6cb
Merge pull request #698 from david-cermak/fix/modem_minor_fixes_on_1.2
...
[modem]: Support for URC handler in C-API -> v1.2.1
2024-11-20 16:28:39 +01:00
David Cermak
5eadf1edee
bump(modem): 1.2.0 -> 1.2.1
...
1.2.1
Bug Fixes
- Use higher GPIO range to support new chips (428fdbbd , #558 )
- Remove tests and support for IDFv4.4, added IDFv5.4 (433a033f )
- Fix typo GENETIC -> GENERIC in mode types (090b1ff8 , #667 )
- Add support for URC handler into C-API (295d99df , #180 )
2024-11-20 15:47:03 +01:00
David Cermak
428fdbbd80
fix(modem): Use higher GPIO range to support new chips
...
We can use IDF's Kconfig.env_caps in future, but that's not available on v5.0.
Closes https://github.com/espressif/esp-protocols/issues/558
2024-11-20 11:36:00 +01:00
David Cermak
433a033fcc
fix(modem): Remove tests and support for IDFv4.4, added IDFv5.4
2024-11-20 11:35:33 +01:00
David Cermak
090b1ff845
fix(modem): Fix typo GENETIC -> GENERIC in mode types
...
Closes https://github.com/espressif/esp-protocols/issues/667
2024-11-20 10:25:20 +01:00
David Cermak
295d99df96
fix(modem): Add support for URC handler into C-API
...
Closes https://github.com/espressif/esp-protocols/issues/180
2024-11-20 10:15:22 +01:00
david-cermak
b65cff3a0b
Merge pull request #696 from david-cermak/bump/mdsn_1.4.2
...
[mdns]: Bump to v1.4.2
2024-11-14 15:31:45 +01:00
David Cermak
e711f26670
bump(mdns): 1.4.1 -> 1.4.2
...
1.4.2
Features
- support update subtype (062b8dca )
Updated
- chore(mdns): Add more info to idf_component.yml (4a1cb65c )
2024-11-14 12:04:25 +01:00
David Cermak
4a1cb65c67
chore(mdns): Add more info to idf_component.yml
...
Fixing component manager warnings:
WARNING: A component description has not been provided in the manifest file. Please update your file and include a brief description of the component.This will help other developers understand the purpose and functionality of your component. Documentation: https://***/projects/idf-component-manager/en/latest/guides/packaging_components.html#create-idf-component-yml
WARNING: A homepage URL has not been provided in the manifest file. Please update your file and include the URL to the component's homepage. Documentation: https://***/projects/idf-component-manager/en/latest/guides/packaging_components.html#create-idf-component-yml
2024-11-14 12:03:56 +01:00
david-cermak
6c61dd39cf
Merge pull request #693 from zwx1995esp/feat/support_add_remove_subtype
...
feat(mdns): support update subtype (IDFGH-14068)
2024-11-14 10:36:22 +01:00
david-cermak
8821ea3a99
Merge pull request #695 from david-cermak/bump/mdns_1.4.1
...
bump(mdns): 1.4.0 -> 1.4.1
2024-11-14 10:32:22 +01:00
zwx
062b8dcacc
feat(mdns): support update subtype
2024-11-14 11:07:43 +08:00
David Cermak
7de57bb412
bump(mdns): 1.4.0 -> 1.4.1
...
1.4.1
Features
- Send PTR query for mdns browse when interface is ready (010a404a )
Bug Fixes
- Prevent deadlock when deleting a browse request (3f48f9ea )
- Fix use after free reported by coverity (25b3d5fd )
- Fixed dead-code reported by coverity (11846c7d )
2024-11-13 17:47:19 +01:00
david-cermak
67191f3bb5
Merge pull request #671 from david-cermak/feat/sock_utils
...
[sock-utils]: Add initial support for socket helpers
2024-11-11 18:29:45 +01:00
David Cermak
6d94ad646d
bump(sockutls): Initial version 0.1.0
...
0.1.0
Features
- Add initial support for socket helpers (31f57ad0 )
2024-11-11 16:47:57 +01:00
David Cermak
685d47cd2f
fix(common): Disable clang-check for unsecure/deprecated APIs
2024-11-11 16:47:18 +01:00
David Cermak
31f57ad067
feat(sockutls): Add initial support for socket helpers
2024-11-11 16:47:13 +01:00
david-cermak
32ac21b03c
Merge pull request #688 from david-cermak/fix/modem_docs_limitations
...
[modem]: bump: 1.1.0 -> 1.2.0
2024-11-11 16:26:41 +01:00
David Cermak
5b06a3b319
bump(modem): 1.1.0 -> 1.2.0
...
1.2.0
Features
- Add support for guessing mode (52598e5f )
- Delete CMUX internal implementation even if terminal exit fails (0e0cbd6b )
- Add support for handling URC (1b6a3b3b , #180 )
- add ability to change ESP_MODEM_C_API_STR_MAX from Kconfig (17909892 )
- Added target test config with CHAP authentication (f8ae7def )
- example add esp32p4 usb support (adafeae5 )
- Publish mbedtls component (0140455f )
- host test support of the latest ESP-IDF release (3f74b4e8 )
Bug Fixes
- Fix console example to use urc/detect features (1a9eaf3e )
- Update target test builds to use external Catch2 (554f022c )
- Fix arguments names when spawn esp_modem_xxx declarations (b6792c52 )
- Remove catch dependency (c3480768 )
- Examples: use local configs for MQTT topic/data (f5c13b92 )
- Fixed clang-tidy warnings (70fa3af7 )
- Fix CI build per IDFv5.3 (d0c17ef0 )
- Fixed UART task to check for buffered data periodically (4bdd90cc , #536 )
- Cleanup unused configs from PPPoS example (08a62ccc )
- Update CMUX example with SIM7070_gnss cleaned-up (56fe5327 )
- Update console example with SIM7070_gnss format comments (5baaf542 )
- Fix remaining print format warnings (3b80181d )
Updated
- docs(modem): Fix esp_modem_at_raw() description (C-API) (492a6a00 )
- ci(common): updated github actions(checkout, upload, download) v3 to 4, Ubuntu 20.04 to v22.04 (a23a0027 )
2024-11-07 12:42:11 +01:00
David Cermak
cc2741d4ad
fix(modem): Document CMUX compatibility issue with CAVLI C16QS
...
Closes https://github.com/espressif/esp-protocols/issues/507
2024-11-07 12:41:47 +01:00
david-cermak
c5653ff204
Merge pull request #677 from david-cermak/fix/docs_links
...
[asio]: Fix links in documentation
2024-11-06 14:40:23 +01:00
david-cermak
77731c9b36
Merge pull request #678 from david-cermak/fix/modem_docs
...
[modem]: Fix docs to link tests correctly
2024-11-06 14:40:05 +01:00
david-cermak
2442f6b553
Merge pull request #612 from david-cermak/feat/modem_mode_detect
...
[modem]: Add support for guessing mode
2024-11-06 14:39:37 +01:00
david-cermak
0b5e362a7b
Merge pull request #686 from bryghtlabs-richard/fix/wsExampleLeak
...
fix(websocket): fix example buffer leak
2024-11-05 17:11:35 +01:00
Richard Allen
5219c39d09
fix(websocket): fix example buffer leak
2024-11-04 08:39:13 -06:00
David Cermak
1a9eaf3e98
fix(modem): Fix console example to use urc/detect features
2024-11-01 15:31:39 +01:00
David Cermak
52598e5f03
feat(modem): Add support for guessing mode
2024-11-01 13:49:52 +01:00
david-cermak
542547d38b
Merge pull request #684 from david-cermak/fix/ws_disconnect_deadlock
...
[websocket]: Prevent crash on network disconnect during send
2024-10-31 15:56:20 +01:00
David Cermak
2bcfa45d30
bump(websocket): 1.2.3 -> 1.3.0
...
1.3.0
Features
- add events for begin/end thread (d7fa24bc )
- Make example to use certificate bundle (aecf6f80 )
- propagate esp_tls stack error and cert verify flags (234f579b )
- Add option to set and use cert_common_name in Websocket client (3a6720de )
- adding support for `if_name` when using WSS transport (333a6893 )
- allow updating reconnect timeout for retry backoffs (bd9f0627 )
- allow using external tcp transport handle (83ea2876 )
- adding support for `keep_alive_enable` when using WSS transport (c728eae5 )
Bug Fixes
- Prevent crash on network disconnect during send (a453ca1f )
- use proper interface to delete semaphore (991ac40d )
- Move client to different state when disconnecting (0d8f2a6d )
- fix of websocket host example (5ccc018a )
- don't get transport from the list if external transport is used (9d4d5d2d )
- Fix locking issues of `esp_websocket_client_send_with_exact_opcode` API (6393fcd7 )
2024-10-31 11:34:02 +01:00
xutao
a453ca1f38
fix(websocket): Prevent crash on network disconnect during send
...
When WiFi disconnects, `esp_websocket_client_task` continues polling
`esp_transport_poll_read()` with a default 1-second timeout.
If a timeout triggers `esp_websocket_client_abort_connection`,
certain resources are released.
However, if `esp_websocket_client_send_with_exact_opcode`
is still blocked at this point, it will cause a crash
when it times out and accesses the released handle.
This fix prevents potential crashes by ensuring proper
synchronization between abort and send functions.
Merges: https://github.com/espressif/esp-protocols/pull/629
2024-10-31 11:33:26 +01:00
david-cermak
72f4f7c7a3
Merge pull request #683 from bryghtlabs-richard/fix/ws-mutex-delete
...
fix(websocket): use proper interface to delete semaphore
2024-10-31 10:25:25 +01:00
david-cermak
a353702e04
Merge pull request #626 from euripedesrocha/websocket/fix_race_aborting_connection
...
Fix race condition when client set to not reconnect
2024-10-31 08:21:52 +01:00
Richard Allen
991ac40d75
fix(websocket): use proper interface to delete semaphore
...
On most implementations, including ESP-IDF FreeRTOS, vSemaphoreDelete()
is a macro that calls vQueueDelete(). But since the client semaphore is
created with xSemaphoreCreateRecursiveMutex(), delete it as a semaphore with vSemaphoreDelete().
2024-10-30 16:54:45 -05:00
david-cermak
fbd296f8dd
Merge pull request #661 from gytxxsy/feat/monitor_interface_status_for_browsing
...
[mdns]: send PTR query for mdns browse when interface is ready (IDFGH-13841)
2024-10-25 17:58:40 +02:00
david-cermak
a5b0b9d6ea
Merge pull request #676 from arex-ebee/deadlock-on-mdns_browse_delete-call
...
[mdns]: Prevent deadlock when deleting a browse request (IDFGH-13947)
2024-10-25 16:48:42 +02:00
David Cermak
2d9759265b
fix(modem): Fix docs to link tests correctly
...
Closes https://github.com/espressif/esp-protocols/issues/664
2024-10-25 12:56:08 +02:00
David Cermak
8f1f935858
fix(asio): Fix docs to link examples correctly
2024-10-25 12:43:19 +02:00
André Rex
3f48f9ea7e
fix(mdns): Prevent deadlock when deleting a browse request
2024-10-25 12:00:36 +02:00
david-cermak
8520245657
Merge pull request #672 from david-cermak/fix/publish_mosquitto
...
[mosquitto]: Fix incorrect link to the component url
2024-10-11 14:29:05 +02:00
David Cermak
185247d220
fix(mosq): Fix incorrent link to the component url
2024-10-11 11:14:07 +02:00
david-cermak
73b3293b86
Merge pull request #610 from david-cermak/feat/mosq_tls
...
[mosq]: Added TLS transport to mosquitto port
2024-10-11 10:57:05 +02:00
David Cermak
f613c70e00
bump(mosq): Initial version v2.0.28~0
...
2.0.28~0
Features
- Added support for TLS transport using ESP-TLS (1af4bbe1 )
- Add API docs, memory consideration and tests (a20c0c9d )
- Add target tests with localhost broker-client (5c850cda )
- Initial moquitto v2.0.18 port (TCP only) (de4531e8 )
Bug Fixes
- Fix clean compilation addressing _GNU_SOURCE redefined (e2392c36 )
Updated
- docs(mosq): Prepare mosquitto component for publishing (c2c4bf83 )
2024-10-11 09:46:47 +02:00
David Cermak
c2c4bf835a
docs(mosq): Prepare mosquitto component for publishing
2024-10-11 08:54:15 +02:00
David Cermak
1af4bbe1ab
feat(mosq): Added support for TLS transport using ESP-TLS
2024-10-11 08:38:06 +02:00
david-cermak
f5dc07fdcc
Merge pull request #670 from david-cermak/remove/wifi_remote
...
[wifi-remote]: Moved esp-wifi-remote development to a separate repo
2024-10-09 16:13:52 +02:00
David Cermak
e992787bcd
chore(common): Moved esp-wifi-remote devel to separate repo
...
esp-wifi-remote is being developed in https://github.com/espressif/esp-wifi-remote
from v0.4.0 (last released version from esp-protocols repo)
2024-10-07 15:05:31 +02:00
david-cermak
8c4f392f93
Merge pull request #663 from david-cermak/bump/wifi_remote
...
[wifi_remote]: Bump 0.3.0 -> 0.4.0
2024-09-26 15:58:05 +02:00
david-cermak
8d8f2bf130
Merge pull request #662 from david-cermak/fix/mosqutto_submodule
...
[mosquitto]: Fix incorrect upstream mosqutto submodule path
2024-09-26 14:43:50 +02:00
David Cermak
30f121e6a9
bump(wifi_remote): 0.3.0 -> 0.4.0
...
0.4.0
Features
- Make esp_hosted default RPC library (1b62adbd )
- Add build test for current IDF examples (50c113e4 )
- Support for IDF v5.3 in a separate directory (bde97203 )
- Support for IDF v5.4 via a separate dir (e9ac41e1 )
- Add slave selection and peview targets (345c4577 )
Bug Fixes
- Fix CMake to use inherent IDF build vars (c454ec09 )
- Update per v5.4 espressif/esp-idf@97e42349 (ff5dac70 )
- Fix CI builds to generate configs per slave selection (8795d164 )
- Depend on esp_hosted only on targets with no WiFi (7ca5ed1d )
- Update per espressif/esp-idf@27f61966 (2e53b81f )
- Fix checking API compat against reference dir (1a57a878 )
2024-09-26 14:36:48 +02:00
David Cermak
29810f4139
ci(mosq): Fix incorrect upstream mosqutto submodule path
2024-09-26 13:34:56 +02:00
david-cermak
2abe55c173
Merge pull request #643 from david-cermak/feat/wifi_remote_with_hosted
...
[wifi_remote]: Make esp_hosted default RPC library
2024-09-26 13:21:54 +02:00
David Cermak
eb7ea3450e
ci(common): Use idf_build_apps >= 2.0 to fix pkg deprecation
2024-09-26 11:58:09 +02:00
David Cermak
1b62adbdf1
feat(wifi_remote): Make esp_hosted default RPC library
2024-09-26 11:58:04 +02:00
david-cermak
d6347a9d5f
Merge pull request #660 from david-cermak/feat/wifi_remote_flat
...
[wifi_remote]: Make flat version structure across IDF releases
2024-09-26 10:07:28 +02:00
David Cermak
c454ec09e6
fix(wifi_remote): Fix CMake to use inherent IDF build vars
...
IDF_VERSION_MAJOR, IDF_VERSION_MAJOR, rather than environmental variable {ESP_IDF_VERSION}
2024-09-26 08:51:41 +02:00
David Cermak
ff5dac70b7
fix(wifi_remote): Update per v5.4 espressif/esp-idf@97e42349
2024-09-26 08:39:22 +02:00
David Cermak
50c113e412
feat(wifi_remote): Add build test for current IDF examples
...
Building also standard IDF examples that use esp-wifi-remote (building
for wifiless targets ESP32P4, ESP32H2 and one wifi target ESP32s3)
2024-09-26 08:37:40 +02:00
David Cermak
bde97203ed
feat(wifi_remote): Support for IDF v5.3 in a separate directory
2024-09-26 08:37:07 +02:00
David Cermak
8795d16466
fix(wifi_remote): Fix CI builds to generate configs per slave selection
...
Rather than keeping sdkconfig.ci.*** for the smoke tests in git
2024-09-26 08:35:27 +02:00
David Cermak
e9ac41e1d7
feat(wifi_remote): Support for IDF v5.4 via a separate dir
2024-09-26 08:33:39 +02:00
David Cermak
7ca5ed1d3e
fix(wifi_remote): Depend on esp_hosted only on targets with no WiFi
2024-09-26 08:31:37 +02:00
David Cermak
345c457711
feat(wifi_remote): Add slave selection and peview targets
2024-09-26 08:30:53 +02:00
David Cermak
2e53b81f64
fix(wifi_remote): Update per espressif/esp-idf@27f61966
2024-09-26 08:30:14 +02:00
David Cermak
1a57a878be
fix(wifi_remote): Fix checking API compat against reference dir
...
rather than git history, as it might now work in GitHub CI (due to
shallow cloning)
2024-09-26 08:28:05 +02:00
Xu Si Yu
010a404a04
feat(mdns): Send PTR query for mdns browse when interface is ready
2024-09-23 19:01:10 +08:00
david-cermak
8475adf1d1
Merge pull request #655 from david-cermak/fix/modem_target_catch2
...
[modem]: Update target test builds to use external Catch2
2024-09-20 09:18:14 +02:00
david-cermak
29e5fbdf93
Merge pull request #651 from david-cermak/fix/master_detect_bump
...
[ci]: Fix for components not published
2024-09-20 09:17:59 +02:00
David Cermak
554f022cbf
fix(modem): Update target test builds to use external Catch2
...
Switched from the deprecated Catch framework (IDF/tools) to Catch2,
as Catch will be removed in v6.0.
Note that Catch2 has higher memory requirements,
necessitating an increase in stack size and partition table.
Additionally, Catch2 increases compilation time due to its larger footprint.
2024-09-20 07:55:41 +02:00
david-cermak
cfd6d6ad90
Merge pull request #653 from embedcat/docs/fix-at-raw-description
...
[modem]: Fix esp_modem_at_raw() description in docs (C-API)
2024-09-18 11:15:17 +02:00
david-cermak
6f90d85933
Merge pull request #658 from Ant2000/master
...
[modem] Minor change to exit_cmux behavior
2024-09-18 11:14:30 +02:00
Ant2000
0e0cbd6b17
feat(modem): Delete CMUX internal implementation even if terminal exit fails
2024-09-18 14:08:52 +05:30
david-cermak
e926a2c4e6
Merge pull request #654 from embedcat/feat/fix-arguments-c-api
...
[modem]: Fix arguments names when spawn esp_modem_xxx declarations
2024-09-18 09:04:25 +02:00
embedcat
b6792c527c
fix(modem): Fix arguments names when spawn esp_modem_xxx declarations
2024-09-18 09:09:44 +03:00
embedcat
492a6a0029
docs(modem): Fix esp_modem_at_raw() description (C-API)
2024-09-17 14:49:01 +03:00
David Cermak
22ec03b3e6
ci(common): Fix for components not published
2024-09-17 10:42:49 +02:00
david-cermak
6705bcae5e
Merge pull request #606 from david-cermak/feat/mosquitto
...
[mosq]: Support for TCP listener mode of mosquitto broker on ESP32
2024-09-17 10:05:08 +02:00
david-cermak
2208e76e04
Merge pull request #620 from david-cermak/feat/modem_urc
...
[modem]: Add support for handling URC
2024-09-17 09:54:15 +02:00
David Cermak
c348076849
fix(modem): Remove catch dependency
2024-09-16 19:19:13 +02:00
David Cermak
1b6a3b3b75
feat(modem): Add support for handling URC
...
Closes https://github.com/espressif/esp-protocols/issues/180
2024-09-16 15:17:29 +02:00
David Cermak
e2392c36fe
fix(mosq): Fix clean compilation addressing _GNU_SOURCE redefined
2024-09-16 14:50:36 +02:00
David Cermak
a20c0c9d2c
feat(mosq): Add API docs, memory consideration and tests
2024-09-16 14:50:36 +02:00
David Cermak
5c850cdad3
feat(mosq): Add target tests with localhost broker-client
2024-09-16 14:50:36 +02:00
David Cermak
de4531e8c7
feat(mosq): Initial moquitto v2.0.18 port (TCP only)
2024-09-16 14:50:31 +02:00
david-cermak
d2880418e5
Merge pull request #640 from david-cermak/feat/ppp_chap_test
...
[modem]: Added CHAP authentication test
2024-09-12 10:58:34 +02:00
david-cermak
8e4d43e00d
Merge pull request #649 from embedcat/master
...
[modem]: Add ability to change ESP_MODEM_C_API_STR_MAX from Kconfig (IDFGH-13668)
2024-09-12 09:56:02 +02:00
David Cermak
fb7b0c201d
ci(common): Fix clang-tidy job not use deprecated action
2024-09-12 09:37:03 +02:00
David Cermak
f5c13b927f
fix(modem): Examples: use local configs for MQTT topic/data
...
To avoid issues in CI, as we're using public server
and could receive data by people playing with the example
2024-09-12 09:29:46 +02:00
david-cermak
571a741b56
Merge pull request #642 from david-cermak/fix/mdns_coverity
...
[mdns]: Fix recent issues on v1.4 reported by Coverity
2024-09-12 08:55:47 +02:00
embedcat
1790989242
feat(modem): add ability to change ESP_MODEM_C_API_STR_MAX from Kconfig
2024-09-11 11:40:09 +03:00
David Cermak
f8ae7defd6
feat(modem): Added target test config with CHAP authentication
...
Related to https://github.com/espressif/esp-protocols/issues/635
2024-08-27 16:51:44 +02:00
David Cermak
25b3d5fd7b
fix(mdns): Fix use after free reported by coverity
...
Fixes CID 467739: Use after free in mdns.c, mdns_service_remove_for_host
We should look only for one match in the service list, since if we
assume there could be aliases, we might free one and reference the
other.
2024-08-27 15:26:32 +02:00
David Cermak
11846c7d00
fix(mdns): Fixed dead-code reported by coverity
...
Fixes CID 467738: Logically dead code in mdns.c, _copy_mdns_txt_items
Introduced by probably by a merge confilict, as the fix was added in
two separate PRs, merging d4da9cb0 first and 8a690503 later
2024-08-27 15:20:58 +02:00
david-cermak
73c48307a3
Merge pull request #638 from david-cermak/bump/mdns_1.4
...
[mdns]: Bump: 1.3.2 -> 1.4.0
2024-08-21 08:41:02 +02:00
David Cermak
b9357b31b5
bump(mdns): 1.3.2 -> 1.4.0
...
1.4.0
Major changes
- Fixed mdns API issues when add/remove/update records from multiple threads (Fix services API races to directly add/remove services)
Features
- Unit tests for add/remove/update deleg/selfhosted services (0660ece1 )
- Add console command for mdns browsing (1e8ede33 )
- Console test: set instance for service (f107dcd1 )
- Console test: add subtype for service (ee00e97b )
- Console test: set port for (delegated) srvs (07b79abf )
- Console test: add/remove TXT recs for delegated srvs (c9a58d73 )
- Console test for changing TXT records (6b9a6ce6 )
- Console test for add/remove delegated service APIs (43de7e5c )
- Console test for add/remove delegated host APIs (ce7f326a )
- Console test for lookup service APIs (a91ead8e )
- Add linux console functional tests (50d059af )
- check if the txt items is changed when browsing (e2f0477a )
Bug Fixes
- Fix mdns_delegate_hostname_add() to block until done (2c1b1661 )
- Fix API races when removing all services (169405b5 )
- Fix API races setting instance name for services (643dc6d4 )
- Fix API races while adding subtypes for services (f9f234c4 )
- Fix API races removing txt item for services (3f97a822 )
- Fix API races adding txt item for services (c62b920b )
- Fix API races while setting txt for services (a927bf3a )
- Fix API races while setting port for services (99d5fb27 )
- Fix services API races to directly add/remove services (8a690503 )
- Fix mdns mdns_lookup_service() to handle empty TXT (d4da9cb0 )
2024-08-21 07:51:53 +02:00
david-cermak
788f0513fa
Merge pull request #615 from david-cermak/fix/mdns_hostname_race
...
fix(mdns): Fix add/remove selfhosted services while hostname changes
2024-08-20 20:58:11 +02:00
david-cermak
bcab28c1b8
Merge pull request #633 from bryghtlabs-richard/feat/websocketBeginEnd
...
Feat/websocket: begin end thread events (IDFGH-13507)
2024-08-20 16:41:52 +02:00
Euripedes
60817dd384
Merge pull request #630 from johanstokking/fix/websocket-esp-tls-errors
...
feat(websocket): propagate esp_tls stack error and cert verify flags
2024-08-20 06:11:55 -03:00
David Cermak
2c1b16617e
fix(mdns): Fix mdns_delegate_hostname_add() to block until done
...
Adds action semaphore the same way it's done in mdns_hostname_add()
There could still potentially be a minor issue when calling these two APIs
simultanously. Will solve the same ways as in 8a690503 (tracked as
IDF-10913)
2024-08-19 14:34:08 +02:00
David Cermak
169405b534
fix(mdns): Fix API races when removing all services
...
Fixes **API race issue** (described in 8a690503 ) for API
mdns_service_remove_all()
2024-08-19 14:33:27 +02:00
Euripedes Rocha
0d8f2a6d53
fix(websocket): Move client to different state when disconnecting
...
If Websocket client is set to not reconnect, we move to Unknown state to
clean up the task after dispatching disconnected event.
2024-08-19 12:52:37 +02:00
David Cermak
643dc6d43b
fix(mdns): Fix API races setting instance name for services
...
Fixes **API race issue** (described in 8a690503 ) for API
mdns_service_instance_name_set_for_host()
2024-08-19 12:38:35 +02:00
David Cermak
f9f234c440
fix(mdns): Fix API races while adding subtypes for services
...
Fixes **API race issue** (described in 8a690503 ) for API
mdns_service_subtype_add_for_host()
2024-08-19 12:38:28 +02:00
David Cermak
3f97a8228b
fix(mdns): Fix API races removing txt item for services
...
Fixes **API race issue** (described in 8a690503 ) for API
mdns_service_txt_item_remove_for_host()
2024-08-19 12:38:20 +02:00
David Cermak
c62b920bb9
fix(mdns): Fix API races adding txt item for services
...
Fixes **API race issue** (described in 8a690503 ) for API
mdns_service_txt_item_set_for_host_with_explicit_value_len()
2024-08-19 12:38:12 +02:00
David Cermak
a927bf3a8d
fix(mdns): Fix API races while setting txt for services
...
Fixes **API race issue** (described in 8a690503 ) for API
mdns_service_txt_set_for_host()
2024-08-19 12:38:03 +02:00
David Cermak
99d5fb27e9
fix(mdns): Fix API races while setting port for services
...
Fixes **API race issue** (described in 8a690503 ) for API
mdns_service_port_set_for_host()
2024-08-19 12:37:52 +02:00
David Cermak
8a690503ed
fix(mdns): Fix services API races to directly add/remove services
...
Original issue (data race when updating hostname): mdns_service_add()
makes a copy of the local hostname and calls using the local copy
mdns_service_add_for_host().
When mdns's hostname is updated the local copy gets out of sync.
**API race issue**: Most of the current API correctly lock the mdns service,
but sometimes unlocks it before sending an action to the action queue,
so it's possible that the situation changes before the actual action
takes place.
**Fix**: After locking the mdns service, we proceed directly with updating
internal structures and do not post actions into the action queue.
**Fix wrtt hostname**: Use mdns_service_add_for_host(hostname=NULL)
for all self hosted services.
MAJOR CHANGE: Fixed mdns API issues when add/remove/update records from multiple threads
This and the following commits fix the API race issues for these mdns APIs:
* mdns_service_add_for_host
* mdns_service_port_set_for_host
* mdns_service_txt_set_for_host
* mdns_service_txt_item_set_for_host_with_explicit_value_len
* mdns_service_txt_item_remove_for_host
* mdns_service_subtype_add_for_host
* mdns_service_instance_name_set_for_host
* mdns_service_remove_for_host
* mdns_service_remove_all
2024-08-19 12:36:05 +02:00
david-cermak
7e5ac87d09
Merge pull request #619 from david-cermak/feat/more_unit_tests
...
[mdns]: Add unit test for services
2024-08-19 12:35:11 +02:00
David Cermak
d4da9cb079
fix(mdns): Fix mdns mdns_lookup_service() to handle empty TXT
...
the lookup_service API calls _copy_mdns_txt_items(), which tries to
allocate new TXT records, but didn't handle the case with no TXT.
Originally the _copy_mdns_txt_items() called calloc() with zero's which
returned NULL (on espressif toolchain), so it's safe, but we could see
an error message:
E (1170) mdns: Cannot allocate memory (line: 6191, free heap: 281368 bytes)
This commit addresses the empty TXT case and gets rid of the error
message.
2024-08-19 11:28:56 +02:00
David Cermak
0660ece128
feat(mdns): Unit tests for add/remove/update deleg/selfhosted services
2024-08-19 11:28:01 +02:00
Richard Allen
d7fa24bc20
feat(websocket): add events for begin/end thread
...
Add events to signal the start and end of the
websocket thread handler, only once each per client.
2024-08-16 14:45:54 -05:00
Richard Allen
9cf4163663
docs(websocket): improve websocket event list
2024-08-16 14:45:50 -05:00
david-cermak
a8f13bc861
Merge pull request #632 from david-cermak/fix/ci_jobs
...
[CI]: Fixes with recent IDF updates
2024-08-16 18:54:31 +02:00
Euripedes Rocha
aecf6f80bf
feat(websocket): Make example to use certificate bundle
...
To easy maintenance, makes the example on websocket client to use
certificate bundle by default.
2024-08-16 16:17:10 +02:00
David Cermak
34d7c1b23b
ci(common): Ignore nearly full partition on C6 builds
2024-08-16 15:41:53 +02:00
david-cermak
6766be6955
Merge pull request #618 from david-cermak/feat/mdns_console_host_more_tests
...
[mdns]: More console tests
2024-08-16 09:29:55 +02:00
Johan Stokking
234f579bd8
feat(websocket): propagate esp_tls stack error and cert verify flags
2024-08-15 21:14:08 +02:00
David Cermak
1e8ede3396
feat(mdns): Add console command for mdns browsing
2024-08-15 16:18:42 +02:00
David Cermak
f107dcd118
feat(mdns): Console test: set instance for service
2024-08-15 16:18:42 +02:00
David Cermak
ee00e97b2b
feat(mdns): Console test: add subtype for service
2024-08-15 16:18:42 +02:00
David Cermak
07b79abf62
feat(mdns): Console test: set port for (delegated) srvs
2024-08-15 16:18:42 +02:00
David Cermak
c9a58d7350
feat(mdns): Console test: add/remove TXT recs for delegated srvs
2024-08-15 16:18:42 +02:00
David Cermak
6b9a6ce65b
feat(mdns): Console test for changing TXT records
2024-08-15 16:18:42 +02:00
David Cermak
43de7e5c4d
feat(mdns): Console test for add/remove delegated service APIs
2024-08-15 16:18:42 +02:00
David Cermak
ce7f326af0
feat(mdns): Console test for add/remove delegated host APIs
2024-08-15 16:18:42 +02:00
David Cermak
a91ead8ef5
feat(mdns): Console test for lookup service APIs
2024-08-15 16:18:42 +02:00
david-cermak
e425a3c504
Merge pull request #617 from david-cermak/feat/mdns_console_host
...
[mdns]: Add linux console functional tests
2024-08-15 15:59:18 +02:00
David Cermak
50d059af07
feat(mdns): Add linux console functional tests
2024-08-15 15:25:49 +02:00
Abhik Roy
f198967c98
Merge pull request #584 from espressif-abhikroy/component/console_cmd_ping
...
feat(console): Added command getaddrinfo, set/get dnsserver to console_cmd_ping
2024-08-15 19:54:26 +10:00
Abhik Roy
c41e8891ca
bump(console): 1.0.0 -> 1.1.0
...
1.1.0
Features
- Added command getaddrinfo, set/get dnsserver to console_cmd_ping (b80c19d7 )
2024-08-15 19:50:27 +10:00
Abhik Roy
b80c19d72c
feat(console): Added command getaddrinfo, set/get dnsserver to console_cmd_ping
2024-08-15 19:49:53 +10:00
david-cermak
5964eadbf5
Merge pull request #613 from gytxxsy/feat/check_if_txt_changed_when_browsing
...
feat(mdns): check if the txt items is changed when browsing
2024-07-23 18:04:20 +02:00
Suren Gabrielyan
e583848695
Merge pull request #616 from huming2207/master
...
fix(websocket): don't fetch transport from the list if external transport is set
2024-07-22 11:34:26 +04:00
Suren Gabrielyan
cb1bc41386
Merge pull request #605 from gabsuren/ci/websocket_host_fix
...
CI: fix
2024-07-19 20:31:33 +04:00
Suren Gabrielyan
8d91f5fd62
fix(ci): allow unsecure node version for self hosted runner
2024-07-19 17:00:00 +04:00
Suren Gabrielyan
5ccc018a98
fix(websocket): fix of websocket host example
2024-07-19 15:50:07 +04:00
Jackson Ming Hu
9d4d5d2d49
fix(websocket): don't get transport from the list if external transport is used
2024-07-16 16:53:40 +10:00
Xu Si Yu
e2f0477a00
feat(mdns): check if the txt items is changed when browsing
2024-07-16 10:44:05 +08:00
Suren Gabrielyan
906e447193
Merge pull request #573 from huming2207/feature/ws-transport-handle
...
feat(websocket): allow using external TCP transport handle (IDFGH-12825)
2024-07-12 16:50:33 +04:00
Suren Gabrielyan
15ae280bbe
Merge pull request #608 from johanstokking/feature/websocket/tls_keepalive_ifname
...
feat(websocket): adding support for `if_name` when using WSS transport
2024-07-10 12:37:27 +04:00
Suren Gabrielyan
e6f9fe2385
Merge pull request #583 from DCSBL/ws-client-common-name
...
feat(websocket_client): Add option to set and use cert_common_name in Websocket client (IDFGH-12926)
2024-07-10 12:29:52 +04:00
Duco Sebel
3a6720ded6
feat(websocket): Add option to set and use cert_common_name in Websocket client
2024-07-10 09:19:48 +02:00
Johan Stokking
333a68936a
feat(websocket): adding support for if_name when using WSS transport
2024-07-05 13:34:03 +02:00
Suren Gabrielyan
25d8423e6d
Merge pull request #594 from erkia/erkia/ws-reconnect-timeout
...
feat(esp_websocket_client): allow updating reconnect timeout for retry backoffs (IDFGH-13016)
2024-07-03 10:16:05 +04:00
Erki Aring
bd9f062709
feat(websocket): allow updating reconnect timeout for retry backoffs
2024-07-02 21:07:50 +03:00
Euripedes
9152cfcf82
Merge pull request #598 from euripedesrocha/bump_mqtt_cxx040
...
bump(mqtt_cxx): 0.3.0 -> 0.4.0
2024-07-02 07:36:30 -03:00
david-cermak
8195fc4b8f
Merge pull request #601 from david-cermak/bump/wifi_remote
...
bump(wifi_remote): 0.2.3 -> 0.3.0
2024-06-28 08:44:02 +02:00
david-cermak
68da69e4d8
Merge pull request #602 from david-cermak/bump/eppp
...
bump(eppp): 0.1.1 -> 0.2.0
2024-06-28 07:55:05 +02:00
david-cermak
c6e2eb2dac
Merge pull request #556 from leeebo/master
...
feat(esp_modem): example add esp32p4 usb support (IDFGH-12673)
2024-06-24 15:51:57 +02:00
David Cermak
a9dd78ffad
bump(eppp): 0.1.1 -> 0.2.0
...
0.2.0
Features
- Add support for SDIO transport (085dd790 )
Bug Fixes
- Fixed strict prototype API decl issue in SDIO (eb09e426 )
- Fix SIDO host to check/clear interrupts atomically (402176c9 )
2024-06-24 15:50:50 +02:00
David Cermak
eb09e42638
fix(eppp): Fixed strict prototype API decl issue in SDIO
2024-06-24 15:50:40 +02:00
Li Bo
adafeae5cf
feat(esp_modem): example add esp32p4 usb support
...
1. support ec20 cat.4 module in example modem_console and pppos_client
2. support esp32p4 in example modem_console and pppos_client
2024-06-24 18:55:20 +08:00
david-cermak
d7eaa77b89
Merge pull request #511 from david-cermak/feat/eppp_sdio
...
[eppp]: Add support for SDIO transport
2024-06-24 09:52:20 +02:00
David Cermak
5fe3870494
bump(wifi_remote): 0.2.3 -> 0.3.0
...
0.3.0
Features
- add esp_wifi_internal_tx_by_ref (ba35d14e )
- Make wifi_remote depend on esp_hosted (ac9972aa )
2024-06-24 09:40:25 +02:00
David Cermak
402176c9e0
fix(eppp): Fix SIDO host to check/clear interrupts atomically
2024-06-24 09:29:42 +02:00
David Cermak
085dd79079
feat(eppp): Add support for SDIO transport
2024-06-24 09:29:42 +02:00
david-cermak
a05fbc7ed9
Merge pull request #599 from SohKamYung-Espressif/feat/wifi_internal_tx_by_ref
...
feat(wifi_remote): add esp_wifi_internal_tx_by_ref
2024-06-21 17:42:00 +02:00
Soh Kam Yung
ba35d14e43
feat(wifi_remote): add esp_wifi_internal_tx_by_ref
...
Add esp_wifi_internal_tx_by_ref as building with CONFIG_SPIRAM=y will
get a linker error caused by an undefined reference to the function.
2024-06-21 15:24:16 +08:00
Jackson Ming Hu
83ea2876fc
feat(websocket): allow using external tcp transport handle
2024-06-21 14:47:03 +10:00
Euripedes Rocha
c714d24d75
bump(mqtt_cxx): 0.3.0 -> 0.4.0
...
0.4.0
Bug Fixes
- Adds missing configuration fields (d4c6d5ed )
2024-06-18 12:49:02 +02:00
david-cermak
2b64e80acd
Merge pull request #596 from SohKamYung-Espressif/feat/depend_on_esp_hosted
...
feat(wifi_remote): Make wifi_remote depend on esp_hosted (IDFGH-13027)
2024-06-18 11:02:11 +02:00
Soh Kam Yung
ac9972aa48
feat(wifi_remote): Make wifi_remote depend on esp_hosted
...
Co-authored-by: david-cermak <38914379+david-cermak@users.noreply.github.com >
2024-06-18 11:14:09 +08:00
david-cermak
1c5a149b14
Merge pull request #597 from david-cermak/fix/pre_commit_hook_astyle
...
fix(common): Fix pre-commit hook to use released astyle_py
2024-06-14 15:33:56 +02:00
David Cermak
8d0152f612
fix(common): Fix pre-commit hook to use released astyle_py
...
The previous version (c00138088) required pyyaml 3.0.0 which is broken
on certain plafroms (e.g. Fedora 39)
Closes https://github.com/espressif/esp-protocols/issues/592
2024-06-14 12:24:31 +02:00
Abhik Roy
b2272b410d
Merge pull request #513 from espressif-abhikroy/component/console_cmd_wifi
...
feat(console): wifi commands updates
2024-06-11 21:03:09 +10:00
Abhik Roy
5d43f9660f
bump(console): 1.0.1 -> 1.1.0
...
1.1.0
Features
- Added support to join pre-configured network (bdbf16c1 )
2024-06-11 20:50:49 +10:00
Abhik Roy
bdbf16c113
feat(console): Added support to join pre-configured network
2024-06-11 20:34:01 +10:00
david-cermak
7f248bd03f
Merge pull request #591 from david-cermak/fix/modem_clang_tidy
...
[modem]: Fixes clang-tidy warnings
2024-06-07 17:01:02 +02:00
David Cermak
dabd4bfd0e
fix(modem): Fix host tests to run gcov in python virt env
2024-06-07 12:45:23 +02:00
David Cermak
70fa3af771
fix(modem): Fixed clang-tidy warnings
...
* private field 'netif' is not used [clang-diagnostic-unused-private-field]
* private field 'instance' is not used [clang-diagnostic-unused-private-field]
* Call to virtual method 'FdTerminal::stop' during destruction bypasses virtual dispatch [clang-analyzer-optin.cplusplus.VirtualCall]
* unused variable 'TAG' [clang-diagnostic-unused-const-variable]
* Null pointer passed as 2nd argument to memory copy function [clang-analyzer-unix.cstring.NullArg]
* Array access (from variable 'data') results in a null pointer dereference [clang-analyzer-core.NullDereference]
2024-06-07 12:43:23 +02:00
Suren Gabrielyan
5d69d3f0ac
Merge pull request #588 from gabsuren/mdns_v1.3.2
...
bump(mdns): 1.3.1 -> 1.3.2
2024-06-05 12:58:45 +04:00
david-cermak
39d59032a2
Merge pull request #582 from david-cermak/fix/wifi_remote_server_sync
...
[wifi-remote]: Fix server race when receiving command and posting events
2024-06-05 08:14:19 +02:00
David Cermak
e3418b5527
bump(wifi_remote): 0.2.2 -> 0.2.3
...
0.2.3
Bug Fixes
- Fix server event/command race condtion using eventfd (732b1d5 )
- Lock server before marshalling events (9e13870 )
2024-06-05 07:27:12 +02:00
Suren Gabrielyan
21d1540b76
bump(mdns): 1.3.1 -> 1.3.2
...
1.3.2
Features
- add check of instance when handling PTR query (6af6ca5 )
Bug Fixes
- Fix of mdns afl tests (139166c )
- remove same protocol services with different instances (042533a )
2024-06-04 16:43:44 +04:00
Suren Gabrielyan
186e258798
Merge pull request #587 from gabsuren/fix_mdns_config
...
fix(mdns): Fix of mdns afl tests
2024-06-04 16:41:52 +04:00
Suren Gabrielyan
139166c2c5
fix(mdns): Fix of mdns afl tests
2024-06-04 10:23:27 +04:00
Suren Gabrielyan
7437d31368
Merge pull request #574 from DejinChen/fix/remove_same_protocol_service
...
fix(mdns): remove same protocol services with different instances
2024-06-03 14:26:40 +04:00
Suren Gabrielyan
d20255a40c
Merge pull request #559 from gytxxsy/feature/add_instance_check_for_existing_answer
...
feat(mdns): add check of instance when handling PTR query (IDFGH-12701)
2024-06-03 14:24:54 +04:00
Xu Si Yu
6af6ca52a2
feat(mdns): add check of instance when handling PTR query
2024-05-31 17:29:14 +08:00
chendejin
042533af90
fix(mdns): remove same protocol services with different instances
2024-05-31 16:37:22 +08:00
David Cermak
732b1d5084
fix(wifi_remote): Fix server event/command race condtion using eventfd
2024-05-31 07:47:37 +02:00
David Cermak
9e13870ad4
fix(wifi_remote): Lock server before marshalling events
2024-05-30 15:40:26 +02:00
david-cermak
3f12ef6eea
Merge pull request #580 from david-cermak/fix/ci_build_jobs
...
ci(common): Fix build jobs to install only idf-build-apps in idf cotainer
2024-05-28 17:39:25 +02:00
david-cermak
f1bc070b86
Merge pull request #579 from david-cermak/fix/wifi_remote_netif_example_sta
...
[wifi-remote]: Pass more netif options to eppp
2024-05-28 17:39:01 +02:00
David Cermak
28c0e0b77b
bump(wifi_remote): 0.2.1 -> 0.2.2
...
0.2.2
Bug Fixes
- Added more netif options for eppp connection (24ce867 )
- Do not restrict EPPP config to RSA keys only (f05c765 , #570 )
2024-05-28 16:37:24 +02:00
David Cermak
24ce86756d
fix(wifi_remote): Added more netif options for eppp connection
...
Configurable in Kconfig:
* routing priority
* netif description
2024-05-28 16:36:16 +02:00
david-cermak
39dfe268a3
Merge pull request #578 from david-cermak/fix/eppp_netif_config
...
[eppp]: Make some common esp_netif options configurable
2024-05-28 16:34:33 +02:00
David Cermak
d96f45a1f9
bump(eppp): 0.1.0 -> 0.1.1
...
0.1.1
Bug Fixes
- Make some common netif options configurable (7829e8f )
2024-05-28 16:11:19 +02:00
David Cermak
90fdcfc340
fix(eppp): Add build test for IDF v5.3, fix idf-build-apps deps
2024-05-28 16:10:19 +02:00
David Cermak
7829e8f976
fix(eppp): Make some common netif options configurable
2024-05-28 16:10:19 +02:00
David Cermak
ce27c13352
ci(console): Ignore latest ethernet deprecation warning
2024-05-28 14:57:17 +02:00
David Cermak
eab58de630
ci(common): Fix build jobs to install only idf-build-apps in idf container
2024-05-28 14:40:46 +02:00
david-cermak
fcb60806a9
Merge pull request #575 from david-cermak/fix/wifi_remote_keys
...
fix(wifi_remote): Do not restrict EPPP config to RSA keys only
2024-05-28 08:52:04 +02:00
David Cermak
22914d4b7b
fix(wifi_remote): Fix build test to download only idf-build-apps deps
2024-05-27 17:18:27 +02:00
david-cermak
150a3ec06a
Merge pull request #577 from david-cermak/fix/clang_tidy_deps
...
CI: Fixed clang-tidy job
2024-05-23 17:48:53 +02:00
Ivan Grokhotkov
c12616c91d
ci: remove libtinfo5 installation step
2024-05-23 17:25:52 +02:00
David Cermak
f05c765e8b
fix(wifi_remote): Do not restrict EPPP config to RSA keys only
...
Now we can use any kind of certificate and keys, as long as they're in
PEM format.
Closes https://github.com/espressif/esp-protocols/issues/570
2024-05-20 15:13:16 +02:00
Suren Gabrielyan
ed021a90d4
Merge pull request #550 from gabsuren/fix_websokcet_params
...
fix(websocket): Fix locking issues of `esp_websocket_client_send_with_exact_opcode` IDF-9380
2024-05-17 13:20:23 +04:00
Suren Gabrielyan
6393fcd79a
fix(websocket): Fix locking issues of esp_websocket_client_send_with_exact_opcode API
...
Extended examples to cover more cases
Added new config CONFIG_ESP_WS_CLIENT_ENABLE_DYNAMIC_BUFFER for testing
2024-05-17 12:37:10 +04:00
Suren Gabrielyan
c9439bd3d5
Merge pull request #571 from gabsuren/mdns_v1.3.1_
...
bump(mdns): 1.3.0 -> 1.3.1
2024-05-14 16:23:35 +04:00
Suren Gabrielyan
2c4c88b4fb
bump(mdns): 1.3.0 -> 1.3.1
...
1.3.1
Bug Fixes
- free txt value len (afd98bb )
2024-05-14 15:00:27 +04:00
Suren Gabrielyan
d45c5cef9a
Merge pull request #569 from DejinChen/fix/free_txt_value_len
...
fix(mdns): free txt value len (IDFGH-12817)
2024-05-14 14:58:31 +04:00
chendejin
afd98bb9c5
fix(mdns): free txt value len
2024-05-10 17:44:48 +08:00
Suren Gabrielyan
8f19c60c19
Merge pull request #567 from gabsuren/CI/idf_5.3
...
ci(common): added idf release-v5.2, release-v5.3 targets(IDF-9875)
2024-05-09 22:40:16 +04:00
Suren Gabrielyan
281e933808
ci(common): added idf release-v5.2, release-v5.3 targets
2024-05-09 20:56:02 +04:00
david-cermak
f4bdf0ab6c
Merge pull request #545 from david-cermak/feat/clang_tidy_check
...
ci(common): Add clang tidy check to esp-protocols
2024-05-09 14:56:01 +02:00
david-cermak
e25b2a1d9d
Merge pull request #568 from david-cermak/bump/wifi_remote_with_eppp
...
[wifi-remote]: Updated eppp dependency and more WiFi functions
2024-05-07 22:53:39 +02:00
David Cermak
608b835680
bump(wifi_remote): 0.2.0 -> 0.2.1
...
0.2.1
Bug Fixes
- Added misc wifi API in eppp impl (93256d1 )
- Updated eppp dependency not to use fixed version (3a48c06 )
2024-05-07 20:06:43 +02:00
David Cermak
93256d159b
fix(wifi_remote): Added misc wifi API in eppp impl
...
Adds missing implementation of:
* esp_wifi_deinit()
* esp_wifi_disconnect()
* esp_wifi_set_storage()
2024-05-07 20:06:24 +02:00
David Cermak
3a48c06e96
fix(wifi_remote): Updated eppp dependency not to use fixed version
2024-05-07 20:06:19 +02:00
david-cermak
e011188377
Merge pull request #566 from david-cermak/feat/eppp_force_lwip_opts
...
[eppp]: Force the `PPP` LWIP opts which are OFF by default
2024-05-07 19:48:18 +02:00
David Cermak
1fb1ea9300
bump(eppp): 0.0.1 -> 0.1.0
...
0.1.0
Features
- Added CI job to build examples and tests (7eefcf0 )
Bug Fixes
- Fixed to select PPP LWIP opts which are OFF by default (16be2f9 )
- Example to use iperf component from the registry (bd6b66d )
- Fixed defalt config designated init issue in C++ (8bd4712 )
2024-05-07 10:32:55 +02:00
David Cermak
16be2f963b
fix(eppp): Fixed to select PPP LWIP opts which are OFF by default
2024-05-07 10:30:43 +02:00
Suren Gabrielyan
d786f0db88
Merge pull request #555 from gabsuren/websocket_keep_alirve
...
feat(websocket): adding support for `keep_alive_enable` when using WSS transport (IDFGH-11457)
2024-05-03 14:49:42 +04:00
david-cermak
f6f6ded001
Merge pull request #560 from david-cermak/fix/ci_build_v5.3
...
Fix CI build per IDFv5.3
2024-05-03 12:44:25 +02:00
David Cermak
eb84eed8d3
ci(common): Add clang tidy check to esp-protocols
2024-04-26 12:39:52 +02:00
David Cermak
5df46437f2
fix(console): Ignore eth_init hidden config warning
2024-04-26 11:57:06 +02:00
David Cermak
bd6b66d9d1
fix(eppp): Example to use iperf component from the registry
2024-04-26 11:32:46 +02:00
David Cermak
d0c17ef0d5
fix(modem): Fix CI build per IDFv5.3
2024-04-26 11:25:30 +02:00
Euripedes
06d013b20b
Merge pull request #557 from euripedesrocha/fix_lastwill
...
Adds missing configuration fields
2024-04-26 02:50:23 -03:00
david-cermak
f032a9f023
Merge pull request #538 from david-cermak/feat/wifi_remote_example
...
[wifi remote]: Add example without `esp_hosted`
2024-04-25 16:03:15 +02:00
David Cermak
d16387859f
bump(wifi_remote): 0.1.12 -> 0.2.0
...
0.2.0
Features
- Add support for simple eppp based RPC (fd168d8 )
Bug Fixes
- Make services restartable, code cleanup (6c82ce2 )
- Add examples to CI (d2b7c55 )
2024-04-25 15:13:49 +02:00
David Cermak
6c82ce2915
fix(wifi_remote): Make services restartable, code cleanup
2024-04-25 15:11:17 +02:00
David Cermak
d2b7c55b89
fix(wifi_remote): Add examples to CI
2024-04-25 15:11:17 +02:00
David Cermak
fd168d86fc
feat(wifi_remote): Add support for simple eppp based RPC
2024-04-25 15:11:09 +02:00
Euripedes Rocha
d4c6d5ed5d
fix(mqtt_cxx): Adds missing configuration fields
...
Some aspects of the underlying mqtt client were not set.
Fix #554
2024-04-22 12:30:20 +02:00
Suren Gabrielyan
c728eae5ea
feat(websocket): adding support for keep_alive_enable when using WSS transport
2024-04-22 10:57:36 +04:00
david-cermak
bd6e120509
Merge pull request #509 from david-cermak/feat/mbedtls_cxx_component
...
fix(tls_cxx): Publish mbedtls-cxx component
2024-04-11 18:32:08 +02:00
David Cermak
13793a8236
bump(tls_cxx): First version [0.1.0]
...
0.1.0
Features
- Publish mbedtls component (0140455f )
2024-04-11 16:52:51 +02:00
David Cermak
0140455ff7
feat(tls_cxx): Publish mbedtls component
...
Adds examples and tests.
Also supports DTLS now.
2024-04-11 16:49:54 +02:00
david-cermak
c4d9cc6beb
Merge pull request #540 from david-cermak/fix/modem_uart_missed_event
...
fix(modem): Fixed UART task to check for buffered data periodically
2024-04-11 14:44:51 +02:00
Suren
887dbcd73b
Merge pull request #549 from gabsuren/mdns_1.3.0
...
bump(mdns): 1.2.5 -> 1.3.0
2024-04-10 14:36:36 +04:00
Suren Gabrielyan
b3ba71ff4d
bump(mdns): 1.2.5 -> 1.3.0
...
1.3.0
Features
- add a new mdns query mode `browse` (af330b6 )
- Make including mdns_console KConfigurable (27adbfe )
Bug Fixes
- Schedule all queued Tx packets from timer task (d4e693e )
- add lock for some common apis (21c84bf )
- fix mdns answer append while host is invalid (7be16bc )
2024-04-10 11:24:25 +04:00
Suren
fbdb2483f5
Merge pull request #522 from zwx1995esp/feature/mdns_add_browse_suport
...
mdns add browse support (IDFGH-12512)
2024-04-10 09:48:55 +04:00
zwx
af330b6396
feat(mdns): add a new mdns query mode browse
2024-04-10 11:23:24 +08:00
david-cermak
0b94d9ec47
Merge pull request #543 from david-cermak/feat/wifi_remote_publish
...
fix(wifi_remote): Publish missing esp_wifi_remote and add to README
2024-04-04 10:46:45 +02:00
david-cermak
f26f2f88c2
Merge pull request #537 from david-cermak/fix/eppp_cxx_init
...
fix(eppp): Fixed default config designated init issue in C++
2024-04-02 14:50:41 +02:00
David Cermak
08d06a4b7d
fix(wifi_remote): Publish missing esp_wifi_remote and add to README
2024-04-02 14:42:31 +02:00
david-cermak
cb682a793e
Merge pull request #516 from david-cermak/feat/wifi_remote
...
New component `esp_wifi_remote`
2024-04-02 12:56:12 +02:00
David Cermak
d053d671f4
bump(wifi_remote): Initial version 0.1.12
...
0.1.12
Features
- Added generation step for wifi_remote based on IDF (dfb00358 )
- Move to esp-protocols (edc3c2d )
2024-04-02 11:21:38 +02:00
David Cermak
16b79d170b
ci(common): Fix changelog: only add newline for new entries
2024-04-02 11:19:30 +02:00
David Cermak
dfb0035858
feat(wifi_remote): Added generation step for wifi_remote based on IDF
2024-04-02 11:19:24 +02:00
Suren
1750a3fda9
Merge pull request #535 from gabsuren/websocket_update
...
bump(websocket): 1.2.2 -> 1.2.3
2024-03-27 17:35:52 +04:00
Suren
2a3db45ef1
Merge pull request #541 from gabsuren/websocket_host_example_4
...
fix(websocket): fix of websocket host build
2024-03-26 20:33:55 +04:00
Suren Gabrielyan
fcc61e0929
fix(websocket): fix of websocket host build
2024-03-26 19:00:03 +04:00
David Cermak
4bdd90cc88
fix(modem): Fixed UART task to check for buffered data periodically
...
Closes https://github.com/espressif/esp-protocols/issues/536
2024-03-26 14:44:59 +01:00
Suren
14763888ed
Merge pull request #534 from gabsuren/mdns_docs
...
fix(mdns): updated the document to clarify service advertisment prerequisite (IDFGH-6982)
2024-03-26 13:15:21 +04:00
david-cermak
a5954dda17
Merge pull request #533 from david-cermak/fix/mdns_process_tx_packets
...
fix(mdns): Schedule all queued Tx packets from timer task
2024-03-26 10:12:41 +01:00
David Cermak
8bd4712677
fix(eppp): Fixed defalt config designated init issue in C++
2024-03-25 12:48:41 +01:00
Suren Gabrielyan
a65d81c954
bump(websocket): 1.2.2 -> 1.2.3
...
1.2.3
Features
- Expanded example to demonstrate the transfer over TLS (0d0630ed76 )
Bug Fixes
- fix esp_event dependency management (1fb02a9a60 )
- Skip warn on zero timeout and auto reconnect is disabled (5b467cbf5c )
- Fixed to use int return value in Tx functions (9c54b72e1f )
- Fixed Tx functions with DYNAMIC_BUFFER (16174470ee )
- added dependency checks, sdkconfig.defaults and refined README.md (312982e4aa )
- Close websocket and dispatch event if server does not close within a reasonable amount of time. (d85311880d )
- Continue waiting for TCP connection to be closed (2b092e0db4 )
Updated
- docs(websocket): Added README for websocket host example (2f7c58259d )
2024-03-22 14:37:13 +04:00
Suren Gabrielyan
2585565483
fix(mdns): updated the document to clarify service advertisment prerequisite (IDFGH-6982)
2024-03-22 11:57:24 +04:00
david-cermak
b9c675b0b1
Merge pull request #523 from bryghtlabs-richard/master
...
fix(websocket): fix esp_event dependency management (IDFGH-12301) (IDFGH-12302)
2024-03-20 19:09:29 +01:00
David Cermak
d4e693e392
fix(mdns): Schedule all queued Tx packets from timer task
...
Co-Authored-By: not-my-real-name <none@interent.com >
Partially addresses: https://github.com/espressif/esp-idf/issues/13333
2024-03-20 11:47:29 +01:00
david-cermak
963b32e7b4
Merge pull request #497 from rretanubun/make-mdns-console-kcconfig
...
feat(mdns): Make including mdns_console KConfig (IDFGH-11988)
2024-03-20 09:39:34 +01:00
david-cermak
cffe26818b
Merge pull request #531 from david-cermak/fix/modem_minor_prs
...
[esp_modem]: Accept some PRs
2024-03-18 16:34:21 +01:00
diplfranzhoepfinger
08a62ccc85
fix(modem): Cleanup unused configs from PPPoS example
...
Merges https://github.com/espressif/esp-protocols/pull/403
2024-03-18 14:10:46 +01:00
Franz Höpfinger
56fe53279e
fix(modem): Update CMUX example with SIM7070_gnss cleaned-up
...
Merges https://github.com/espressif/esp-protocols/pull/246
2024-03-18 14:10:46 +01:00
Franz Höpfinger
5baaf54291
fix(modem): Update console example with SIM7070_gnss format comments
...
Merges https://github.com/espressif/esp-protocols/pull/245
2024-03-18 14:10:46 +01:00
david-cermak
38de23fb1c
Merge pull request #532 from gabsuren/ci_fix_modem
...
fix(modem): install requirements.txt for modem target tests
2024-03-18 14:09:53 +01:00
Suren Gabrielyan
84390eb4d4
fix(modem): install requirements.txt for modem target tests
2024-03-18 15:18:44 +04:00
Suren
4e844936b7
Merge pull request #529 from zwx1995esp/fix/add_lock_for_mdns_common_api
...
fix(mdns): add lock for some common apis (IDFGH-12338)
2024-03-15 11:14:16 +04:00
zwx
21c84bfa8d
fix(mdns): add lock for some common apis
2024-03-14 17:53:05 +08:00
Suren
438449f58f
Merge pull request #454 from gabsuren/modem/latest_version
...
feat(modem): host test support of the latest ESP-IDF release (IDF-7828)
2024-03-14 13:49:05 +04:00
Suren Gabrielyan
a23a0027fa
ci(common): updated github actions(checkout, upload, download) v3 to 4, Ubuntu 20.04 to v22.04
2024-03-12 14:22:01 +04:00
Suren Gabrielyan
3f74b4e8c0
feat(modem): host test support of the latest ESP-IDF release
2024-03-12 12:05:59 +04:00
Suren
46a6244c37
Merge pull request #526 from zwx1995esp/fix/mdns_send_answer_while_host_is_invalid
...
fix(mdns): fix mdns answer append while host is invalid
2024-03-12 10:26:02 +04:00
zwx
7be16bcc88
fix(mdns): fix mdns answer append while host is invalid
2024-03-11 20:26:38 +08:00
Richard Allen
1fb02a9a60
fix(websocket): fix esp_event dependency management
...
Move esp_event from PRIV_REQUIRES to REQUIRES, as it is
included by esp_websocket_client.h, so any code including
that header also requires esp_event.
This resolves the following build error for files not
explicitly requiring esp_event:
ninja: build stopped: subcommand failed.
Compilation failed because esp_websocket_client.h (in "espressif__esp_websocket_client" component) includes esp_event.h, provided by esp_event component(s).
However, esp_event component(s) is in the private requirements list of "espressif__esp_websocket_client".
To fix this, move esp_event from PRIV_REQUIRES into REQUIRES list of idf_component_register call in ...\managed_components\espressif__esp_websocket_client\CMakeLists.txt.
ninja failed with exit code 1, output of the command is in...
2024-03-08 10:10:48 -06:00
Suren
b5be844c92
Merge pull request #521 from johanstokking/fix/websocket/reconnect-timeout-warning
...
fix(websocket): Skip warn on zero timeout and auto reconnect is disabled (IDFGH-12288)
2024-03-07 11:49:18 +04:00
Johan Stokking
5b467cbf5c
fix(websocket): Skip warn on zero timeout and auto reconnect is disabled
2024-03-06 22:20:48 +01:00
Suren
f8a776d8a5
Merge pull request #519 from gabsuren/mdns1.2.5
...
bump(mdns): 1.2.4 -> 1.2.5
2024-03-06 10:56:24 +04:00
Suren Gabrielyan
a82c7922aa
bump(mdns): 1.2.4 -> 1.2.5
...
1.2.5
Bug Fixes
- Fixed build issues for targets without WiFi caps (302b46f )
2024-03-06 10:32:17 +04:00
david-cermak
d31ad025c8
Merge pull request #515 from david-cermak/fix/ws_dyn_buffer
...
[ws-client]: Fix usage of the dynamic buffer
2024-03-05 16:25:51 +01:00
david-cermak
4977f96a61
Merge pull request #517 from david-cermak/fix/examples_format_warn
...
Fix remaining format warnings
2024-03-05 15:02:44 +01:00
Suren
dcdf31187a
Merge pull request #518 from gabsuren/mdns_docs_update
...
fix(mdns): updated the document to clarify self-querying mechanism (IDFGH-7528)
2024-03-05 14:23:06 +04:00
Suren Gabrielyan
b6bbe47cae
fix(mdns): updated the document to clarify self-querying mechanism
2024-03-05 12:38:07 +04:00
David Cermak
302b46f8e2
fix(mdns): Fixed build issues for targets without WiFi caps
2024-03-01 10:24:29 +01:00
David Cermak
45b1597ac3
fix(examples): Fix SLIP example print format warnings
2024-03-01 10:08:27 +01:00
David Cermak
a06de6431b
fix(examples): Fix MQTT example print format warnings
...
Partially addresses https://github.com/espressif/esp-protocols/issues/79
2024-02-28 19:25:28 +01:00
David Cermak
3b80181d30
fix(modem): Fix remaining print format warnings
...
Partially addresses https://github.com/espressif/esp-protocols/issues/79
2024-02-28 19:24:52 +01:00
Yogesh Mantri
edc3c2dee0
feat(wifi_remote): Move to esp-protocols
2024-02-28 18:44:19 +01:00
David Cermak
943b683d38
fix(wifi_remote): Support for wifi_native injection
2024-02-28 18:37:16 +01:00
David Cermak
d0ace0d1c9
feat(wifi_remote): Initial stubs for wifi-remote
2024-02-28 18:30:47 +01:00
David Cermak
9c54b72e1f
fix(websocket): Fixed to use int return value in Tx functions
2024-02-28 12:48:06 +01:00
David Cermak
16174470ee
fix(websocket): Fixed Tx functions with DYNAMIC_BUFFER
2024-02-28 12:47:59 +01:00
david-cermak
a363beea6f
Merge pull request #462 from david-cermak/feat/eppp_link
...
New component ESP-PPP-Link
2024-02-23 12:22:43 +01:00
David Cermak
a8035c21a2
bump(eppp): Published ESP-PPP-Link as eppp-v0.0.1
2024-02-23 12:05:21 +01:00
David Cermak
7eefcf084e
feat(eppp): Added CI job to build examples and tests
2024-02-23 12:05:02 +01:00
David Cermak
18f845275f
feat(eppp): Added support for SPI transport
2024-02-23 11:47:22 +01:00
David Cermak
ad27414a64
feat(eppp): Added support for UART transport
2024-02-23 11:47:15 +01:00
David Cermak
a7610395ef
feat(eppp): Introduced ESP-PPP-Link component
2024-02-23 11:11:49 +01:00
Suren
9b7c8755e9
Merge pull request #506 from gabsuren/websocket_ssl_example
...
feat(websocket): Expanded example to demonstrate the transfer over TLS (IDFGH-11681)
2024-02-23 12:39:05 +04:00
Suren Gabrielyan
0d0630ed76
feat(websocket): Expanded example to demonstrate the transfer over TLS
2024-02-23 12:08:41 +04:00
david-cermak
38a3631a27
Merge pull request #495 from eht-datarespons/master
...
fix(websocket): Continue waiting for TCP connection to be closed (IDFGH-11965)
2024-02-08 14:37:44 +01:00
Suren
96f4ebd994
Merge pull request #504 from gabsuren/mdns_1.2.4
...
bump(mdns): 1.2.3 -> 1.2.4
2024-02-08 16:39:33 +04:00
Suren Gabrielyan
247ca41bb7
bump(mdns): 1.2.3 -> 1.2.4
...
1.2.4
Bug Fixes
- Correction on 6d2c475 MDNS_PREDEF_NETIF_ETH fix (fc59f87c4e )
- fix the logic of creating pcb for networking socket (5000a9a20a )
- fix compiling issue when disabling IPv4 (2646dcd23a )
- Fix compile error when MDNS_PREDEF_NETIF_ETH is defined, but ETH_ENABLED is not (#459 ) (6d2c475c20 )
2024-02-06 11:51:38 +04:00
Suren
891384cc53
Merge pull request #414 from wqx6/fix/mdns_disable_ipv4
...
fix(mdns): fix compiling issue when disabling IPv4 (IDFGH-11453)
2024-02-06 11:45:45 +04:00
Suren
38ef603296
Merge pull request #500 from gabsuren/websocket_linux
...
fix(websocket): added dependency checks, sdkconfig.defaults and refined README.md
2024-02-05 14:05:00 +04:00
Suren Gabrielyan
312982e4aa
fix(websocket): added dependency checks, sdkconfig.defaults and refined README.md
2024-02-05 13:22:39 +04:00
Suren
d9d377133e
Merge pull request #501 from gabsuren/update_examples
...
docs(common): Enhance documentation clarity in the examples directory
2024-02-05 13:16:47 +04:00
Suren Gabrielyan
110536ebb2
docs(common): Enhance documentation clarity in the examples directory
2024-02-05 13:15:25 +04:00
Eldar Hauge Torkelsen
d85311880d
fix(websocket): Close websocket and dispatch event if server does not close within a reasonable amount of time.
2024-01-29 08:01:39 +01:00
Richard Retanubun
27adbfeb3b
feat(mdns): Make including mdns_console KConfigurable
...
The CLI that mdns_console offers is very useful for debugging
and bootstrapping mDNS onto new projects, but some projects
may not want console CLI in place to reduce binary size.
This gives a KConfig option to do so.
2024-01-26 13:35:47 -05:00
Suren
5ba7cfab8e
Merge pull request #496 from gabsuren/readme_websocket_linux
...
docs(websocket): Added README for websocket host example (IDF-9115)
2024-01-26 20:31:15 +04:00
Suren Gabrielyan
2f7c58259d
docs(websocket): Added README for websocket host example
2024-01-26 20:29:28 +04:00
Eldar Hauge Torkelsen
2b092e0db4
fix(websocket): Continue waiting for TCP connection to be closed
...
Prevents an issue where WEBSOCKET_EVENT_CLOSED is not sent after
websocket is closed.
2024-01-23 14:58:27 +01:00
david-cermak
f42c0adfc0
Merge pull request #494 from david-cermak/bump/modem_v1.1
...
bump(modem): 1.0.5 -> 1.1.0
2024-01-22 17:08:55 +01:00
David Cermak
2782277f3f
bump(modem): 1.0.5 -> 1.1.0
...
1.1.0
Features
- Added support for at_raw() command (ae38110 , #471 )
- Added iperf test for PPP netifs (976e98d )
- Added test that performs OTA to exercise modem layers (f2223dd )
Bug Fixes
- Fixed OTA test to gracefully fail with no verification (1dc4299 )
- Added C-API to configure APN (ce7dadd , #485 )
- Fixed AT commands to copy strings to prevent overrides (741d166 , #463 )
- Fixed incorrect dial command format (0998f3d , #433 )
- Fixed documentation and example on creating custom device (577de67 , #452 )
- Removed CI jobs for IDF v4.2 (d88cd61 )
- Fixed OAT test to verify server cert and CN (edc3e72 )
- Fixed set_pdp_context() command timeout (1d80cbc , #455 )
Updated
- docs(modem): Added description of manual test procedure (68ce794 )
2024-01-22 16:33:07 +01:00
david-cermak
3225f40c22
Merge pull request #491 from david-cermak/feat/modem_set_apn
...
fix(modem): Added C-API to configure APN
2024-01-22 16:05:51 +01:00
Suren
d63f831fff
Merge pull request #466 from gabsuren/websocket_bump_1.2.2
...
bump(websocket): 1.2.1 -> 1.2.2
2024-01-19 19:27:37 +04:00
Euripedes
f62db5cfa2
Merge pull request #492 from euripedesrocha/mqttcxx_0_3_0
...
bump(mqtt_cxx): 0.2.0 -> 0.3.0
2024-01-19 08:42:52 -03:00
David Cermak
68ce794098
docs(modem): Added description of manual test procedure
2024-01-19 11:16:18 +01:00
Euripedes Rocha
60174f290e
bump(mqtt_cxx): 0.2.0 -> 0.3.0
...
0.3.0
Bug Fixes
- Incorrect documentation link (aa4e9d57 )
- reference protocol_examples_common from IDF (e6c0538d )
- specify override_path in example manifest files (fa005c63 )
2024-01-19 09:43:07 +01:00
david-cermak
efa26b7062
Merge pull request #484 from david-cermak/fix/modem_docs_ota
...
fix(modem): Documented some tips on failing OTA
2024-01-18 17:43:03 +01:00
Euripedes
7b777948fc
Merge pull request #487 from euripedesrocha/mqttcxx_link_fix
...
Incorrect documentation link
2024-01-18 05:10:23 -03:00
David Cermak
1dc4299eb0
fix(modem): Fixed OTA test to gracefully fail with no verification
2024-01-17 17:43:47 +01:00
David Cermak
ce7daddc77
fix(modem): Added C-API to configure APN
...
Closes https://github.com/espressif/esp-protocols/issues/485
2024-01-17 14:30:05 +01:00
david-cermak
09e68cc0c0
Merge pull request #490 from david-cermak/fix/mdns_eth
...
fix(mdns): Correction on 6d2c475 MDNS_PREDEF_NETIF_ETH fix
2024-01-17 12:53:14 +01:00
David Cermak
fc59f87c4e
fix(mdns): Correction on 6d2c475 MDNS_PREDEF_NETIF_ETH fix
2024-01-17 11:51:17 +01:00
david-cermak
7a2b23909f
Merge pull request #489 from espressif/revert-478-component/console_cmd_iperf
...
Revert "feat(console): Added component with iperf command"
2024-01-17 10:24:17 +01:00
Abhik Roy
d3bf773445
Revert "feat(console): Added component with iperf command"
2024-01-17 20:20:30 +11:00
david-cermak
1c29af9237
Merge pull request #472 from david-cermak/fix/modem_at_corrupt_response
...
fix(modem): Fixed AT commands to copy strings to prevent overrides
2024-01-17 09:48:24 +01:00
david-cermak
b53981a68c
Merge pull request #479 from marekmaskarinec/master
...
fix(mdns): Fix compile error when MDNS_PREDEF_NETIF_ETH is defined, but ETH_ENABLED is not (IDFGH-11868)
2024-01-17 09:48:05 +01:00
WanqQixiang
5000a9a20a
fix(mdns): fix the logic of creating pcb for networking socket
2024-01-17 10:48:40 +08:00
WanqQixiang
2646dcd23a
fix(mdns): fix compiling issue when disabling IPv4
2024-01-17 10:48:40 +08:00
Abhik Roy
de8ec67a88
Merge pull request #478 from espressif-abhikroy/component/console_cmd_iperf
...
feat(console): Added component with iperf command
2024-01-17 00:53:56 +11:00
Suren
8dac30781c
Merge pull request #488 from gabsuren/fix_docs
...
docs(common): Added package requirements.txt for esp-docs
2024-01-16 16:59:05 +04:00
Suren Gabrielyan
ba3f06f942
docs(common): Added package requirements.txt for esp-docs
2024-01-16 16:57:58 +04:00
Abhik Roy
a10f0008fb
bump(console): First version [1.0.0]
...
1.0.0
Features
- Added component with iperf command (93d14087 )
2024-01-16 20:27:56 +11:00
David Cermak
741d166034
fix(modem): Fixed AT commands to copy strings to prevent overrides
...
Previously we used std::string_view, which pointed to the lower-layers
buffer which might have been reused for other asynchronous operations
before processing it, thus causing corruption of replies.
Closes https://github.com/espressif/esp-protocols/issues/463
2024-01-16 09:51:51 +01:00
Abhik Roy
93d140875f
feat(console): Added component with iperf command
2024-01-16 19:18:01 +11:00
Suren Gabrielyan
eb7699388c
bump(websocket): 1.2.1 -> 1.2.2
...
1.2.2
Bug Fixes
- continuation after FIN in websocket client (#460 ) (774d1c75e6 )
- Re-applie refs to common comps idf_component.yml (9fe44a4504 )
2024-01-16 12:17:25 +04:00
david-cermak
585e4b30b2
Merge pull request #483 from espressif-abhikroy/ci/build_app_failure_fix
...
fix(common): Fixed scripts for build test failure
2024-01-16 09:07:14 +01:00
Euripedes Rocha
aa4e9d5795
fix(mqtt_cxx): Incorrect documentation link
...
- Link in the component README was incorrect.
Fixes #486
2024-01-16 08:41:55 +01:00
Marek Maškarinec
6d2c475c20
fix(mdns): Fix compile error when MDNS_PREDEF_NETIF_ETH is defined, but ETH_ENABLED is not ( #459 )
...
Signed-off-by: Marek Maškarinec <marek@mrms.cz >
2024-01-15 16:50:44 +01:00
Abhik Roy
47736a2556
fix(common): Fixed scripts for build test failure
2024-01-16 01:59:11 +11:00
David Cermak
adde6df6e8
fix(modem): Documented some tips on failing OTA
...
Closes https://github.com/espressif/esp-protocols/issues/482
2024-01-15 14:58:03 +01:00
david-cermak
1393764dc5
Merge pull request #477 from david-cermak/feat/modem_at_raw
...
feat(modem): Added support for at_raw() command
2024-01-15 12:31:18 +01:00
David Cermak
0998f3dd4f
fix(modem): Fixed incorrect dial command format
...
ATD command is used to switch generic device to the data mode
by dialing GPRS_SRC. The generic version of the command was incorrect
`ATD*99##` (containing extra trailing # char, which is accepted by most
devices). Command has been fixed, but the extra #'s been kept for devices
that we cannot test (to be fixed in IDFGH-9470).
Closes https://github.com/espressif/esp-protocols/issues/433
2024-01-09 12:48:16 +01:00
David Cermak
577de67c0e
fix(modem): Fixed documentation and example on creating custom device
...
Updates docs and examples per recent changes:
* Modem example does no longer demonstrate how to overwrite an AT method
* PPPoS client example now contains much simpler custom module
definition
Closes https://github.com/espressif/esp-protocols/issues/452
2024-01-09 10:26:39 +01:00
David Cermak
ae38110d84
feat(modem): Added support for at_raw() command
...
at_raw() sends raw string and supports custom pass/fail phrases for the
API to return OK/FAIL. It also returns raw, unprocessed string as
output.
This allows sending custom requests, such as:
* dce->at_raw("", resp, "RDY", "...", 20000) -- waiting for reset
* esp_modem_at_raw(dce, "+++", resp, "DISCONNECTED", "ERROR", 5000) --
exits PPP mode
Closes https://github.com/espressif/esp-protocols/issues/471
Partially addresses https://github.com/espressif/esp-protocols/issues/468
2024-01-09 08:20:10 +01:00
david-cermak
5ab699d6f4
Merge pull request #354 from david-cermak/feat/modem_iperf_test
...
feat(modem): Add iperf test of PPP netif
2024-01-08 16:48:02 +01:00
David Cermak
976e98d6ff
feat(modem): Added iperf test for PPP netifs
2024-01-08 16:22:22 +01:00
david-cermak
18b2ae103a
Merge pull request #476 from david-cermak/fix/ci_examples
...
fix(examples): Fixed esp_netif_next() warning with IDFv5.3
2024-01-08 12:48:30 +01:00
David Cermak
52a34c21d0
fix(examples): Fixed esp_netif_next() warning with IDFv5.3
2024-01-08 08:02:20 +01:00
Suren
9df86641f3
Merge pull request #475 from gabsuren/bump_mdns__v1.2.3
...
bump(mdns): 1.2.2 -> 1.2.3
2024-01-05 14:22:25 +04:00
Suren Gabrielyan
75af01670e
bump(mdns): 1.2.2 -> 1.2.3
...
1.2.3
Bug Fixes
- fixed CI issues for host and afl tests (4be5efc84e )
- fix copy delegated host addr (19fb36000c )
- enable CONFIG_ESP_WIFI_ENABLED if CONFIG_SOC_WIFI_SUPPORTED is also enabled (for ESP-IDF <= 5.1) (d20a718320 )
- remove protocol_examples_common (1ee9dae6bf )
- move the example into a subdirectory (d28232b9f8 )
- reference protocol_examples_common from IDF (c83b76ea8f )
2024-01-05 14:00:34 +04:00
Abhik Roy
bf79e2f734
Merge pull request #465 from espressif-abhikroy/component/ifconfig_bug_fix
...
fix(console): Fixed ifconfig command for PPP interface and IPv4 only
2024-01-05 19:36:46 +11:00
Abhik Roy
a22c9e8da9
bump(console): 1.0.0 -> 1.0.1
...
1.0.1
Bug Fixes
- Fixed ifconfig command for PPP interface and IPv4 only (8548dabb )
2024-01-05 19:27:16 +11:00
Abhik Roy
8548dabbd6
fix(console): Fixed ifconfig command for PPP interface and IPv4 only
2024-01-05 19:23:52 +11:00
Suren
d2e4370d30
Merge pull request #469 from DejinChen/component/mdns_host_address_fix
...
fix(mdns): fix copy delegated host addr (IDFGH-11829)
2024-01-04 21:13:58 +04:00
Suren
e4c353760c
Merge pull request #473 from gabsuren/mdns_fix_kconfig
...
fix(mdns): fixed CI issues for host and afl tests
2024-01-04 21:12:46 +04:00
Suren Gabrielyan
4be5efc84e
fix(mdns): fixed CI issues for host and afl tests
2024-01-04 17:46:18 +04:00
david-cermak
7451ec2a75
Merge pull request #363 from david-cermak/feat/modem_test_ota
...
feat(modem): Add OTA test to exercise modem layers
2024-01-03 21:27:36 +01:00
chendejin
19fb36000c
fix(mdns): fix copy delegated host addr
2024-01-03 17:12:41 +08:00
Abhik Roy
7d0eb5c48c
Merge pull request #467 from espressif-abhikroy/component/console_cmd_wifi
...
fix(console): Fixed license file for console_cmd_wifi
2024-01-03 18:59:32 +11:00
Abhik Roy
a0a58e60b5
bump(console): 1.0.0 -> 1.0.1
...
1.0.1
Features
- Console for runtime wifi configuration (194d1179 )
Bug Fixes
- Fixed license file for console_cmd_wifi (8285e973 )
2023-12-23 21:19:53 +11:00
Abhik Roy
8285e9730f
fix(console): Fixed license file for console_cmd_wifi
2023-12-23 21:19:30 +11:00
Abhik Roy
cf845cc23e
Merge pull request #453 from espressif-abhikroy/component/console_cmd_wifi
...
feat(console): Console for runtime wifi configuration
2023-12-22 23:54:09 +11:00
Abhik Roy
a532e76ec1
bump(console): First version [1.0.0]
...
1.0.0
Features
- Console for runtime wifi configuration (194d1179 )
2023-12-22 23:48:44 +11:00
Abhik Roy
194d1179bf
feat(console): Console for runtime wifi configuration
2023-12-22 23:44:16 +11:00
Suren
aadda22961
Merge pull request #461 from 0xFEEDC0DE64/fix-websocket-client-fin
...
fix(websocket): continuation after FIN in websocket client (#460 ) (IDFGH-11761)
2023-12-22 14:45:51 +04:00
david-cermak
a6845f4cdd
Merge pull request #456 from david-cermak/fix/modem_pdp_context_timeout
...
fix(modem): Fixed set_pdp_context() command timeout
2023-12-21 07:21:31 +01:00
David Cermak
d88cd6123b
fix(modem): Removed CI jobs for IDF v4.2
2023-12-19 17:01:51 +01:00
David Cermak
10bb738911
fix(modem): Added CI jobs to build all tests for all targets
2023-12-19 17:01:51 +01:00
David Cermak
edc3e7251f
fix(modem): Fixed OAT test to verify server cert and CN
2023-12-19 17:01:30 +01:00
774d1c75e6
fix: continuation after FIN in websocket client ( #460 )
2023-12-19 17:00:17 +01:00
David Cermak
f2223dd719
feat(modem): Added test that performs OTA to exercise modem layers
2023-12-19 16:55:34 +01:00
David Cermak
1d80cbc179
fix(modem): Fixed set_pdp_context() command timeout
...
Closes https://github.com/espressif/esp-protocols/issues/455
2023-12-19 16:43:59 +01:00
david-cermak
82c2cf8936
Merge pull request #451 from david-cermak/bump/modem_1.0.5
...
bump(modem): 1.0.4 -> 1.0.5
2023-12-06 09:54:37 +01:00
David Cermak
997cff5338
bump(modem): 1.0.4 -> 1.0.5
...
1.0.5
Major changes
- Added support for implementing user defined modules in standard C-API (Support for custom modules with C-API)
Bug Fixes
- Added test injecting unexpected replies (b220d1e , #426 )
- Fixed inconsistent state on data after OK (bf99f28 , #426 )
- TLS example: Added restore session support in mbedtls-wrap (79d38e5 )
- Fixed examples to show netif on ppp-changed event (a70b197 )
- remove unused GNU Make based buildsystem files (d6b6f63 )
- specify override_path in example manifest files (5b78da4 )
- Added test-cases that exercise mode transitions (aff571d )
- Fixed mode transitions between any state and UNDEF (93cb2ca , #320 )
- Fixed API docs within doxygen comments (020b407 )
- Support for custom modules with C-API (0254d50 )
- Fix CRLF issue with esp_modem_c_api.cpp (2661b4d )
Updated
- ci(common): Created reusable action for host and coverage tests (9ad04de )
2023-12-06 09:22:39 +01:00
david-cermak
ed8bbf2666
Merge pull request #447 from david-cermak/fix/modem_command_state_consistent_test
...
fix(modem): Added test injecting unexpected replies
2023-12-06 09:20:27 +01:00
David Cermak
b220d1ee5e
fix(modem): Added test injecting unexpected replies
...
This test exhibits an issue of getting unexpected data just after
completing a command. The DTE rewrites the state to TIMEOUT, but the
signal has been already triggered, thus results in an unexpected state.
Related to Closes https://github.com/espressif/esp-protocols/issues/426
2023-12-06 09:09:47 +01:00
david-cermak
671190bc6d
Merge pull request #446 from david-cermak/fix/modem_command_state_consistency
...
fix(modem): Fixed inconsistent state on data after OK
2023-12-06 09:06:23 +01:00
david-cermak
1bf6843b3e
Merge pull request #332 from espressif-abhikroy/components/console_cmd_ifconfig
...
Added component: Console for runtime network interface configuration
2023-11-30 08:23:15 +01:00
david-cermak
b78569860d
Merge pull request #438 from espressif-abhikroy/components/console_cmd_ping
...
bump(console): First version [1.0.0]
2023-11-30 08:19:43 +01:00
Abhik Roy
27f955abfa
bump(console): First version [1.0.0]
...
1.0.0
Features
- Added ping command to console component (7babdeb9 )
2023-11-30 18:14:59 +11:00
David Cermak
bf99f287bc
fix(modem): Fixed inconsistent state on data after OK
...
If we received response in two chunks and the first one completes the
command (result=OK or FAIL), and the second chunk pre-empts command processing,
then we performed processing again rewritting the result back to
TIMEOUT. This would invalidate the command, but also causes an
exception: ESP_MODEM_THROW_IF_ERROR(ESP_ERR_INVALID_STATE)
Fixed by checking if the processing already finished in process_line().
Closes https://github.com/espressif/esp-protocols/issues/426
2023-11-29 20:24:53 +01:00
david-cermak
909e8d9494
Merge pull request #441 from david-cermak/fix/apply_examples_idf_component_refs
...
fix(common): Re-applied refs to common comps idf_component.yml
2023-11-28 17:44:13 +01:00
david-cermak
0c6bb4bedc
Merge pull request #360 from david-cermak/fix/modem_example_mbedtls_wrapper
...
fix(modem): TLS example: Add restore session support in mbedtls wrapper
2023-11-28 17:12:10 +01:00
david-cermak
afbca5343e
Merge pull request #416 from david-cermak/fix/modem_undef_mode
...
fix(modem): Fixed mode transitions between any state and UNDEF
2023-11-28 17:11:43 +01:00
Suren
3f49583761
Merge pull request #443 from gabsuren/websocket_1.2.1
...
bump(websocket): 1.2.0 -> 1.2.1
2023-11-28 17:20:14 +04:00
Suren Gabrielyan
c6448c3bd1
bump(websocket): 1.2.0 -> 1.2.1
...
1.2.1
Bug Fixes
- consider failure if return value of `esp_websocket_client_send_with_exact_opcode` less than 0 (f523b4d )
- fix of return value for `esp_websocket_client_send_with_opcode` API (ba33588 )
2023-11-28 16:42:55 +04:00
Suren Gabrielyan
f523b4dc84
fix(websocket): consider failure if return value of esp_websocket_client_send_with_exact_opcode less than 0
2023-11-28 16:40:10 +04:00
Suren
6fda4c134e
Merge pull request #442 from gabsuren/fix/websocket_return_opcode
...
fix(websocket): fix of return value for `esp_websocket_client_send_with_opcode` API (IDF-8745)
2023-11-28 15:51:27 +04:00
Suren Gabrielyan
ba33588008
fix(websocket): fix of return value for esp_websocket_client_send_with_opcode API
2023-11-28 12:37:31 +04:00
David Cermak
9fe44a4504
fix(common): Re-applie refs to common comps idf_component.yml
...
This reverts commit 74fc228cdf .
This reverts commit b176d3abbb .
This reverts commit f9e0281a04 .
2023-11-28 09:32:52 +01:00
Abhik Roy
76a4a9f97a
bump(console): First version [1.0.0]
...
1.0.0
Features
- Console for runtime network interface configuration and monitoring (8bab1420 )
2023-11-24 22:12:33 +11:00
Abhik Roy
8bab1420d3
feat(console): Console for runtime network interface configuration and monitoring
2023-11-24 20:07:33 +11:00
David Cermak
79d38e54f2
fix(modem): TLS example: Added restore session support in mbedtls-wrap
...
Reusable component in modem_tcp_client example implements a simple
mbedtls wrapper. This update add support for mbedtls deinit() and for
saving and restoring TLS session.
2023-11-23 09:56:01 +01:00
David Cermak
5396de42d0
docs(modem): Added documentation about mode transitions
...
Closes https://github.com/espressif/esp-protocols/issues/318
2023-11-07 12:35:06 +01:00
David Cermak
aff571df2c
fix(modem): Added test-cases that exercise mode transitions
2023-11-07 12:35:06 +01:00
David Cermak
93cb2caadb
fix(modem): Fixed mode transitions between any state and UNDEF
...
Closes https://github.com/espressif/esp-protocols/issues/320
2023-11-07 12:35:00 +01:00