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