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
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
1db1e1508d
fix(modem): Fix DTE to post fragments to parsers for USB term
2023-10-20 11:54:48 +02:00
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
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
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
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
60c87ddf26
fix(modem): Fix LoadProhibited after failed CMUX initialization (IDFGH-10845)
2023-08-18 12:44:37 +03:00
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
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
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
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
945bd17701
CI: fixing the files to be complient with pre-commit hooks
2022-10-17 18:16:52 +02:00
a02bf05eed
fix(esp-modem): Uart Terminal read_cb race
2022-10-10 15:39:09 +02:00
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
ae8479c77e
esp_modem: Expose set_error_cb method
2022-09-02 09:17:49 +02:00
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
66e6d4cbf8
fix(esp_modem): Implement movable unique_buffer to bundle data, size, ptr
...
Also improves and fixes tests
2022-06-18 12:19:07 +02:00
f3ff98bb82
fix(exp_modem): DTE should own both command and data terminal
...
reworks to clear shared_ptr<> of both command and data terminals
and having DTE own it. When we swith to CMUX mode the ownership is transfered to CMux terminal
2022-06-11 21:33:51 +02:00
a16aab6979
feat(esp_modem): Add support to CMUX exit
...
Closes https://github.com/espressif/esp-protocols/issues/37
2022-06-11 15:07:39 +02:00
a61e9e2d40
Applied astyle code formatting
2021-10-04 11:32:55 +02:00
90641c89eb
esp_modem: Moved to component folder
2021-10-04 11:32:55 +02:00