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 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 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
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
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 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
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
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
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
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 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 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 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
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