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
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
modem-v1.0.3
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
modem-v1.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
mdns-v1.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
websocket-v1.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