david-cermak
752ac663a5
Merge pull request #934 from david-cermak/bump/modem_1.4.2
...
[modem]: Release `v1.4.2`
2025-11-06 09:18:28 +01:00
David Cermak
9cd7b2ad60
bump(modem): 1.4.1 -> 1.4.2
...
1.4.2
Bug Fixes
- CEREG parsing fails due to incorrect state index (a80a3cbb )
2025-11-06 07:43:15 +01:00
david-cermak
309ba9e2b2
Merge pull request #922 from JellevanKraaij/release-modem-v1.4
...
fix(modem): CEREG parsing fails due to incorrect state index (IDFGH-16681) (IDFGH-16682)
2025-11-05 15:31:26 +01:00
Jelle van Kraaij
a80a3cbb1e
fix(modem): CEREG parsing fails due to incorrect state index
2025-10-27 16:31:57 +01:00
david-cermak
2cc7c99664
Merge pull request #908 from david-cermak/update/modem_v1.4.1
...
[modem]: Fix version v1.4.1 from `release-modem-v1.4` branch
2025-10-13 18:49:36 +02:00
David Cermak
07be98ebc3
bump(modem): 1.4.0 -> 1.4.1
...
1.4.1
Bug Fixes
- Remove unused kconfig (97194507 )
- Fix modem console dependencies (0d17f19f )
- Fix CI build issues with IDFv6.0 (d65f8f69 )
- Address build issues (b4520660 )
- Fix driver dependency issue on v6.0 (26b3859c )
2025-10-13 09:54:28 +02:00
David Cermak
9719450778
fix(modem): Remove unused kconfig
2025-10-13 09:53:14 +02:00
David Cermak
aa94e168d8
fix(modem): Ignore more build warnings
2025-10-13 09:53:14 +02:00
David Cermak
0d17f19f8d
fix(modem): Fix modem console dependencies
2025-10-13 09:53:14 +02:00
David Cermak
d65f8f6986
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-10-13 09:53:14 +02:00
David Cermak
8b58f03a2b
fix(modem): Remove pre-commit check on release branch
2025-10-13 09:53:14 +02:00
David Cermak
6a8aeb6c9b
fix(common): Build and deploy only docs for tagged components
2025-10-13 09:53:14 +02:00
David Cermak
b452066087
fix(modem): Address build issues
2025-10-13 09:53:14 +02:00
David Cermak
5179f55202
fix(ci): Add modem release branch to publish jobs
2025-10-13 09:53:14 +02:00
David Cermak
26b3859cfb
fix(modem): Fix driver dependency issue on v6.0
2025-10-13 09:53:08 +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
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
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
david-cermak
9758379921
Merge pull request #440 from david-cermak/fix/revert_example_common_comp_refs
...
Temporarily revert IDF component references in examples
2023-11-28 08:15:28 +01:00
David Cermak
f52a38ba34
bump(websocket): 1.1.0 -> 1.2.0
...
1.2.0
Features
- Added new API `esp_websocket_client_append_header` (39e9725 )
- Added new APIs to support fragmented messages transmission (fae80e2 )
Bug Fixes
- Reference common component from IDF (74fc228 )
- Revert referencing protocol_examples_common from IDF (b176d3a )
- reference protocol_examples_common from IDF (025ede1 )
- specify override_path in example manifests (d5e7898 )
- Return status code correctly on esp_websocket_client_send_with_opcode (ac8f1de )
- Fix pytest exclusion, gitignore, and changelog checks (2696221 )
2023-11-28 07:42:49 +01:00
David Cermak
74fc228cdf
fix(common): Reference common component from IDF
2023-11-28 07:42:28 +01:00
David Cermak
b176d3abbb
fix(websocket): Revert referencing protocol_examples_common from IDF
...
This reverts commit 025ede12e8 .
2023-11-28 07:23:32 +01:00
David Cermak
f9e0281a04
fix(asio): Revert referencing protocol_examples_common from IDF
...
This reverts commit 09abb18be6 .
2023-11-28 07:21:56 +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
Abhik Roy
9c555b90d4
Merge pull request #385 from espressif-abhikroy/components/console_cmd_ping
...
feat(console): Added ping command to console component
2023-11-23 19:58: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
Abhik Roy
7babdeb970
feat(console): Added ping command to console component
2023-11-23 01:17:43 +11:00
david-cermak
7faa97450b
Merge pull request #434 from david-cermak/bugfix/modem_examples_print_netif
...
fix(modem): Fixed examples to show netif on ppp-changed event
2023-11-16 17:52:03 +01:00
david-cermak
cc40cc1f84
Merge pull request #413 from david-cermak/feat/new_modem_cmd
...
Added support for implementing user defined modules in standard C-API
2023-11-16 17:51:28 +01:00
David Cermak
a70b197d02
fix(modem): Fixed examples to show netif on ppp-changed event
2023-11-16 10:10:02 +01:00
Euripedes
f50edd40b5
Merge pull request #425 from euripedesrocha/asio_contributing_guide
...
bump(asio): 1.28.0~0 -> 1.28.2~0
2023-11-14 14:50:47 +01:00
Euripedes Rocha
28f1e430fd
bump(asio): 1.28.0~0 -> 1.28.2~0
...
1.28.2~0
Bug Fixes
- reference protocol_examples_common from IDF ([09abb18 ](https://github.com/espressif/esp-protocols/commit/09abb18 ))
- specify override_path in example manifest files ([1d8923c ](https://github.com/espressif/esp-protocols/commit/1d8923c ))
Updated
- docs(asio): Updates asio docs ([ce9337d ](https://github.com/espressif/esp-protocols/commit/ce9337d ))
2023-11-14 13:48:12 +01:00
Suren
93f5f7bf58
Merge pull request #427 from gabsuren/fix/mdns_config
...
mdns: enable CONFIG_ESP_WIFI_ENABLED if CONFIG_SOC_WIFI_SUPPORTED is also enabled (for ESP-IDF <= 5.1)
2023-11-14 16:24:10 +04:00
Suren Gabrielyan
d20a718320
fix(mdns): enable CONFIG_ESP_WIFI_ENABLED if CONFIG_SOC_WIFI_SUPPORTED is also enabled (for ESP-IDF <= 5.1)
2023-11-14 14:48:42 +04:00
Abhik Roy
7ec41cd447
Merge pull request #424 from espressif/components/console_simple_init_plugin
...
bump(console): 1.0.2 -> 1.1.0
2023-11-13 23:31:43 +11:00
Abhik Roy
334dec8154
bump(console): 1.0.2 -> 1.1.0
...
1.1.0
Features
- Added runtime component registration support in console_simple_init (057873c1 )
2023-11-13 19:40:36 +11:00
david-cermak
24f07f920f
Merge pull request #420 from david-cermak/bugfix/examples_override_path
...
Add override_path in example manifests
2023-11-10 07:53:31 +01:00
Suren
e6fa2f84a2
Merge pull request #421 from gabsuren/fix_github_publish
...
fix(ci):fixed GitHub page publish path
2023-11-09 19:24:00 +04:00
Ivan Grokhotkov
1ee9dae6bf
fix(common): remove protocol_examples_common
...
Remaining references to protocol_examples_common are replaced with
references to ESP-IDF.
We will later re-add protocol_examples_common or some equivalent of it
under components/, and release it to the Component Registry.
2023-11-09 15:38:44 +01:00
Ivan Grokhotkov
d28232b9f8
fix(mdns): move the example into a subdirectory
...
By default, component manager expects that the examples are located
under <component>/examples/<name>. Move mdns example so that it is
found.
2023-11-09 15:37:37 +01:00
Ivan Grokhotkov
c83b76ea8f
fix(mdns): reference protocol_examples_common from IDF
...
This makes the example project usable from the component registry
2023-11-09 15:32:05 +01:00
Ivan Grokhotkov
025ede12e8
fix(esp_websocket_client): reference protocol_examples_common from IDF
...
This makes the 'target' example usable from the component registry.
'linux' example still has a bunch of EXTRA_COMPONENT_DIRS, but at
least we can delete the protocol_examples_common copy.
2023-11-09 15:32:05 +01:00
Ivan Grokhotkov
e6c0538d55
fix(esp_mqtt_cxx): reference protocol_examples_common from IDF
...
This makes the example project usable from the component registry
2023-11-09 15:32:05 +01:00
Ivan Grokhotkov
d6b6f634d7
fix(esp_modem): remove unused GNU Make based buildsystem files
2023-11-09 15:32:05 +01:00
Ivan Grokhotkov
09abb18be6
fix(asio): reference protocol_examples_common from IDF
...
This makes the example project usable from the component registry
2023-11-09 15:32:05 +01:00
Ivan Grokhotkov
d5e789883f
fix(esp_websocket_client): specify override_path in example manifests
2023-11-09 15:32:05 +01:00
Ivan Grokhotkov
fa005c6363
fix(esp_mqtt_cxx): specify override_path in example manifest files
2023-11-09 15:32:05 +01:00
Ivan Grokhotkov
5b78da4689
fix(esp_modem): specify override_path in example manifest files
2023-11-09 15:32:05 +01:00
Ivan Grokhotkov
1d8923cfbb
fix(asio): specify override_path in example manifest files
2023-11-09 15:32:00 +01:00
Suren Gabrielyan
4d6e5ddb15
ci(common): fixed github page publish path
2023-11-09 14:12:17 +04:00
Suren
671422038c
Merge pull request #418 from gabsuren/fix_action
...
fix(common): added 'write' permission for the check action
2023-11-08 15:25:40 +04:00
Suren Gabrielyan
8105c60a4e
fix(common): added 'write' permission for check action
2023-11-08 14:06:59 +04:00
Abhik Roy
ec78c3372c
Merge pull request #402 from espressif-abhikroy/components/console_simple_init_plugin
...
feat(console): Added runtime component registration support in console_simple_init
2023-11-08 18:59:58 +11: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
Suren
0584da5cb2
Merge pull request #397 from gabsuren/feat/modem_reusable_actions
...
ci(common): Created reusable actions for host and coverage tests (IDF-7856)
2023-11-06 19:32:00 +04:00
Suren Gabrielyan
9ad04deb04
ci(common): Created reusable action for host and coverage tests
2023-11-06 19:15:20 +04:00
David Cermak
020b407472
fix(modem): Fixed API docs within doxygen comments
2023-11-02 15:46:38 +01:00
David Cermak
0254d50128
fix(modem): Support for custom modules with C-API
...
MAJOR CHANGE: Added support for implementing user defined modules in standard C-API
2023-11-02 13:35:07 +01:00
David Cermak
2661b4d28c
fix(modem): Fix CRLF issue with esp_modem_c_api.cpp
2023-11-02 13:35:07 +01:00
Suren
7c5a832821
Merge pull request #411 from gabsuren/bump_mdns_2
...
bump(mdns): 1.2.1 -> 1.2.2
2023-11-01 15:15:41 +04:00
Suren Gabrielyan
0bb72f29be
bump(mdns): 1.2.1 -> 1.2.2
...
1.2.2
Bug Fixes
- add terminator for the getting host name (b6a4d94 )
- Enable ESP_WIFI_CONFIG when ESP-IDF <= 5.1 (0b783c0 )
- set host list NULL on destroy (ea54eef )
- removed Wno-format flag and fixed formatting warnings (c48e442 )
- remove the the range of MDNS_MAX_SERVICES and fix issues of string functions (3dadce2 )
2023-11-01 13:27:40 +04:00
Suren
ebdac9cc01
Merge pull request #409 from zwx1995esp/fix/mdns_host_name_get
...
fix(mdns): add terminator for the getting host name
2023-11-01 13:25:15 +04:00
Suren
df04b14e2b
Merge pull request #386 from gabsuren/fix/mdns_config_issue_2
...
Enable ESP_WIFI_CONFIG when ESP-IDF <= 5.1 (IDFGH-11221)
2023-10-31 16:11:51 +04:00
zwx
b6a4d94ab0
fix(mdns): add terminator for the getting host name
2023-10-31 19:45:35 +08:00
Euripedes
418791cf79
Merge pull request #408 from euripedesrocha/asio_docs_review
...
Updates asio docs
2023-10-31 12:08:20 +01:00
Euripedes Rocha
ce9337d332
docs(asio): Updates asio docs
...
- Removes mention to WolfSSL
- Fix links to examples
- Fix diagram markdwon.
2023-10-31 09:24:38 +01:00
Suren Gabrielyan
0b783c01dd
fix(mdns): Enable ESP_WIFI_CONFIG when ESP-IDF <= 5.1
2023-10-30 13:34:51 +04:00
david-cermak
425931a808
Merge pull request #407 from david-cermak/bump/modem_1.0.4
...
bump(modem): 1.0.3 -> 1.0.4
2023-10-30 09:42:35 +01:00
David Cermak
1b94554f1f
bump(modem): 1.0.3 -> 1.0.4
...
1.0.4
Bug Fixes
- Added USB runner with ESP32S2 with A7670 (edeb936 )
- Extend docs on AT client example (1f2ceed )
- Fix pytest exclusion, gitignore, and changelog checks (2696221 )
- Fix DTE to post fragments to parsers for USB term (1db1e15 )
- Fix DUAL_MODE regression from cb6e03ac (2aada0f )
- Fix AT client example to use custom AT processing (1a5ba98 , #352 )
2023-10-30 07:30:47 +01:00
david-cermak
924f28e9c4
Merge pull request #373 from david-cermak/fix/at_client
...
fix(modem): Fix AT client example to use custom AT processing
2023-10-30 07:06:29 +01:00
david-cermak
6a74971d4b
Merge pull request #395 from david-cermak/fix/modem_at_client_docs
...
fix(modem): Extend docs on AT client example
2023-10-30 07:06:05 +01:00
Abhik Roy
057873c1b5
feat(console): Added runtime component registration support in console_simple_init
2023-10-27 09:38:48 +02:00
Euripedes
11e58dc484
Merge pull request #405 from euripedesrocha/bump_mqtt_cxx
...
bump(mqtt_cxx): 0.1.0 -> 0.2.0
2023-10-26 14:07:00 +02:00
Euripedes Rocha
f795d2fd15
bump(mqtt_cxx): 0.1.0 -> 0.2.0
...
0.2.0
Features
- configure client authentication via certificate/key or secure element (ee09ff4 )
Bug Fixes
- removed Wno-format flag and fixed formatting warnings (c48e442 )
- Removes meaningless printf on subscribed handler (#358 ) (bac742d , #356 )
- Removes unused type for configuration (839c79d )
- added idf_component.yml for examples (d273e10 )
- Reintroduce missing CHANGELOGs (200cbb3 , #235 )
Updated
- docs(common): updated component and example links (f48d9b2 )
- docs(esp_mqtt_cxx): updated documentation and deployment file (a547ec8 )
- docs(common): improving documentation (ca3fce0 )
- Add homepage URL and License to all components (ef3f0ee )
2023-10-25 15:35:50 +02:00
david-cermak
2e6732882d
Merge pull request #391 from david-cermak/fix/modem_usb_dte
...
[esp-modem]: Added USB runner with ESP32S2 with A7670
2023-10-24 16:32:52 +02:00
david-cermak
d7d249013f
Merge pull request #401 from gabsuren/PR_393
...
fix(websocket): Return status code correctly on esp_websocket_client (IDFGH-11290)
2023-10-24 16:32:19 +02:00
david-cermak
1f6e7f22ce
Merge pull request #399 from euripedesrocha/fix_tag_creation
...
Fix tag creation
2023-10-24 16:31:14 +02:00
David Cermak
edeb936a5d
fix(modem): Added USB runner with ESP32S2 with A7670
2023-10-24 15:57:51 +02:00
Sojan James
ac8f1de187
fix(websocket): Return status code correctly on esp_websocket_client_send_with_opcode
2023-10-24 17:23:57 +04:00
Euripedes Rocha
62e3756904
ci(common): Fix tag creation
...
In case the component needs versioning for the package version, e.g.
asio, the tag needs to be adjusted.
2023-10-24 11:06:52 +02:00
David Cermak
1f2ceedec5
fix(modem): Extend docs on AT client example
2023-10-23 17:08:39 +02:00
Euripedes
a7d981863f
Merge pull request #394 from euripedesrocha/update/asio_1_28_0
...
Update/asio 1 28 0
2023-10-23 14:04:02 +02:00
Euripedes Rocha
96b0898f28
bump(asio): 1.14.1~3 -> 1.28.0~0
...
1.28.0~0
Features
- Updates asio to 1.28 (b310abe )
Bug Fixes
- Makes the examples to override path (842b2b2 )
- Removes esp_exception and make all examples to use exceptions (c1c9350 )
- removed Wno-format flag and fixed formatting warnings (c48e442 )
- added idf_component.yml for examples (d273e10 )
- Reintroduce missing CHANGELOGs (200cbb3 )
Updated
- docs(common): updated component and example links (f48d9b2 )
- docs(common): improving documentation (ca3fce0 )
- Add homepage URL and License to all components (ef3f0ee )
- Added badges with version of components to the respective README files (e4c8a59 )
- CI: Fix ASIO example test (6e2bb51 )
- Examples: using pytest.ini from top level directory (aee016d )
- CI: fixing the files to be complient with pre-commit hooks (945bd17 )
2023-10-23 11:01:05 +02:00
Abhik Roy
5134eedc45
Merge pull request #390 from espressif-abhikroy/common/pytest_gitignore_changelog
...
fix(common): Fix pytest exclusion, gitignore, and changelog checks
2023-10-23 09:22:41 +02:00
Abhik Roy
269622170e
fix(common): Fix pytest exclusion, gitignore, and changelog checks
2023-10-20 17:28:48 +02:00
David Cermak
1db1e1508d
fix(modem): Fix DTE to post fragments to parsers for USB term
2023-10-20 11:54:48 +02:00
Suren
3e8de3af3a
Merge pull request #371 from gabsuren/feat/ws_client_multiheader_api
...
feat(websocket): Added new API `esp_websocket_client_append_header` (IDF-7893)
2023-10-16 14:28:51 +04:00
Suren Gabrielyan
39e972544f
feat(websocket): Added new API esp_websocket_client_append_header
2023-10-16 12:27:29 +04:00
david-cermak
9e3c53c27a
Merge pull request #376 from david-cermak/bugfix/dte_dual_mode
...
fix(modem): Fix DUAL_MODE regression from cb6e03ac
2023-10-16 09:25:27 +02:00
david-cermak
f591b7f4c1
Merge pull request #383 from espressif-abhikroy/components/console_simple_init_1
...
fix(console): Fixed bump version check in publish-docs yml
2023-10-13 15:00:12 +02:00
Abhik Roy
b6e2ac2a70
bump(console): 1.0.1 -> 1.0.2
...
1.0.2
Bug Fixes
- Fixed bump version check in publish-docs yml (e834d47 )
2023-10-13 12:24:21 +00:00
Abhik Roy
e834d47577
fix(console): Fixed bump version check in publish-docs yml
2023-10-13 12:08:24 +00:00
david-cermak
ffd3736d84
Merge pull request #381 from gabsuren/feat/fix_console_and_deploy_6
...
Fixing deployment of console_simple_init finial
2023-10-13 11:08:57 +02:00
Suren Gabrielyan
a4cb1d9f8e
bump(console): 1.0.0 -> 1.0.1
...
1.0.1
Bug Fixes
- Fixed versioning, publishing and changelog generation (3081f1a69c )
2023-10-13 12:09:55 +04:00
Abhik Roy
3081f1a69c
fix(console): Fixed versioning, publishing and changelog generation
2023-10-13 12:09:31 +04:00
David Cermak
2aada0f308
fix(modem): Fix DUAL_MODE regression from cb6e03ac
...
In the recent DTE refactoring (cb6e03ac ) we install terminal callbacks
in the constructor, but the change missed initializing modem_state
in DTE constructors which take two terminals as arguments to work in
DUAL mode.
2023-10-12 12:50:29 +02:00
david-cermak
93dd56750e
Merge pull request #372 from espressif-abhikroy/components/console_simple_init
...
feat(common): Added simple component for console initialization
2023-10-10 14:58:25 +02:00
Abhik Roy
1ac4e41771
feat(console): Added simple component for console initialization
2023-10-10 23:46:01 +11:00
Euripedes
e63d4e3bd8
Merge pull request #370 from euripedesrocha/update_asio_128
...
Update asio to 1.28
2023-10-10 10:48:30 +02:00
Euripedes Rocha
b310abef7a
feat(asio): Updates asio to 1.28
...
Updates ASIO version
2023-10-10 10:13:06 +02:00
Euripedes Rocha
842b2b22eb
fix(asio): Makes the examples to override path
...
With this changes examples use local version instead of the published
version.
2023-10-10 09:12:32 +02:00
Euripedes Rocha
c1c93501b0
fix(asio): Removes esp_exception and make all examples to use exceptions
...
The usage of esp_exception header defining the exception handler
prevents users to customize the exception treatment. By removing it
we allow users that want to run without exceptions to customize the
behavior.
2023-10-10 09:12:32 +02:00
David Cermak
1a5ba98964
fix(modem): Fix AT client example to use custom AT processing
...
Need the callback reset upon removal of our custom AT command processing.
This issue has been introduced in cb6e03ac when refactoring DTE
callbacks.
Closes https://github.com/espressif/esp-protocols/issues/352
2023-10-09 17:49:15 +02:00
Suren
60d7145630
Merge pull request #364 from adafruit/circuitpython
...
Fix MDNS free host list (IDFGH-11116)
2023-10-09 14:44:51 +04:00
Scott Shawcroft
ea54eef0d0
fix(mdns): set host list NULL on destroy
2023-10-06 09:51:00 -07:00
Suren
ea14e15a6f
Merge pull request #368 from gabsuren/feature/websocket_new_api
...
Added new API s to allow fragmented text to be send (IDFGH-10198)
2023-10-03 19:21:40 +04:00
Suren Gabrielyan
fae80e2f3f
feat(websocket): Added new APIs to support fragmented messages transmission
...
Intoduced new APIs`esp_websocket_client_send_text_partial`,
`esp_websocket_client_send_bin_partial`
`esp_websocket_client_send_cont_mgs`
`esp_websocket_client_send_fin`
`esp_websocket_client_send_with_exact_opcode`
2023-10-03 18:43:58 +04:00
david-cermak
af1f39e70d
Merge pull request #355 from wqx6/mdns_service_limit
...
fix(mdns): remove the range of MDNS_MAX_SERVICES and fix some issues of str-functions
2023-09-26 19:59:26 +02:00
david-cermak
b8f3423dc0
Merge pull request #367 from david-cermak/test/sim800_cmux
...
fix(modem): Release v1.0.3: Fixes CMUX on SIM800
2023-09-26 19:56:06 +02:00
David Cermak
4e178735cd
bump(modem): 1.0.2 -> 1.0.3
...
1.0.3
Bug Fixes
- Fix to allow MSC frame (SIM800 CMUX) after v1.0.2 (8d5947e , #366 )
- Add CMUX example to target tests (4f2ebaa )
2023-09-26 15:50:42 +02:00
David Cermak
8d5947e5f1
fix(modem): Fix to allow MSC frame (SIM800 CMUX) after v1.0.2
...
Fixes the regression from 8edbac69 that added more strict conditions
for CMUX protocol, but didn't allow MSC frames that might be sent during
initializaiton by SIM800.
Closes https://github.com/espressif/esp-protocols/issues/366
2023-09-26 15:48:30 +02:00
David Cermak
4f2ebaa753
fix(modem): Add CMUX example to target tests
2023-09-26 15:30:49 +02:00
david-cermak
0db29f28db
Merge pull request #365 from david-cermak/bump/esp_modem
...
bump(modem): 1.0.1 -> 1.0.2
2023-09-26 06:15:37 +02:00
Suren
223647e975
Merge pull request #326 from gabsuren/fix/fix_format_warnings
...
fix(common): removed Wno-format flag and fixed formatting warnings (IDFGH-7768)
2023-09-25 20:54:08 +04:00
Suren Gabrielyan
c48e44205d
fix(common): removed Wno-format flag and fixed formatting warnings
2023-09-25 19:55:44 +04:00
David Cermak
b9bdcf612a
bump(modem): 1.0.1 -> 1.0.2
...
1.0.2
Features
- Add factory method for simple creation of custom DCEs (4cf9e50 )
- Support custom transport in AT TCP client example (ae629ed )
Bug Fixes
- Fix host test race with async read and d'structor (c89d42f )
- More error handling in cmux protocol (8edbac6 )
- Fix netif to set PPP config in C++ way (5287432 )
- Fix vfs terminal not to reset read_cb() automatically (25a35e2 )
- Fix netif data race causing PPP startup delays (c8c0507 , #308 )
- Added support for inflatable buffer (cb6e03a , #272 )
- Fix LoadProhibited after failed CMUX initialization (IDFGH-10845) (60c87dd )
2023-09-25 16:20:59 +02:00
david-cermak
19baa7d43e
Merge pull request #362 from david-cermak/fix/modem_cmux
...
fix(modem): More error handling in cmux protocol
2023-09-25 14:38:28 +02:00
David Cermak
c89d42f272
fix(modem): Fix host test race with async read and d'structor
...
Loopback terminal uses std::async to inject test data to the test
terminal. There was a hazardeous condition when destructing the terminal
while async batch_read() was in progress. Adding a signal and waiting
for destruction solves the issue.
2023-09-25 14:15:48 +02:00
WanqQixiang
3dadce2d5e
fix(mdns): remove the the range of MDNS_MAX_SERVICES and fix issues of string functions
2023-09-22 17:25:23 +08:00
David Cermak
8edbac6974
fix(modem): More error handling in cmux protocol
...
Add error path to all CMUX protocol potential issues, checks for
consistency and add recovery.
2023-09-22 08:39:31 +02:00
david-cermak
163122ff54
Merge pull request #361 from david-cermak/fix/modem_cosmetic
...
fix(modem): Update vfs terminal; Removed designated init
2023-09-22 08:37:52 +02:00
Suren Gabrielyan
4b7d1943ac
fix(ci): fix host test failure for esp_modem
2023-09-22 08:00:12 +02:00
Euripedes
bac742df80
fix(mqtt_cxx): Removes meaningless printf on subscribed handler ( #358 )
...
Removes the printf since the information isn't in the event.
Closes https://github.com/espressif/esp-protocols/issues/356
2023-09-21 08:42:28 +02:00
David Cermak
5287432197
fix(modem): Fix netif to set PPP config in C++ way
...
If the config struct contains more items (or more items will be added in
future) this init will not compile cleanly
2023-09-20 11:38:04 +02:00
David Cermak
25a35e20a3
fix(modem): Fix vfs terminal not to reset read_cb() automatically
...
This change is needed for the fs terminal to work correctly again, after
merging 44bae24c78 which shifted
responsibility of thread safety from a terminal to the DTE. (Before it
was the terminal, which removed this callback safely when processing completed,
and thus we had to check the callback return value). Not the DTE layers
are responsible for thread safety and the return value indicates
success/failure from processing.
Also uses the default clock, the same way as UART terminal.
2023-09-20 11:37:36 +02:00
Euripedes
12bacdc3a0
Merge pull request #359 from euripedesrocha/fix/missing_event_callback_t
...
fix(mqtt_cxx): Removes unused type for configuration
2023-09-20 08:35:05 +02:00
Euripedes Rocha
839c79d460
fix(mqtt_cxx): Removes unused type for configuration
...
Event type was introduced in the original version and wasn't used in the
code. In 5.1 the leftover type was removed from esp_mqtt breaking this
wrapper.
2023-09-19 12:54:16 +02:00
Suren
13b29c2291
Merge pull request #349 from gabsuren/mdns/update_versioin_1_2_1
...
bump(mdns): 1.2.0 -> 1.2.1
2023-09-07 13:24:52 +04:00
Suren Gabrielyan
0cb1156480
bump(mdns): 1.2.0 -> 1.2.1
...
1.2.1
Features
- Allow setting length of mDNS action queue in menuconfig (28cd898 )
Bug Fixes
- fix build issue if CONFIG_ESP_WIFI_ENABLED disabled (24f7031 )
- added idf_component.yml for examples (d273e10 )
- added guard check for null pointer (71bb461 )
2023-08-29 16:57:18 +04:00
Suren
6c7259fa7a
Merge pull request #336 from gabsuren/mdns/fix_build_issue
...
fix(mdns): fix build issue if CONFIG_ESP_WIFI_ENABLED disabled (IDFGH-9699)
2023-08-29 14:15:01 +04:00
Suren Gabrielyan
24f7031012
fix(mdns): fix build issue if CONFIG_ESP_WIFI_ENABLED disabled
2023-08-29 13:41:26 +04:00
david-cermak
62d809ac60
Merge pull request #309 from david-cermak/feat/modem_tcp_client_work
...
feat(modem): Support custom transport in AT TCP client example
2023-08-28 13:43:46 +02:00
Suren
b992ef6914
Merge pull request #346 from gabsuren/ci/update_websocket_1.1.0
...
bump(websocket): 1.0.1 -> 1.1.0
2023-08-28 12:52:37 +04:00
david-cermak
9cc594afaa
Merge pull request #312 from david-cermak/fix/minor_modem_refactor
...
fix(modem): Refactor of DTE callbacks (and other fixes)
2023-08-28 10:49:18 +02:00
David Cermak
4cf9e505e1
feat(modem): Add factory method for simple creation of custom DCEs
...
This allows calling directly:
auto dce = dce_factory::Factory::create_unique_dce_from<SIM7600>(&dce_config, uart_dte, esp_netif);
instead of:
auto dce = create_SIM7600_dce(&dce_config, uart_dte, esp_netif);
Which is very useful when adding a custom module, so we won't need to
update factory layers and add the new device to enums, etc.
To add a new module, you just:
1) Define the module class NewModule: public GenericModule { };
2) Implement the specific commands:
command_result do_work_new_module(CommandableIf *t, params) {}
3) Connect 1) and 2)
command_result NewModule::do_work_new_module(params...)
{
return dce_commands::do_work_new_module(dte.get(), params...);
}
2023-08-28 10:27:16 +02:00
David Cermak
c8c05075fb
fix(modem): Fix netif data race causing PPP startup delays
...
Removes PPP_started signal on reception, since lwip handles data
reception if the netif is up/down (which we correctly set in start()
stop() methods)
Closes https://github.com/espressif/esp-protocols/issues/308
2023-08-28 10:27:16 +02:00
David Cermak
cb6e03ac62
fix(modem): Added support for inflatable buffer
...
As a configurable option, if disabled we report an error.
Closes https://github.com/espressif/esp-protocols/issues/272
2023-08-28 10:27:10 +02:00
Suren
2e42b9bb49
Merge pull request #347 from gabsuren/fix/websocket_fix_ci
...
fix(websocket): fix of websocket coverage report generation
2023-08-28 11:30:20 +04:00
david-cermak
86f7a8bbe3
Merge pull request #343 from victorrar/dev/IDFGH-10845
...
Fix LoadProhibited after failed CMUX initialization
2023-08-28 09:14:45 +02:00
Suren Gabrielyan
7b5a41deea
fix(websocket): fix of websocket coverage report generation
2023-08-22 19:42:14 +04:00
Suren Gabrielyan
38d50eede0
bump(websocket): 1.0.1 -> 1.1.0
...
1.1.0
Features
- Added linux port for websocket (a22391a )
Bug Fixes
- added idf_component.yml for examples (d273e10 )
2023-08-22 14:26:12 +04:00
Suren
27303d28b2
Merge pull request #345 from gabsuren/fix/example_component_manager
...
fix(common): added idf_component.yml for examples
2023-08-22 14:04:32 +04:00
Suren Gabrielyan
d273e10819
fix(common): added idf_component.yml for examples
2023-08-22 13:55:10 +04:00
Victor
60c87ddf26
fix(modem): Fix LoadProhibited after failed CMUX initialization (IDFGH-10845)
2023-08-18 12:44:37 +03:00
Victor
a95891e211
fix(common): Bump espressif/check-copyright version for PyYAML fix
2023-08-18 12:42:23 +03:00
Suren
411dced3e2
Merge pull request #334 from gabsuren/mdns/fix_null_pointer
...
fix(mdns): added guard check for null pointer (IDF-7449)
2023-08-17 21:01:52 +04:00
David Cermak
d4925f2bd6
fix(modem): Per review comments
2023-08-17 13:17:20 +02:00
David Cermak
ae629ed3a9
feat(modem): Support custom transport in AT TCP client example
2023-08-17 13:11:51 +02:00
Suren
42fe60828f
Merge pull request #342 from gabsuren/ci/fix_workflow_run
...
ci(common): start coverage publish action only against master branch
2023-08-16 11:36:30 +04:00
Suren
36899f1135
Merge pull request #340 from gabsuren/docs/updated_doc
...
docs(common): updated README regarding esp-idf integration
2023-08-15 17:32:55 +04:00
Suren Gabrielyan
0714e100ee
ci(common): start coverage publish action only against master branch
2023-08-12 17:54:55 +04:00
Suren Gabrielyan
cbfee945a0
docs(common): updated README regarding esp-idf integration
2023-08-11 15:46:05 +04:00
Suren Gabrielyan
71bb461ed8
fix(mdns): added guard check for null pointer
2023-08-03 13:53:17 +04:00
Suren
5143f5ac01
Merge pull request #310 from gabsuren/feat/websocket_linux_port_component
...
feat(websocket): Added linux port for websocket (IDF-7097)
2023-07-27 11:07:06 +04:00
Suren
7e83741615
Merge pull request #330 from gabsuren/websocket/release_1.0.1
...
bump(websocket): 1.0.0 -> 1.0.1
2023-07-25 14:29:08 +04:00
Suren Gabrielyan
b880fc0367
bump(websocket): 1.0.0 -> 1.0.1
...
1.0.1
Bug Fixes
- esp_websocket_client client allow sending 0 byte packets (b5177cb )
- Cleaned up printf/format warnings (-Wno-format) (e085826 )
- Added unit tests to CI + minor fix to pass it (c974c14 )
- Reintroduce missing CHANGELOGs (200cbb3 , #235 )
Updated
- docs(common): updated component and example links (f48d9b2 )
- docs(common): improving documentation (ca3fce0 )
- Fix weird error message spacings (8bb207e )
2023-07-25 13:55:59 +04:00
Suren
f6d5186e5b
Merge pull request #325 from gabsuren/docs/link_fix_esp_modem
...
docs(modem): Update Doxyfile to generate correct docs links
2023-07-19 12:05:56 +04:00
david-cermak
8eb3a0feea
Merge pull request #324 from gytxxsy/feature/set_ation_queue_len_in_kconfig
...
feat(mdns): Allow setting length of mDNS action queue in menuconfig
2023-07-18 13:40:36 +02:00
Xu Si Yu
28cd898eca
feat(mdns): Allow setting length of mDNS action queue in menuconfig
2023-07-18 19:09:16 +08:00
Suren Gabrielyan
a22391ae2c
feat(websocket): Added linux port for websocket
2023-07-18 14:18:39 +04:00
Suren Gabrielyan
f5a0d5fb40
docs(modem): Update Doxyfile to generate correct docs links
2023-07-17 11:18:51 +04:00
Suren
ecc465daa3
Merge pull request #321 from gabsuren/mdns/release_1.2.0
...
bump(mdns): 1.1.0 -> 1.2.0
2023-07-04 12:24:13 +04:00
Suren Gabrielyan
181b6e4013
bump(mdns): 1.1.0 -> 1.2.0
...
1.2.0
Features
- add an API for setting address to a delegated host (ddc3eb6 )
- Add support for lwip build under linux (588465d )
- Allow for adding a delegated host with no address (c562461 )
- Add APIs for looking up self hosted services and getting the self hostname (f0df12d )
Bug Fixes
- Refactor freertos linux compat layers (79a0e57 )
- Fix delegated service PTR response (cab0e1d )
- Added unit tests to CI + minor fix to pass it (c974c14 )
Updated
- docs: update documentation links (4de5298 )
2023-07-04 11:56:33 +04:00
Suren
40e3875f76
Merge pull request #315 from zwx1995esp/feature/add_delegate_host_addr_set
...
feat(mdns): add an API for setting address to a delegated host
2023-07-04 10:54:35 +04:00
zhangwenxu
ddc3eb62d0
feat(mdns): add an API for setting address to a delegated host
2023-06-29 21:57:39 +08:00
david-cermak
3625889049
Merge pull request #286 from david-cermak/feat/example_multiple_netifs
...
feat(examples): Add multiple netif demo: eth+wifi+PPP
2023-06-28 17:49:32 +02:00
David Cermak
2bd6163ec8
ci(common): Introduce global warning list file
2023-06-28 16:49:37 +02:00
David Cermak
f1eb46580e
feat(examples): Add build/host tests to examples
2023-06-28 12:59:48 +02:00
David Cermak
1c20328dcf
feat(examples): Support simple PPP connect in multinet example
2023-06-28 12:59:44 +02:00
david-cermak
6de22f3893
Merge pull request #314 from david-cermak/fix/issue_template
...
Update issue template with correct docs links
2023-06-27 17:40:36 +02:00
David Cermak
e280b3b541
docs(common): Update issue template with correct docs links
2023-06-26 10:33:16 +02:00
David Cermak
00d7c40848
feat(examples): Add multiple netif demo: eth+wifi+PPP
2023-06-22 11:49:59 +02:00
david-cermak
4f1769ec71
Merge pull request #311 from david-cermak/fix/modem_known_issues
...
docs(modem): Add known issues section to docs
2023-06-22 10:57:54 +02:00
David Cermak
20dd910b3a
bump(modem): 1.0.0 -> 1.0.1
...
1.0.1
Bug Fixes
- Support UART clean build with IDF v5.2 (e620eb5 )
- enable code coverage publishing to github pages (4910e89 )
- fix esp_modem build issue (ab94566 )
- Example to use 1.0.0 (afb6930 )
- Changelog to correctly pick references (423e965 )
Updated
- docs(esp_modem): updated documents to show missed topics (0534853 )
- docs(common): improving documentation (ca3fce0 )
2023-06-22 09:50:23 +02:00
David Cermak
3635e2fabc
docs(modem): Add known issues section to docs
...
Also updates self-hosted runner tag (from runner name to test scope
related tag)
2023-06-21 10:43:27 +02:00
david-cermak
84035d8f3b
Merge pull request #265 from david-cermak/feat/linux_port_component
...
examples: Add simple mqtt client demo running on linux
2023-06-20 16:23:15 +02:00
David Cermak
e620eb5fb1
fix(modem): Support UART clean build with IDF v5.2
2023-06-20 15:56:57 +02:00
David Cermak
7d4755f119
fix(common): Improve linux port
2023-06-20 15:15:37 +02:00
David Cermak
588465d9db
feat(examples): Add support for lwip build under linux
2023-06-20 15:15:37 +02:00
David Cermak
c443326a34
feat(examples): Add example of using mqtt client on linux
2023-06-20 15:15:37 +02:00
David Cermak
79a0e57ca1
fix(mdns): Refactor freertos linux compat layers
...
Move it to a separate component that could be shared by multiple network
libs.
2023-06-20 15:15:37 +02:00
david-cermak
68392f0ba9
Merge pull request #301 from zwx1995esp/fix/delegated_service_PTR_response
...
fix(mdns): Fix delegated service PTR response (IDFGH-10237)
2023-06-01 23:38:56 +02:00
Suren
a67cbbcab9
Merge pull request #278 from gabsuren/fix/websocket_client_zero_byte
...
fix(websocket): esp_websocket_client client allow sending 0 byte packets (IDFGH-9316)
2023-06-01 20:12:43 +04:00
Suren Gabrielyan
b5177cb23a
fix(websocket): esp_websocket_client client allow sending 0 byte packets
2023-06-01 15:32:18 +04:00
zhangwenxu
cab0e1d10e
fix(mdns): Fix delegated service PTR response
2023-06-01 19:01:54 +08:00
david-cermak
fbc79a846b
Merge pull request #302 from gytxxsy/feature/allow_add_host_without_addr
...
mdns: allow for adding a delegated host with no address (IDFGH-10246)
2023-05-30 22:10:01 +02:00
Suren
a50f91f422
Merge pull request #296 from gabsuren/fix/enable_coverage_modem
...
fix(ci): enable code coverage publishing to github pages
2023-05-29 21:51:49 +04:00
Suren Gabrielyan
4910e89249
fix(ci): enable code coverage publishing to github pages
2023-05-26 13:46:52 +04:00
Xu Si Yu
c562461711
feat(mdns): Allow for adding a delegated host with no address
2023-05-26 14:03:22 +08:00
david-cermak
8b9c957fe0
Merge pull request #295 from wqx6/mdns/lookup_selfhosted_services
...
mdns: Add APIs for looking up self hosted services and getting the self hostname (IDFGH-10130)
2023-05-18 07:15:59 +02:00
WanqQixiang
f0df12dad3
feat(mdns): Add APIs for looking up self hosted services and getting the self hostname
2023-05-18 12:25:50 +08:00
david-cermak
9637517192
Merge pull request #298 from david-cermak/bugfix/improve_ci
...
fix(websocket): Add unit tests to the workflow
2023-05-17 16:07:33 +02:00
David Cermak
e085826dbb
fix(websocket): Cleaned up printf/format warnings (-Wno-format)
2023-05-17 07:35:21 +02:00
David Cermak
c974c14220
fix(websocket): Added unit tests to CI + minor fix to pass it
2023-05-17 07:14:48 +02:00
david-cermak
247baeed22
Merge pull request #297 from david-cermak/bugfix/improve_ci
...
websocket(ci): Add IDF v5.1 in IDF tests for websockets
2023-05-16 16:17:04 +02:00
David Cermak
613d67d1cf
fix(ci): Add IDF v5.1 in IDF tests for websockets
2023-05-16 12:26:33 +02:00
Suren
441f79022e
Merge pull request #293 from gabsuren/docs/update_modified_links
...
docs: update documentation links
2023-05-15 11:20:42 +04:00
Suren Gabrielyan
4de52981cb
docs: update documentation links
2023-05-12 12:21:55 +04:00
david-cermak
ef1c5eb28a
Merge pull request #292 from david-cermak/fix/mdns_host_test
...
fix(mdns): Run host test against v5.1 instead of latest IDF
2023-05-10 10:22:58 +02:00
david-cermak
9a3aa1d23f
Merge pull request #291 from david-cermak/fix/upload_component_action
...
ci(common): Use upload-components-ci-action workflow action
2023-05-10 10:11:25 +02:00
David Cermak
64b0e4ef1a
fix(mdns): Run host test against v5.1 instead of latest IDF
2023-05-10 06:51:42 +02:00
David Cermak
fcff00740a
ci(common): Use upload-components-ci-action workflow action
2023-05-09 22:18:09 +02:00
david-cermak
1102133458
Merge pull request #290 from david-cermak/fix/deploy_docs
...
ci(common): Fix build and deploy docs jobs
2023-05-09 20:11:27 +02:00
David Cermak
4f54c49912
ci(common): Fix build and deploy docs jobs
2023-05-09 17:24:21 +02:00
david-cermak
910f6ffadc
Merge pull request #289 from david-cermak/fix/ci_publish
...
ci(common): Update component version only if tag doesn't exist
2023-05-09 15:38:14 +02:00
David Cermak
9836a8620f
ci(common): Update component version only if tag doesn't exist
...
If the merged PR is a few commits behind master, the merge commit could
show changes in the version files as well. This fix checks if the
version already exists and updates the envirionment only if the tag
is not present.
2023-05-09 15:26:50 +02:00
david-cermak
af0ed62ecf
Merge pull request #282 from gabsuren/docs/deploy_on_version_change
...
docs(common): deploy docs if component version get changed
2023-05-09 07:12:38 +02:00
Suren Gabrielyan
217a96a2e4
docs(common): deploy docs if component version got changed
2023-05-05 18:21:18 +04:00
david-cermak
6a94e61a7e
Merge pull request #288 from david-cermak/bump/mdns
...
bump(mdns): 1.0.9 -> 1.1.0
2023-04-28 20:36:35 +02:00
David Cermak
c8fe4092c4
bump(mdns): 1.0.9 -> 1.1.0
...
1.1.0
Features
- Decouple main module from mdns-networking (d238e93 )
Bug Fixes
- Use idf-build-apps package for building mdns (1a0a41f )
- socket networking to init interfaces properly (ee9b04f )
- Removed unused internal lock from mdns_server struct (a06fb77 )
- Resolve conflicts only on self hosted items (e69a9eb , #185 )
- Fix memory issues reported by valgrind (0a682e7 )
Updated
- docs(common): updated component and example links (f48d9b2 )
- Add APIs to look up delegated services (87dcd7d )
- Fix deadly mdns crash (4fa3023 )
- docs(common): improving documentation (ca3fce0 )
- append all ipv6 address in mdns answer (5ed3e9a )
- test(mdns): Host tests to use IDF's esp_event_stub (537d170 )
2023-04-28 19:32:47 +02:00
Suren
31187b7d17
Merge pull request #283 from espressif/esp_modem/fix_build
...
fix(esp_modem): fix esp_modem build issue
2023-04-27 20:31:19 +04:00
Suren Gabrielyan
ab94566995
fix(esp_modem): fix esp_modem build issue
2023-04-27 12:25:59 +04:00
Suren
f67511c2c1
Merge pull request #275 from gabsuren/docs/esp_modem_docs
...
docs(esp_modem): updated documents to show missed topics
2023-04-27 10:56:12 +04:00
Suren Gabrielyan
05348534a6
docs(esp_modem): updated documents to show missed topics
2023-04-26 16:24:30 +04:00
david-cermak
18ea910f02
Merge pull request #279 from david-cermak/feat/auto_tag
...
ci(common): Support for tagging and releasing in CI
2023-04-25 16:31:11 +02:00
David Cermak
62be981c92
ci(common): Fail CI if the PR to too much behind origin
...
And removes the docs generation/deploy part
2023-04-25 16:27:05 +02:00
David Cermak
6daf6c6ba6
ci(common): Support for tagging and releasing in CI
2023-04-25 13:54:44 +02:00
Suren
b0d3b41aae
Merge pull request #277 from gabsuren/docs/update_links
...
docs(common): updated component and example links
2023-04-20 12:01:22 +04:00
Suren Gabrielyan
f48d9b2fcf
docs(common): updated component and example links
2023-04-19 11:58:05 +04:00
david-cermak
6c299c068b
Merge pull request #274 from david-cermak/bugfix/ci_mdns_all_targets
...
mdns: Build all targets and releases
2023-04-18 10:38:46 +02:00
david-cermak
ea5d3cee29
Merge pull request #268 from wqx6/search_delegated_service
...
mdns: Add APIs to lookup delegated services (IDFGH-9790)
2023-04-18 10:38:27 +02:00
david-cermak
7330597586
Merge pull request #270 from 0xFEEDC0DE64/fix_mdns_crash
...
Fix deadly mdns crash (IDFGH-9800)
2023-04-18 10:37:11 +02:00
David Cermak
1a0a41fa2d
fix(mdns): Use idf-build-apps package for building mdns
2023-04-17 13:44:18 +02:00
David Cermak
2f7cbd16db
ci(common): Fix pre-commit manual run
2023-04-17 13:43:14 +02:00
WanqQixiang
87dcd7dc7d
mdns: Add APIs to look up delegated services
2023-04-17 19:35:41 +08:00
Suren Gabrielyan
8e5a27f4b7
docs: fixed broken link in README.md
2023-04-10 18:38:23 +04:00
Suren Gabrielyan
6528f446bc
docs: fixed broken link on README.md
2023-04-07 16:43:43 +04:00
4fa3023ea2
Fix deadly mdns crash
2023-04-05 16:13:07 +02:00
Suren
10f8200564
Merge pull request #267 from gabsuren/esp_mqtt_cxx/updated_docs_and_yml_file
...
docs(esp_mqtt_cxx): updated documentation and deployment *yml file
2023-04-05 11:51:28 +04:00
Suren Gabrielyan
a547ec8147
docs(esp_mqtt_cxx): updated documentation and deployment file
2023-04-05 11:42:59 +04:00
Suren
db0e20f446
Merge pull request #256 from gabsuren/docs/documentation_improving
...
docs: Improving documentation (IDF-7064)
2023-03-31 12:07:09 +04:00
Suren Gabrielyan
ca3fce003e
docs(common): improving documentation
...
- update esp_modem to use esp_docs
- migrated docs from github pages to docs.espressif.com
2023-03-31 12:04:46 +04:00
david-cermak
f6ff132eb1
Merge pull request #259 from 0xFEEDC0DE64/fix_websocket_error_spacings
...
Fix weird error message spacings (IDFGH-9704)
2023-03-23 17:57:12 +01:00
8bb207e9bb
Fix weird error message spacings
2023-03-23 11:44:51 +01:00
david-cermak
76047a4cc6
Merge pull request #137 from david-cermak/mdns/isolate_networking
...
mdns: Decouple networking from the main mdns module
2023-03-22 14:40:49 +01:00
Anton Maklakov
ee9b04f598
fix(mdns): socket networking to init interfaces properly
2023-03-22 12:17:09 +01:00
David Cermak
d238e9311b
feat(mdns): Decouple main module from mdns-networking
...
Removed sharing the data via the global variable `_mdns_server`, added
API `mdns_is_netif_ready()`
2023-03-22 12:16:28 +01:00
david-cermak
a838af46a6
Merge pull request #251 from xieqinan/feature/append-all-ipv6-address-in-mdns-answer
...
mdns: append all ipv6 address in mdns answer (IDFGH-9646)
2023-03-22 08:16:38 +01:00
xieqinan
5ed3e9a6a1
mdns: append all ipv6 address in mdns answer
2023-03-22 12:00:38 +08:00
david-cermak
5b3346f5c5
Merge pull request #225 from david-cermak/bugfix/mdns_wrong_name_collision
...
fix(mdns): Incorrect name collision
2023-03-20 17:24:47 +01:00
David Cermak
a06fb7714b
fix(mdns): Removed unused internal lock from mdns_server struct
2023-03-20 16:55:49 +01:00
David Cermak
e69a9ebb3d
fix(mdns): Resolve conflicts only on self hosted items
...
Skip solving conflicts for delegated names and delegated services
Closes https://github.com/espressif/esp-protocols/issues/185
2023-03-20 16:55:49 +01:00
david-cermak
2e607e8ffb
Merge pull request #257 from david-cermak/fix/mdns_valgrind
...
fix(mdns): Fix memory issues reported by valgrind
2023-03-20 16:49:36 +01:00
david-cermak
0a9765626b
Merge pull request #255 from david-cermak/feat/modem_cz_bump
...
esp_modem: version 1.0.0 (plus cz-bump config)
2023-03-20 12:33:32 +01:00
David Cermak
537d170f1d
test(mdns): Host tests to use IDF's esp_event_stub
...
Also fixes one minor from esp_netif_linux implementation
2023-03-20 12:17:36 +01:00
David Cermak
0a682e7f12
fix(mdns): Fix memory issues reported by valgrind
...
* Read after the allocated area (which may lead to subsequent
mdns name corruption)
* Potentially uninit variable used in condition
2023-03-19 20:58:10 +01:00
David Cermak
afb69308df
fix(modem): Example to use 1.0.0
2023-03-16 20:47:59 +01:00
david-cermak
284cdeb2ed
Merge pull request #254 from lhauswald/feature/mqtt_client_certificate
...
MQTT: complete client authentication configuration (IDFGH-9656)
2023-03-16 20:35:23 +01:00
David Cermak
97d52495d4
bump(modem): 0.1.28 -> 1.0.0
2023-03-16 20:19:00 +01:00
David Cermak
423e965c88
fix(common): Changelog to correctly pick references
...
Also added .cz config for modem components
2023-03-16 20:19:00 +01:00
david-cermak
e762ada551
Merge pull request #156 from david-cermak/feature/modem_example_at_mqtt
...
feat(esp_modem): Add mqtt example in AT-only mode
2023-03-16 20:17:32 +01:00
David Cermak
31d4323f53
fix(modem): AT-only example: support MQTT over TLS on BG96
2023-03-16 19:49:10 +01:00
Jonathan Dreyer
97831c62b1
fix(modem): AT-only example: added into CI
2023-03-16 19:48:34 +01:00
Jonathan Dreyer
ceedcfca23
fix(modem): AT-only example: initial adaptation to BG96
...
Plus rework a little to support implementation of multiple devices
2023-03-16 19:45:43 +01:00
David Cermak
7547267336
feat(modem): Add mqtt example in AT-only mode
...
Similar to pppos-client, but without PPP mode.
This uses standard mqtt client and a loopback service that forwards the
TCP traffic from localhost to the modem and vice-versa.
(next step is to create a dedicated tcp-transport layer for modem)
Console example uses DCE commandable to demontrate how to handle URC
2023-03-16 19:42:29 +01:00
David Cermak
bf114d3624
feat(modem): DTE to support sending and receiving raw data
...
MAJOR CHANGE: Enable DTE to redefine on_read() and write(cmd) directly
2023-03-16 19:39:13 +01:00
david-cermak
574738b8d3
Merge pull request #252 from tore-espressif/feature/esp_modem/usb_examples
...
esp_modem: Update examples for USB v1.1
2023-03-16 13:32:29 +01:00
lhauswald
ee09ff45e5
feat(mqtt_cxx): configure client authentication via certificate/key or secure element
2023-03-16 09:42:43 +01:00
david-cermak
895a72b27d
Merge pull request #249 from david-cermak/feat/cz_bump
...
mdns: Bump config to auto-generate change log
2023-03-16 09:40:45 +01:00
David Cermak
bf32e452d6
fix(modem): warning in ap-2-pppos example when using lwip/napt
...
Latest IDF added new napt API that support enabling NAPT based on netif
pointer. Need to include "lwip/netif.h"
2023-03-16 09:26:30 +01:00
David Cermak
4c7720a2c1
ci(common): Run all test on push event
...
Added a description about the release process to the contributing guide
2023-03-16 08:56:18 +01:00
David Cermak
c92ce075fd
bump(mdns): 1.0.8 -> 1.0.9
2023-03-16 08:18:33 +01:00
David Cermak
f29719fa0b
ci(common): force scoping commit messages with components
...
Add simple changelog generator and mdns tag formatter
2023-03-16 08:18:33 +01:00
david-cermak
2d1990614a
Merge pull request #253 from david-cermak/bufix/precommit_check_only_pr
...
fix(ci): Run pre-commit checker only on PRs
2023-03-15 19:27:01 +01:00
David Cermak
2863e94a11
fix(ci): Run pre-commit checker only on PRs
...
Regression from a089e0d680 Merged as https://github.com/espressif/esp-protocols/pull/242
2023-03-15 19:11:27 +01:00
david-cermak
ba45e9a07e
Merge pull request #242 from david-cermak/bugfix/modem_strip_idf_4.1
...
fix(esp_modem): run CI build job for all targets
2023-03-15 18:55:26 +01:00
Tomas Rezucha
610372f5a7
esp_modem: Update examples for USB v1.1
2023-03-15 17:13:37 +01:00
David Cermak
13eca128fb
fix(ci): trigger PR jobs based on labels
2023-03-15 15:38:06 +01:00
david-cermak
c492d87316
Merge pull request #247 from david-cermak/fix/add_missing_changelogs
...
fix(common): Reintroduce missing CHANGELOGs
2023-03-13 19:38:15 +01:00
David Cermak
200cbb3383
fix(common): Reintroduce missing CHANGELOGs
...
Closes https://github.com/espressif/esp-protocols/issues/235
2023-03-13 12:58:25 +01:00
david-cermak
a96f17d9a1
Merge pull request #236 from gabsuren/CI/conventional_commits
...
ci: added conventionl commit pre-commit hook
2023-03-10 18:56:26 +01:00
David Cermak
cbda15724c
ci: regroup tests per components and purpose
2023-03-08 17:33:48 +01:00
David Cermak
d0814bf963
fix(esp_modem): Use default UART CLK source
...
Some targets don't support UART_SCLK_APB (e.g. esp32c2)
This change is applicable only for IDFv5.0 and later, as older version
didn't define UART_SCLK_DEFAULT.
Closes https://github.com/espressif/esp-protocols/issues/241
2023-03-08 11:51:31 +01:00
David Cermak
a089e0d680
fix(esp_modem): run CI build job for all targets
...
Also
* removed IDFv4.1 from tests
* added common build_apps.py utility for finding/building apps
2023-03-08 11:51:25 +01:00
david-cermak
ef4985cce6
Merge pull request #243 from tore-espressif/feature/esp_modem/dual_dte
...
esp_modem: Dual DTE support
2023-03-08 11:01:16 +01:00
Tomas Rezucha
01c26c82fa
esp_modem: Dual DTE support
...
Modems can expose 2 terminals, which can be used simultaneously.
One for AT commands, the other one for data.
2023-03-07 13:35:34 +01:00
Suren
08f1f0175d
Merge pull request #228 from gabsuren/CI/update_websocket_version
...
websocket: Updated version to 1.0.0
2023-03-06 12:36:30 +04:00
Suren Gabrielyan
a6817e0c7f
ci: Add conventionl commit pre-commit hook
2023-03-03 12:38:27 +04:00
david-cermak
a2050ac041
Merge pull request #233 from tom-borcin/feature/add_issue_templates
...
Add issue templates
2023-03-02 17:19:59 +01:00
david-cermak
6015c19c31
Merge pull request #239 from kumekay/feature/add_url_license
...
Add homepage URL and License to all components (IDFGH-9521)
2023-03-02 17:17:00 +01:00
Tomas Borcin
5df8fdb713
Add input for component version
2023-03-02 15:38:10 +01:00
Sergei Silnov
ef3f0ee688
Add homepage URL and License to all components
2023-03-02 12:35:17 +01:00
Suren Gabrielyan
996fef7fcf
esp_websocket_client: Updated version to 1.0.0
...
Updated tests to run agains release-v5.0
2023-02-28 19:00:46 +04:00
Tomas Borcin
9f87a8ca77
Add issue templates
2023-02-24 15:53:31 +01:00
david-cermak
3bf0511938
Merge pull request #216 from gabsuren/feature/websocket-errorhandling
...
esp_websocket_client: Improve error handling (IDFGH-8444)
2023-02-24 07:35:41 +01:00
david-cermak
319fce018e
Merge pull request #231 from tore-espressif/fix/esp_modem/on_data_cb
...
esp_modem: Return true from on_data callback in data mode
2023-02-24 07:34:20 +01:00
Tomas Rezucha
44bae24c78
esp_modem: Return true from on_data callback in data mode
...
The callback should return false only if there is a problem with the received data.
The updated UART Terminal implementation cannot longer clear is callback.
It is DTE's responsibility to clear the callback.
2023-02-23 20:32:13 +01:00
Steinbart Andreas (HAU-EDS)
d047ff569c
esp_websocket_client:
...
* Error handling improved to show status code from server
* Added new API `esp_websocket_client_set_headers`
* Dispatches 'WEBSOCKET_EVENT_BEFORE_CONNECT' event before tcp connection
2023-02-22 11:41:33 +04:00
Suren
02be2b76f8
Merge pull request #227 from gabsuren/docs/mdns_document_link_fix
...
docs: fix of mdns link translation
2023-02-20 16:19:30 +04:00
Suren Gabrielyan
1c850ddacf
docs: fix of mdns link translation
2023-02-20 16:11:24 +04:00
david-cermak
9ae88aab48
Merge pull request #223 from AndriiFilippov/master
...
Unite all tags under common structure (IDFGH-9399)
2023-02-17 15:08:18 +01:00
AndriiFilippov
c6db3ea84c
unite all tags under common structure
...
py test: update tags under common structure
2023-02-17 14:27:34 +01:00
Euripedes
b23eedac3a
Merge pull request #189 from euripedesrocha/master
...
Adds esp_mqtt_cxx component
2023-02-16 06:17:08 -03:00
Euripedes Rocha
1407dfc2e7
Adds esp_mqtt_cxx component
...
- Component moved from esp-idf
- Files moved to adjust to esp-protocol structure
2023-02-16 09:59:46 +01:00
Ivan Grokhotkov
34c6f52f70
build system: re-add -Wno-format as private flag for some example components
2023-02-15 10:26:19 +01:00
Euripedes Rocha
c674b8855d
[MQTT] - Updates esp_mqtt configuration struct
...
- Layered config struct
- Fix examples.
2023-02-15 10:26:19 +01:00
Fu Hanxi
256389613f
docs: changes docs supported targets tables
2023-02-15 10:26:19 +01:00
Ivan Grokhotkov
2865255ec0
examples, components: remove C/C++ standard overrides
...
...where they are not necessary after switching to C17 and C++20.
2023-02-15 10:26:19 +01:00
Michael (XIAO Xufeng)
7b2470ddd6
ci: partially enable example build for esp32c2
2023-02-15 10:26:19 +01:00
Djordje Nedic
dda2722563
tools: Increase the minimal supported CMake version to 3.16
...
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2023-02-15 10:26:19 +01:00
Anton Maklakov
36db37ea2b
examples/cxx: add missing header
2023-02-15 10:26:19 +01:00
Roland Dobai
4f013e3522
Build & config: Remove leftover files from the unsupported "make" build system
2023-02-15 10:26:19 +01:00
Euripedes Rocha Filho
231392d0c6
experimental/mqtt_cxx: Adds a C++ Mqtt client wrapper
...
- Base class with separated event handlers for each Mqtt client event.
- Topic matcher added to support data events.
- Filter class to allow only mqtt valid topic filters.
- Initial code for unit test on the host.
2023-02-15 10:26:19 +01:00
david-cermak
9fb01ca534
Merge pull request #219 from david-cermak/feat/mdns_reverse_query_ip6
...
feat(mdns): Add support for IPv6 reverse query
2023-02-15 08:07:17 +01:00
David Cermak
d464ed7d30
feat(mdns): Add reverse lookup to the example and test
2023-02-15 07:48:04 +01:00
david-cermak
b94a211e4b
Merge pull request #222 from boborjan2/mdns_task_notification
...
components/mdns: use semaphore instead of task notification bits (IDFGH-9380) (IDFGH-9388)
2023-02-15 07:12:26 +01:00
Viktor Babrian
73f2800b59
components/mdns: use semaphore instead of task notification bits (IDFGH-9380)
...
Component should not alter the task notification bits of the calling task.
2023-02-14 11:43:02 +01:00
Suren
e00e056162
Merge pull request #215 from ESP-YJM/feat/add_auth_for_websocket
...
websocket: Support HTTP basic authorization
2023-02-10 17:29:31 +04:00
yuanjianmin
1b134486db
websocket: Support HTTP basic authorization
2023-02-09 15:09:40 +08:00
david-cermak
7ba1085e9f
Merge pull request #32 from 0xFEEDC0DE64/websocketclient-errormsg
...
Add websocket client error message string (IDFGH-7591)
2023-02-08 16:11:38 +01:00
david-cermak
3bdb2067e0
Merge pull request #218 from 0xFEEDC0DE64/add_task_name
...
Add task_name config option (for websocket client) (IDFGH-9346)
2023-02-08 16:10:05 +01:00
1d6888445d
Add task_name config option
2023-02-08 15:52:03 +01:00
d68624ec4f
Add websocket error messages
2023-02-08 15:35:01 +01:00
David Cermak
d4825f5c53
feat(mdns): Add support for IPv6 reverse query
...
Implements reverse querries together with
b87bef52e5 (IPv4)
Closes https://github.com/espressif/esp-protocols/issues/101
2023-02-07 20:16:26 +01:00
david-cermak
de1480a072
Merge pull request #217 from david-cermak/mdns/bump_component_version
...
mdns: bump the component version to 1.0.8
2023-02-06 20:13:17 +01:00
David Cermak
b9b4a75000
mdns: bump the component version to 1.0.8
2023-02-06 15:43:01 +01:00
david-cermak
cc259aa035
Merge pull request #203 from david-cermak/feat/mdns_reverse_query
...
feat(mdns): Add support for IPv4 reverse query
2023-02-03 15:21:38 +01:00
David Cermak
91134f10ff
mdns: Make reverse query conditional per Kconfig
...
and auto-register reverse logical names
2023-02-02 10:32:01 +01:00
David Cermak
fb8a2f0198
fix(mdns): Host test with IDFv5.1
2023-02-02 10:31:01 +01:00
David Cermak
b87bef52e5
feat(mdns): Add support for IPv4 reverse query
...
Partially addresses https://github.com/espressif/esp-protocols/issues/101
2023-02-02 10:31:00 +01:00
Suren
28813148b2
Merge pull request #211 from gabsuren/websocket/add_new_api_esp_destroy_selected
...
websocket: Added new API `esp_websocket_client_destroy_on_exit` (IDF-6458)
2023-02-01 18:00:30 +04:00
david-cermak
ae38f27997
Merge pull request #206 from david-cermak/bugfix/mdns_unit_tests
...
fix(mdns): Make unit test executable with pytest
2023-02-01 12:28:52 +01:00
David Cermak
d0c9070715
fix(mdns): Remove strict mode as it's invalid
...
Strict mode was introduced to support "one-shot" queries (described in
RFC6762/sec5.1) that are sent by lwip or dig. It was incorrectly assumed
that responding to such queries violates the spec, as we have to repeat
queries in responces, which is forbidden in RFC6762/sec6. It is however
required to repeat query fields according to the Section 6.7. Legacy
Unicast Responses: "it MUST repeat the query ID and the question
given in the query message."
2023-01-31 16:06:52 +01:00
David Cermak
a8339e4618
fix(mdns): Allow setting instance name only after hostname set
...
Closes https://github.com/espressif/esp-protocols/issues/190
2023-01-31 16:06:52 +01:00
David Cermak
12cfcb5aed
fix(mdns): Make unit test executable with pytest
2023-01-31 16:06:52 +01:00
david-cermak
2cfffb056e
Merge pull request #214 from david-cermak/bugfix/modem_cxx_broken_components
...
fix(esp_modem): Fix cmux client compilation issue
2023-01-31 14:42:46 +01:00
David Cermak
0247926219
fix(mdns): AFL port layer per IDF-latest changes
2023-01-31 11:15:06 +01:00
David Cermak
05fff94b91
update(esp_modem): Bump component version to 0.1.26
...
Closes https://github.com/espressif/esp-protocols/issues/213
Closes https://github.com/espressif/esp-protocols/issues/212
2023-01-31 11:02:52 +01:00
David Cermak
8958d5e37c
fix(esp-modem): Example to use variable mqtt topic/data
...
This example is used in the CI with public broker and
users playing with the example can influence stability
of tests if we share the same topic id
2023-01-31 11:02:52 +01:00
David Cermak
f71192b876
fix(esp_modem): Fix cmux client compilation issue
...
Removed dependency on esp_event_cxx
2023-01-30 15:30:48 +01:00
Suren Gabrielyan
f9b47900f2
websocket: Added new API esp_websocket_client_destroy_on_exit
2023-01-24 22:29:09 +04:00
term-est
0e215b118f
Added the missing definition for the esp_modem_set_baud function (IDFGH-9181) ( #209 )
...
fix(esp_modem): Added the missing definition for the esp_modem_set_baud function
2023-01-19 13:57:06 +01:00
Suren
dc8b916561
Merge pull request #205 from gabsuren/docs/fix_documentation
...
docs: Disable code coverage report publishing to Github Pages
2023-01-13 17:54:04 +04:00
Suren Gabrielyan
a01096f621
docs: Disable code coverage report publishing to Github Pages
2023-01-13 17:30:33 +04:00
david-cermak
3de4727385
Merge pull request #202 from gabsuren/CI/minor_fix_ci
...
CI: minor fix of host test *yml file
2023-01-12 20:02:12 +01:00
Suren Gabrielyan
59053b8c98
CI: minor fix of host test *yml file
2023-01-09 22:09:53 +04:00
david-cermak
2956477353
Merge pull request #196 from gabsuren/CI/gcovr_analyser
...
CI: Added coverage analyzer for esp_modem host tests
2023-01-09 14:09:11 +01:00
david-cermak
1d9b6f7e90
Merge pull request #199 from franz-ms-muc/patch-1
...
Update esp_modem_command_library.cpp (IDFGH-9018)
2023-01-04 12:30:45 +01:00
Suren Gabrielyan
6b684ceb0f
CI: Added coverage analyzer for esp_modem host tests
2022-12-30 13:11:59 +04:00
franz-ms-muc
5304a6ec0e
Update esp_modem_command_library.cpp
...
AT+IFC=2,2 instead AT+IFC=2, 2
2022-12-22 11:55:37 +01:00
Suren
c7f20ee98e
Merge pull request #191 from gabsuren/CI/refactor_yml_files
...
CI: Minor refactoring of *yml files for the target tests
2022-12-16 11:32:14 +04:00
david-cermak
7d47ec3b6b
Merge pull request #192 from XDanielPaul/master
...
Added badges with version of components to the respective README files (IDFGH-8940)
2022-12-14 12:47:48 +01:00
Daniel Paul
e4c8a5932c
Added badges with version of components to the respective README files
2022-12-12 18:13:04 +01:00
Suren Gabrielyan
b56b1c577b
CI: Minor refactoring of *yml files for target tests
2022-12-12 12:31:44 +04:00
david-cermak
4e212c31fe
Merge pull request #182 from david-cermak/feat/modem_target_test
...
feat(esp_modem): Added target test
2022-12-09 15:26:26 +01:00
David Cermak
9a7bd90ad9
fix(esp_modem): Exit data mode only after state change
...
Previously, we set the notification also for event
causing permature PPP mode exit
2022-12-01 18:35:06 +01:00
David Cermak
4314c78ca0
feat(esp_modem): Added target test
2022-12-01 18:35:01 +01:00
david-cermak
457f8335bb
Merge pull request #169 from david-cermak/feat/modem_dce_on_read
...
fix(esp-modem): Extend CMUX mode to support manual transitions
2022-11-23 20:24:26 +01:00
david-cermak
42565ff5d7
Merge pull request #177 from gabsuren/CI/asio_fix
...
CI: Fix ASIO example test
2022-11-23 20:23:20 +01:00
Suren Gabrielyan
6e2bb518fd
CI: Fix ASIO example test
2022-11-23 19:07:26 +04:00
David Cermak
2180ab17d8
fix(esp-modem): Support AT with callback in C-API
...
Closes https://github.com/espressif/esp-protocols/issues/143
2022-11-21 14:58:15 +01:00
David Cermak
ac5d43882b
feat(esp-modem): Add support for manual CMUX operations
...
Closes https://github.com/espressif/esp-protocols/issues/168
2022-11-21 14:58:15 +01:00
david-cermak
3f0262dfe5
Merge pull request #176 from gabsuren/CI/flake_use_github
...
CI: Updated flake8 to use github repo
2022-11-21 14:41:43 +01:00
Suren Gabrielyan
74787c9aa8
CI: Updated flake8 to use github repo
2022-11-21 16:31:20 +04:00
david-cermak
045009bb82
Merge pull request #173 from mahavirj/bugfix/some_issue_with_coverity_scan
...
mdns: fix some coverity reported issues
2022-11-07 15:11:08 +01:00
david-cermak
79c11e9ecd
Merge pull request #171 from gabsuren/feature/make_public_websocket_client_send_with_opcode
...
websocket: make `esp_websocket_client_send_with_opcode` a public API (IDFGH-6937)
2022-11-07 14:28:36 +01:00
Mahavir Jain
c73c797595
mdns: fix some coverity reported issues
...
- Array compared against 0 NO_EFFECT
- dereference null pointer, FORWARD_NULL check
2022-11-07 18:38:06 +05:30
Suren Gabrielyan
3330b96b10
websocket: make esp_websocket_client_send_with_opcode a public API
2022-11-07 16:20:34 +04:00
david-cermak
1547aa8c03
Merge pull request #166 from espressif-abhikroy/esp_modem/power_saving_mode
...
esp_modem/examples: Added example Power Saving Mode(PSM) in LTE modem.
2022-11-07 08:36:30 +01:00
Abhik Roy
1ca139109a
esp_modem/examples: Add an example to synchronise PSM sleep in Sim70XX modem and esp32.
...
This example enables Power saving mode in Sim70XX modem and tries to synchronise the sleep cycle of the modem with esp32.
When the modem wakes up from PSM sleep it wakes up the esp32. While the modem is awake esp32 is set to light sleep.
Closes: https://github.com/espressif/esp-protocols/issues/54
2022-11-06 18:52:50 +05:30
david-cermak
55c1223a1e
Merge pull request #165 from david-cermak/update/pick_update_prs
...
Accept some long standing example/demo PRs
2022-11-03 11:05:01 +01:00
david-cermak
0643613eee
Merge pull request #172 from gabsuren/feauture/websocket_update_example
...
websocket: updated example to use local websocket echo server
2022-11-03 11:04:23 +01:00
Suren Gabrielyan
55dc56462f
websocket: updated example to use local websocket echo server
2022-11-03 10:35:14 +04:00
david-cermak
698fb3ae00
Merge pull request #152 from gabsuren/test_apps/mdns_pytest_migration
...
mDNS: test_app pytest migration
2022-10-26 07:12:07 +02:00
Suren Gabrielyan
23a537b19b
CI: Created a common requirements.txt
2022-10-25 23:59:44 +04:00
Suren Gabrielyan
aee016d6e4
Examples: using pytest.ini from top level directory
2022-10-25 23:59:33 +04:00
David Cermak
f1ae14f263
update(esp_modem): Bump component version
2022-10-20 16:11:25 +02:00
David Cermak
65c0e0e195
fix(esp_modem): Cleanup custom lib-commands and factory
2022-10-20 16:11:19 +02:00
Suren Gabrielyan
f71f61ff0a
mDNS: test_app pytest migration
2022-10-19 09:23:36 +02:00
Franz Höpfinger
652314e73d
fix(esp_modem) Add example that reads GNSS info
2022-10-17 20:30:55 +02:00
Franz Höpfinger
71a2388acb
fix(esp_modem): Examples to configure MQTT Broker
2022-10-17 20:10:10 +02:00
Franz Höpfinger
ebc36a3519
fix(esp_modem): Extend pppos example project config
2022-10-17 20:01:45 +02:00
david-cermak
5097065a22
Merge pull request #153 from gabsuren/CI/pre-commit-hooks
...
CI: pre-commit hook integration (IDFGH-8439)
2022-10-17 19:23:55 +02:00
Suren Gabrielyan
193ac643e4
Add .git-blame-ignore-revs file
2022-10-17 18:19:49 +02:00
Suren Gabrielyan
945bd17701
CI: fixing the files to be complient with pre-commit hooks
2022-10-17 18:16:52 +02:00
Suren Gabrielyan
9d45d505d5
CI: pre-commit hook integration
2022-10-17 18:07:54 +02:00
david-cermak
96fcbc0694
Merge pull request #142 from david-cermak/bugfix/cmux_missed_msc
...
(esp_modem): Fix switching to CMUX mode for devices that send `MSC`s
2022-10-17 14:43:22 +02:00
david-cermak
6b4767cba0
Merge pull request #163 from gabsuren/CI/asio_update_version
...
ASIO: Updated package version to "1.14.1~3"
2022-10-17 13:45:41 +02:00
Suren Gabrielyan
f148c98b13
ASIO: Updated package version to "1.14.1~3"
2022-10-17 09:46:10 +02:00
david-cermak
06103e4bb4
Merge pull request #157 from david-cermak/bugfix/modem_lambda_capture
...
fix(esp-modem): On read/command callback fixes
2022-10-13 21:25:04 +02:00
david-cermak
c6fc267e5f
Merge pull request #162 from gabsuren/CI/asio_package_update
...
CI: Updated repo-checkout flag to consider submodules (IDFGH-8515)
2022-10-13 21:24:21 +02:00
david-cermak
52b7f001a2
Merge pull request #161 from espressif-abhikroy/esp_modem/power_saving_mode_commands
...
Quick fix esp_modem: Added modem_console commands for deep-sleep and modem PSM.
2022-10-13 21:23:28 +02:00
Abhik Roy
cf504ec900
Quick fix esp_modem: Added modem_console commands for deep-sleep and modem PSM.
2022-10-13 20:54:08 +05:30
Suren Gabrielyan
ab2e08f96c
CI: Updated checkout flag to consider submodules
2022-10-13 17:23:43 +02:00
diplfranzhoepfinger
511ed541b8
fix(esp-modem) Make simple_cmux_client example configurable
...
* extended simple_cmux_client
* add the Descriptions as proposed by @david-cermak
* EXAMPLE_FLOW_CONTROL
Co-authored-by: Franz Höpfinger <krone-trailer@franzhoepfinger.de >
2022-10-13 09:00:16 +02:00
david-cermak
8d0e2aab6b
Merge pull request #155 from espressif-abhikroy/esp_modem/power_saving_mode_commands
...
esp_modem: Added modem_console commands for deep-sleep and modem PSM. (IDFGH-8468)
2022-10-10 19:20:44 +02:00
David Cermak
a02bf05eed
fix(esp-modem): Uart Terminal read_cb race
2022-10-10 15:39:09 +02:00
Abhik Roy
85a2e25093
esp_modem: Added modem_console commands for deep-sleep and modem PSM.
2022-10-10 12:51:47 +05:30
david-cermak
a9b5e66d0f
Merge pull request #89 from tore-espressif/feature/esp_modem_usb
...
Use USB CDC driver from component registry (IDFGH-7816)
2022-10-05 11:58:43 +02:00
Tomas Rezucha
988b3f9905
ci: Compile esp_modem examples with USB support
2022-10-05 11:25:20 +02:00
Tomas Rezucha
53b59332dc
esp_modem: Expand PPPoS example with USB DTE
2022-10-05 11:25:14 +02:00
Tomas Rezucha
bf84ae940a
esp_modem: Allow USB DTE reconnection
...
esp_modem_usb_dte component is fetched from IDF component registry.
2022-10-05 11:25:06 +02:00
Tomas Rezucha
a89a0ab7a3
esp_modem: Add ConsoleCommand destructor
...
Commands are registered in Constructor. But there is now of deregistering it
This is needed for correct console re-construction,
for example with USB modem replugging.
2022-10-05 11:14:42 +02:00
diplfranzhoepfinger
fe536e476c
esp_modem_get_gnss_power_mode ( #136 )
...
Co-authored-by: Franz Höpfinger <krone-trailer@franzhoepfinger.de >
2022-10-05 08:54:41 +02:00
david-cermak
afafcb7c24
Merge pull request #149 from diplfranzhoepfinger/feature/extend_example_modem_console2
...
remove unused Config Parameters ! (IDFGH-8442)
2022-10-04 10:10:08 +02:00
Franz Höpfinger
55b4775ca8
remove unused Config Parameters !
2022-10-04 09:30:53 +02:00
david-cermak
1c6c610f20
Merge pull request #146 from MicroDev1/master
...
Prevent crash when hostname is null (IDFGH-8356)
2022-10-01 07:47:38 +02:00
David Cermak
9b48b0a5e0
update(esp_modem): Bump component version
2022-09-30 17:37:11 +02:00
David Cermak
25ac2d98c6
feat(esp_modem): Make some CMUX params compile-time configurable
...
* bool flag to defragment CMUX payload (useful for devices that send longer messages)
* int flag to force a delay between creating virtual terminals (useful for chatty devices that send some requests)
2022-09-30 17:36:38 +02:00
David Cermak
ce175df376
fix(esp_modem): CMUX to ignore MSC frames
...
Otherwise it gets confused with DISC frame and causes trouble when entering
CMUX mode (if device sends MSC requests)
Closes https://github.com/espressif/esp-protocols/issues/140
2022-09-30 17:36:38 +02:00
david-cermak
9d9d0db1ee
Merge pull request #145 from david-cermak/bugfix/modem_console_flow_ctrl_config
...
fix(esp_modem): Console example to use configurable flow-ctrl
2022-09-30 16:56:22 +02:00
david-cermak
b704aaa33b
Merge pull request #113 from david-cermak/feature/add_slip_example
...
Add protocols SLIP example
2022-09-30 16:39:30 +02:00
David Cermak
7a21db23ad
fix(examples): Update SLIP example with error checks
2022-09-30 16:04:46 +02:00
David Cermak
fcd6f0bb14
feat(examples): Move the slip example to esp-netif folder
...
And update the slip_modem_get_ipv6_address() to return the address by
copy instead of reference (to employ return value optimizaiton where
possible)
2022-09-30 14:46:13 +02:00
David Cermak
52d7458b99
esp_netif: Migrate SLIP interface to user-space
...
* Original commit: espressif/esp-idf@83b8556f10
2022-09-30 14:46:13 +02:00
Ivan Grokhotkov
56cb58ced7
build system: re-add -Wno-format as private flag for some example components
...
* Original commit: espressif/esp-idf@e596c84d49
2022-09-30 14:46:13 +02:00
Fu Hanxi
77a7538a02
docs: changes docs supported targets tables
...
* Original commit: espressif/esp-idf@c0568611dd
2022-09-30 14:46:13 +02:00
Michael (XIAO Xufeng)
c8d0a13f0e
ci: partially enable example build for esp32c2
...
* Original commit: espressif/esp-idf@f7be540222
2022-09-30 14:46:13 +02:00
Djordje Nedic
582f5b5ff6
tools: Increase the minimal supported CMake version to 3.16
...
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
* Original commit: espressif/esp-idf@facab8c5a7
2022-09-30 14:46:13 +02:00
Omar Chebib
06dd536d52
G0: target component (components/esp32*) doesn't depend on driver anymore
...
* Original commit: espressif/esp-idf@2571aaf3c9
2022-09-30 14:46:13 +02:00
Darian Leung
e66b19c414
freertos: Remove legacy data types
...
This commit removes the usage of all legacy FreeRTOS data types that
are exposed via configENABLE_BACKWARD_COMPATIBILITY. Legacy types can
still be used by enabling CONFIG_FREERTOS_ENABLE_BACKWARD_COMPATIBILITY.
* Original commit: espressif/esp-idf@57fd78f5ba
2022-09-30 14:46:13 +02:00
Roland Dobai
0ad6cad8b2
Build & config: Remove leftover files from the unsupported "make" build system
...
* Original commit: espressif/esp-idf@766aa57084
2022-09-30 14:46:13 +02:00
Xue Yun Fei
ffa13e4b90
bugfix for ipv6_address_value_issue
...
Closes https://github.com/espressif/esp-idf/issues/5663
* Original commit: espressif/esp-idf@74236f0b29
2022-09-30 14:46:13 +02:00
Angus Gratton
0fc1fc6b23
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
* Original commit: espressif/esp-idf@66fb5a29bb
2022-09-30 14:46:13 +02:00
David Cermak
f1d1d79daf
esp-netif: Fix SLIP interface to start with correct IPv6 addr
...
Merges https://github.com/espressif/esp-idf/pull/4985
* Original commit: espressif/esp-idf@5dae28069f
2022-09-30 14:46:13 +02:00
David Cermak
36d0d32b35
esp-netif: removing SLIP related events as the slip-modem set state synchronously
...
* Original commit: espressif/esp-idf@bb9a7356ac
2022-09-30 14:46:13 +02:00
David Cermak
3bf488eb86
esp-netif: SLIP interface refactor to isolate interface from drivers
...
* Original commit: espressif/esp-idf@1a41545c3e
2022-09-30 14:46:13 +02:00
ryan
061885ad23
esp-netif: Added esp_netif slip support, slip_modem component and example
...
Merges https://github.com/espressif/esp-idf/pull/4985
* Original commit: espressif/esp-idf@266be00254
2022-09-30 14:46:13 +02:00
david-cermak
ab70791625
Merge pull request #147 from tore-espressif/feature/esp_modem/c_error
...
esp_modem: Allow C API extensions (IDFGH-8368)
2022-09-30 14:25:21 +02:00
Tomas Rezucha
62cb235aa9
esp_modem: Allow error handler register in C
...
C++ API offers interface to register error callback.
C API isn't flexible enough, so we offer conversion function between C++ and C enums.
2022-09-30 11:55:09 +02:00
Tomas Rezucha
04c711f757
esp_modem: Move common C definitions in to separate header
...
Separate header for C API created.
It can be used by C DTE extensions.
2022-09-30 11:41:34 +02:00
david-cermak
467fec5c9b
Merge pull request #141 from gabsuren/examples/asio_examples_integrationn
...
ASIO: Example tests integration
2022-09-30 10:38:38 +02:00
Suren Gabrielyan
5193ebc6ea
ASIO: Example tests integration
2022-09-27 16:09:50 +04:00
microDev
3498e86d8b
prevent crash when hostname is null
2022-09-21 21:03:07 +05:30
David Cermak
07a347f907
fix(esp_modem): Fix CRLF endlines in examples
2022-09-20 08:20:05 +02:00
David Cermak
d9c9681094
fix(esp_modem): Console example to use configurable flow-ctrl
2022-09-20 08:18:53 +02:00
david-cermak
7310a7a0bc
Merge pull request #144 from jonathandreyer/feature/modem_cmux_exit_example
...
esp_modem: Exit CMUX after end of example
2022-09-20 07:37:21 +02:00
Jonathan Dreyer
accf9244ca
Minor formatting fix and spelling
2022-09-19 17:11:57 +02:00
Jonathan Dreyer
290197c210
feat(esp-modem): Add exit PPP in example
2022-09-19 17:07:49 +02:00
david-cermak
b8d1e58778
Merge pull request #116 from gabsuren/examples/mdns_examples_integration
...
mdns: Example tests integration
2022-09-15 11:41:58 +02:00
david-cermak
cc4d33d871
Merge pull request #125 from david-cermak/bugfix/modem_command_race
...
fix(esp_modem): DTE command race of timeout vs reply's signal
2022-09-14 14:46:06 +02:00
diplfranzhoepfinger
ef0e48a678
extended the modem_console example. ( #120 )
...
Co-authored-by: Franz Höpfinger <krone-trailer@franzhoepfinger.de >
Co-authored-by: david-cermak <38914379+david-cermak@users.noreply.github.com >
2022-09-14 14:05:25 +02:00
David Cermak
187ef7676e
update(esp_modem): Bump component version
2022-09-14 13:52:00 +02:00
David Cermak
a8714730fb
fix(esp_modem): DTE command race of timeout vs reply's signal
...
Race condtion:
* First command timeouted, but the reply came just after evaluation and
set signal variable to GOT_LINE
* Second command should timeout too, but a consistency check validates
that it timeouted and at the same time GOT_LINE (from previous step) and
throws an exception
STR:
* Revert change in esp_modem_dte.cpp
* Run TEST_CASE("DTE command races", "[esp_modem]")
Closes https://github.com/espressif/esp-protocols/issues/110
2022-09-14 13:50:22 +02:00
david-cermak
d2f519f9e5
Merge pull request #139 from david-cermak/bugfix/modem_get_operator_name_with_act
...
fix(esp_modem): Make get_operator_name() return also ACT value
2022-09-14 13:46:28 +02:00
gabsuren
a045c1c885
mdns: Example tests integration
2022-09-14 10:58:31 +04:00
david-cermak
543521a220
Merge pull request #123 from thorrak/hygiene/TTL
...
Replace hardcoded TTL values with named defines (IDFGH-8113)
2022-09-09 15:13:22 +02:00
david-cermak
85be67e708
Merge pull request #126 from jonathandreyer/bugfix/ci-partial-disable
...
CI: Disable some runs on forks (which are not able to access to secrets) (IDFGH-8152)
2022-09-09 15:11:41 +02:00
Jonathan Dreyer
5b1b2cce75
Disable specific runs..
...
.. which are not access to secrets
2022-09-09 14:30:37 +02:00
David Cermak
1029078541
fix(esp_modem): Correct timeouts for certain commands
...
And adds an explicit timeout parameter to the esp_modem_at()
Closes https://github.com/espressif/esp-protocols/issues/129
2022-09-09 11:23:21 +02:00
David Cermak
0015e5411c
fix(esp_modem): Make get_operator_name() return also ACT value
...
Closes https://github.com/espressif/esp-protocols/issues/128
2022-09-09 10:54:55 +02:00
david-cermak
65b64e1fc1
Merge pull request #138 from tore-espressif/fix/idf_version_check
...
esp_modem: Fix IDF version resolution (IDFGH-8271)
2022-09-09 10:13:40 +02:00
Tomas Rezucha
d07237b2ce
esp_modem: Fix IDF version resolution
2022-09-09 09:31:26 +02:00
david-cermak
3c65fde2a7
Merge pull request #117 from david-cermak/bugfix/mdns_add_service_fail_if_nohostname
...
mdns: Fix add_service() to report error if no hostname has been set
2022-09-08 12:59:08 +02:00
david-cermak
35833d2730
Merge pull request #131 from tore-espressif/feature/esp_modem/err_cb
...
esp_modem: Expose set_error_cb method
2022-09-08 12:54:13 +02:00
Mahavir Jain
bbb4b7e686
Merge pull request #135 from mahavirj/bugfix/fix_broken_ipv4_only_build
...
mdns: fix IPV4 only build and also update CI configuration
2022-09-07 22:10:18 +05:30
Mahavir Jain
64e31dae48
ci: fix issue with cryptography package installation
2022-09-07 13:58:10 +05:30
Mahavir Jain
63ce3a5d59
protocol_examples_common: fix build for SPI_ETHERNET case with IDF v5.x
2022-09-07 12:52:39 +05:30
Mahavir Jain
5dd138c883
ci: remove sdkconfig before starting new config based build
2022-09-07 12:52:39 +05:30
Mahavir Jain
088f7ac3f8
mdns: bump up the component version
2022-09-07 09:44:33 +05:30
Mahavir Jain
e079f8ba98
mdns: fix IPV4 only build and also update CI configuration
...
Earlier commit 48c157bc46 had typo
regarding variable name. This was not caught in CI because IPV6
was not really getting disabled due to an indirect dependency
of `CONFIG_EXAMPLE_CONNECT_IPV6`.
This commit fixes both the problems.
2022-09-07 09:43:46 +05:30
Mahavir Jain
ff2b0734ea
Merge pull request #132 from mahavirj/bugfix/build_issue_with_ipv6_disabled
...
mdns: fix build issue with CONFIG_LWIP_IPV6 disabled
2022-09-06 21:28:33 +05:30
Mahavir Jain
330332a0fb
mdns: add test configuration for IPV6 disabled build
2022-09-05 13:24:14 +05:30
Mahavir Jain
48c157bc46
mdns: fix build issue with CONFIG_LWIP_IPV6 disabled
2022-09-02 16:13:17 +05:30
Tomas Rezucha
98bf3efeb6
esp_modem: Fix format warnings
...
Closes https://github.com/espressif/esp-protocols/issues/79
2022-09-02 10:02:34 +02:00
Tomas Rezucha
ae8479c77e
esp_modem: Expose set_error_cb method
2022-09-02 09:17:49 +02:00
david-cermak
444fae9066
Merge pull request #115 from david-cermak/bugfix/cmux_exit_bg96
...
fix(esp_modem): Correct exit of CMUX mode
2022-08-29 16:13:31 +02:00
John
bb4c002841
Replace hardcoded TTL values with named defines
...
- Replaces hardcoded PTR "half-TTL" with `MDNS_ANSWER_PTR_TTL/2` (defined in mdns_private.h)
- Replaces hardcoded TXT "half-TTL" with `MDNS_ANSWER_TXT_TTL/2` (defined in mdns_private.h)
2022-08-23 08:44:36 -04:00
David Cermak
656ab21c9b
mdns: Fix add_service() to report error if no-hostname
2022-08-19 18:47:47 +02:00
David Cermak
2099434b3f
fix(esp_modem): Correct exit of CMUX mode
...
* Fix DISC message's control field (0xFF->0xFE) to keep Poll bit cleared
* Accept UIH resp on DISC for both (0xFF, 0xFE) ignoring P/F bit
* Fix timeout processing when handling DISC message
Closes https://github.com/espressif/esp-protocols/issues/103
2022-08-19 11:45:59 +02:00
david-cermak
8f00fc182a
Merge pull request #114 from david-cermak/bugfix/dns-header-bit-order
...
mdns: fix bit order issue in DNS header flags (updated)
2022-08-19 09:03:04 +02:00
David Cermak
d74c296182
fix(mdns): Example makefile to add only mdns as extra comps
2022-08-18 16:41:38 +02:00
Jiacheng Guo
c4e85bd099
mdns: fix bit order issue in DNS header flags
...
The bit field in the header flags does not match its intended order on
little endian machines. The PR removes the bit field and uses bit
operations instead.
2022-08-18 16:39:38 +02:00
david-cermak
85ba60e405
Merge pull request #88 from david-cermak/bugfix/modem_better_exception_report
...
fix(esp-modem): Add filename/line info to exception message
2022-08-18 15:27:47 +02:00
David Cermak
89e1bd27b3
fix(esp-modem): Add filename/line info to exception message
...
This is useful if exceptions are enabled, but caught internally on C++ API boundary
2022-08-18 14:52:21 +02:00
david-cermak
341fcb0f40
Merge pull request #112 from gabsuren/bugfix/updated_esp_modem_package
...
esp_modem: updated package version to 0.1.19 (IDFGH-8032)
2022-08-18 14:47:47 +02:00
gabsuren
469f953b28
esp_modem: updated package version to 0.1.19
2022-08-18 15:59:48 +04:00
david-cermak
381eb314dc
Merge pull request #93 from gabsuren/feature/websocket_json_example
...
websocket: updated example to show how to transfer json data
2022-08-15 14:50:48 +02:00
david-cermak
1ffc20c8e3
Merge pull request #105 from gabsuren/websocket/version_change_03
...
esp_websocket_client: upgraded package version to 0.0.3 (IDFGH-7986)
2022-08-05 12:37:40 +02:00
gabsuren
5c245dbdb5
esp_websocket_client: Upgraded version to 0.0.3
2022-08-05 10:21:41 +04:00
gabsuren
134a9a9eee
Revert "bugfix: mdns IPv6 address convert error"
...
This reverts commit 238ee96783 .
2022-08-04 15:52:40 +04:00
david-cermak
010f98ca80
Merge pull request #99 from gabsuren/bugfix/fix_ci_build
...
CI: Fix build issues
2022-07-29 11:10:11 +02:00
gabsuren
6e4e4fab1d
CI: Fix build issues
2022-07-28 22:47:53 +04:00
david-cermak
b6852a0588
Merge pull request #96 from gjc13/bugfix/aa-bit-receive
...
fix(mdns): ignore authoritative flag on reception (IDFGH-7891)
2022-07-25 08:26:10 +02:00
Jiacheng Guo
415e04a55f
fix(mdns): ignore authoritative flag on reception
2022-07-22 22:25:08 +08:00
gabsuren
3456781494
websocket: updated example to show json data transfer
2022-07-21 16:04:58 +04:00
diplfranzhoepfinger
d1129f3d19
esp_err_to_name (IDFGH-7793) ( #78 )
...
fix(esp-modem): Use err_to_name to log error message on error
2022-07-18 17:08:15 +02:00
david-cermak
973837dd66
Merge pull request #92 from david-cermak/feat/mdns_explicit_deps
...
feat(mdns): Define explicit dependencies on esp-wifi
2022-07-18 17:05:44 +02:00
David Cermak
36de9afe0c
feat(mdns): Define explicit dependencies on esp-wifi
2022-07-18 09:49:03 +02:00
david-cermak
0d5081b841
Merge pull request #81 from lcj446068124/bugfix/mdns_ipv6_convert_error
...
bugfix: mdns IPv6 address convert error (IDFGH-7772)
2022-07-15 08:13:06 +02:00
david-cermak
85c7282641
Merge pull request #91 from Lapshin/feature/bump-versions
...
Bump asio/mdns/esp_websocket_client versions
2022-07-15 07:13:35 +02:00
Alexey Lapshin
57afa38f49
Bump asio/mdns/esp_websocket_client versions
...
Update components version afrer change d66f9dc158
2022-07-14 20:04:28 +04:00
liuchangjian
238ee96783
bugfix: mdns IPv6 address convert error
...
In this fix, we manually convert esp_ip_addr_t to ip_addr_t.
2022-07-14 23:40:08 +08:00
david-cermak
10e6348e09
Merge pull request #85 from david-cermak/feature/modem_operator_name_add_act
...
feat(esp_modem): Add optional ACT to operator-name
2022-07-13 16:20:54 +02:00
David Cermak
a286634359
feat(esp_modem): Add optional ACT to operator-name
...
Closes https://github.com/espressif/esp-protocols/issues/80
2022-07-13 09:56:29 +02:00
david-cermak
4cdfc857ad
Merge pull request #68 from gabsuren/refactor/organize_yml_files
...
CI: Organize GitHub workflow structures
2022-07-12 20:04:01 +02:00
david-cermak
371a32d4ae
Merge pull request #72 from david-cermak/bugfix/modem_c_api_pdp_ctx
...
fix(esp-modem): Add missing set_pdp_context() to C-API
2022-07-12 20:03:03 +02:00
david-cermak
dc4e54e99a
Merge pull request #87 from Lapshin/fix/ignore-format-warnings
...
ignore format warnings
2022-07-12 20:02:30 +02:00
Alexey Lapshin
d66f9dc158
ignore format warnings
2022-07-12 18:13:01 +04:00
David Cermak
4980ac85b7
fix(esp-modem): Add missing set_pdp_context() to C-API
2022-07-12 15:52:39 +02:00
gabsuren
626eb52d04
CI: Organize github workflow structure
2022-07-12 17:24:41 +04:00
david-cermak
82b1aa9280
Merge pull request #73 from Lapshin/fix/ignore-format-warnings
...
esp_modem: Ignore format warnings (IDFGH-7760)
2022-07-12 10:44:26 +02:00