07a347f907
fix(esp_modem): Fix CRLF endlines in examples
2022-09-20 08:20:05 +02:00
d9c9681094
fix(esp_modem): Console example to use configurable flow-ctrl
2022-09-20 08:18:53 +02:00
accf9244ca
Minor formatting fix and spelling
2022-09-19 17:11:57 +02:00
290197c210
feat(esp-modem): Add exit PPP in example
2022-09-19 17:07:49 +02:00
cc4d33d871
Merge pull request #125 from david-cermak/bugfix/modem_command_race
...
fix(esp_modem): DTE command race of timeout vs reply's signal
2022-09-14 14:46:06 +02:00
ef0e48a678
extended the modem_console example. ( #120 )
...
Co-authored-by: Franz Höpfinger <krone-trailer@franzhoepfinger.de >
Co-authored-by: david-cermak <38914379+david-cermak@users.noreply.github.com >
2022-09-14 14:05:25 +02:00
187ef7676e
update(esp_modem): Bump component version
2022-09-14 13:52:00 +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
d2f519f9e5
Merge pull request #139 from david-cermak/bugfix/modem_get_operator_name_with_act
...
fix(esp_modem): Make get_operator_name() return also ACT value
2022-09-14 13:46:28 +02:00
1029078541
fix(esp_modem): Correct timeouts for certain commands
...
And adds an explicit timeout parameter to the esp_modem_at()
Closes https://github.com/espressif/esp-protocols/issues/129
2022-09-09 11:23:21 +02:00
0015e5411c
fix(esp_modem): Make get_operator_name() return also ACT value
...
Closes https://github.com/espressif/esp-protocols/issues/128
2022-09-09 10:54:55 +02:00
d07237b2ce
esp_modem: Fix IDF version resolution
2022-09-09 09:31:26 +02:00
98bf3efeb6
esp_modem: Fix format warnings
...
Closes https://github.com/espressif/esp-protocols/issues/79
2022-09-02 10:02:34 +02:00
ae8479c77e
esp_modem: Expose set_error_cb method
2022-09-02 09:17:49 +02:00
2099434b3f
fix(esp_modem): Correct exit of CMUX mode
...
* Fix DISC message's control field (0xFF->0xFE) to keep Poll bit cleared
* Accept UIH resp on DISC for both (0xFF, 0xFE) ignoring P/F bit
* Fix timeout processing when handling DISC message
Closes https://github.com/espressif/esp-protocols/issues/103
2022-08-19 11:45:59 +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
469f953b28
esp_modem: updated package version to 0.1.19
2022-08-18 15:59:48 +04:00
6e4e4fab1d
CI: Fix build issues
2022-07-28 22:47:53 +04:00
d1129f3d19
esp_err_to_name (IDFGH-7793) ( #78 )
...
fix(esp-modem): Use err_to_name to log error message on error
2022-07-18 17:08:15 +02:00
10e6348e09
Merge pull request #85 from david-cermak/feature/modem_operator_name_add_act
...
feat(esp_modem): Add optional ACT to operator-name
2022-07-13 16:20:54 +02:00
a286634359
feat(esp_modem): Add optional ACT to operator-name
...
Closes https://github.com/espressif/esp-protocols/issues/80
2022-07-13 09:56:29 +02:00
4980ac85b7
fix(esp-modem): Add missing set_pdp_context() to C-API
2022-07-12 15:52:39 +02:00
e8145fcede
esp_modem: Ignore format warnings
2022-07-12 12:32:15 +04:00
a243d7e878
fix(esp_modem): Update ap2ppp example to recover network on disconnection
...
Closes https://github.com/espressif/esp-protocols/issues/44
2022-07-01 13:52:49 +02:00
9b403d477f
Merge pull request #64 from bbinet/custom-source-clk
...
Allow to customize uart source_clk (IDFGH-7659)
2022-06-24 16:24:00 +02:00
d723fb7a5a
Allow to customize uart source_clk
...
This is for example needed when using an external crystal to select
UART_SCLK_XTAL, which fixes uart comm issue when using PM with light
sleep enabled.
2022-06-24 14:44:15 +02:00
0cf08fb676
Add "at" api for custom commands
2022-06-23 17:40:06 +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
58a0b57e12
fix(esp_modem): Update CMUX example to use CMUX mode automatically
2022-06-11 21:29:25 +02:00
3fd4391c38
feat(esp_modem): Add CMUX mode to C-API
...
Closes https://github.com/espressif/esp-protocols/issues/41
2022-06-11 15:07:39 +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
1e0aefd72a
fix(esp-modem): Improve PPP exit sequence
...
* Implement retry mechanism if escape PPP mode failed
* Stop networking and checking for NO-CARRIER manually on PPP exit
Closes https://github.com/espressif/esp-protocols/issues/47
2022-06-11 15:07:39 +02:00
5addf9e885
feat(esp_modem): Bumped version number to 0.1.17
2022-06-10 14:56:12 +02:00
128c0a2d87
fix(esp_modem): Support 2 byte size packets
...
Closes https://github.com/espressif/esp-protocols/issues/46
2022-06-06 15:05:38 +02:00
0875008a46
Merge pull request #30 from Sjurinho/feature/extended-simcom-support
...
Feature/extended simcom support (IDFGH-7243)
2022-05-25 13:21:50 +02:00
a661e51f7e
esp_modem: Fix param description for get_operator_name()
...
Co-authored-by: Franz Höpfinger <krone-trailer@franzhoepfinger.de >
2022-05-24 17:44:35 +02:00
3ced2d9709
Update: Removed stringstream to decrease static sizes
2022-05-24 14:54:24 +02:00
ba88d7fdbc
Update: Renamed list_in to be type-specific
...
Update: Removed modem-specific comment
2022-05-24 14:53:58 +02:00
4f3c4299d6
Update: Changed tests to coincide with new initial esp_modem mode
2022-05-24 14:53:11 +02:00
2a4e684848
Merge pull request #34 from david-cermak/bugfix/modem_cmux_uih
...
fix(esp_modem): Correction of switching to CMUX mode
2022-05-24 10:38:59 +02:00
52de8f1b2a
typo
2022-05-13 17:29:34 +02:00
503218b3ba
fix(esp_modem): Correction of switching to CMUX
...
* BG96 needs a small pause between CMUX command reception and actual use
of the CMUX mode
* Correct CMUX payload reception to check FT_UIH message type (P/F flag
could be cleared or set)
Closes https://github.com/espressif/esp-protocols/issues/33
2022-05-10 18:04:18 +02:00
e98cf16859
Update: Removed duplicate power down function
...
Add: gnss power mode function
2022-04-20 09:37:39 +02:00
be3d2ece55
Update: Formatting
2022-04-20 09:16:05 +02:00
15ed885035
Add: Sim7600 extended support
2022-04-19 16:23:22 +02:00
0733ea8ff4
Add: Support for SIM7000 modules
2022-04-13 15:36:15 +02:00
15cbc9bd50
Update: modem_mode::UNDEF initially
2022-04-13 13:44:11 +02:00
bb7f198bea
Add: sim7070 support
2022-04-13 13:42:57 +02:00
d3f7ea67fb
Add: Expanded modem_command_library with more "standard" commands
2022-04-13 13:41:56 +02:00