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
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 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 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 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
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
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
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
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 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 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
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
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
zhangwenxu
ddc3eb62d0
feat(mdns): add an API for setting address to a delegated host
2023-06-29 21:57:39 +08: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
e620eb5fb1
fix(modem): Support UART clean build with IDF v5.2
2023-06-20 15:56:57 +02:00
David Cermak
588465d9db
feat(examples): Add support for lwip build under 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
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
Suren Gabrielyan
4de52981cb
docs: update documentation links
2023-05-12 12:21:55 +04: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 Gabrielyan
ab94566995
fix(esp_modem): fix esp_modem build issue
2023-04-27 12:25:59 +04:00
Suren Gabrielyan
05348534a6
docs(esp_modem): updated documents to show missed topics
2023-04-26 16:24:30 +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