f1ae14f263
update(esp_modem): Bump component version
2022-10-20 16:11:25 +02:00
65c0e0e195
fix(esp_modem): Cleanup custom lib-commands and factory
2022-10-20 16:11:19 +02:00
652314e73d
fix(esp_modem) Add example that reads GNSS info
2022-10-17 20:30:55 +02:00
71a2388acb
fix(esp_modem): Examples to configure MQTT Broker
2022-10-17 20:10:10 +02:00
ebc36a3519
fix(esp_modem): Extend pppos example project config
2022-10-17 20:01:45 +02:00
945bd17701
CI: fixing the files to be complient with pre-commit hooks
2022-10-17 18:16:52 +02:00
96fcbc0694
Merge pull request #142 from david-cermak/bugfix/cmux_missed_msc
...
(esp_modem): Fix switching to CMUX mode for devices that send `MSC`s
2022-10-17 14:43:22 +02:00
06103e4bb4
Merge pull request #157 from david-cermak/bugfix/modem_lambda_capture
...
fix(esp-modem): On read/command callback fixes
2022-10-13 21:25:04 +02:00
cf504ec900
Quick fix esp_modem: Added modem_console commands for deep-sleep and modem PSM.
2022-10-13 20:54:08 +05:30
511ed541b8
fix(esp-modem) Make simple_cmux_client example configurable
...
* extended simple_cmux_client
* add the Descriptions as proposed by @david-cermak
* EXAMPLE_FLOW_CONTROL
Co-authored-by: Franz Höpfinger <krone-trailer@franzhoepfinger.de >
2022-10-13 09:00:16 +02:00
a02bf05eed
fix(esp-modem): Uart Terminal read_cb race
2022-10-10 15:39:09 +02:00
85a2e25093
esp_modem: Added modem_console commands for deep-sleep and modem PSM.
2022-10-10 12:51:47 +05:30
988b3f9905
ci: Compile esp_modem examples with USB support
2022-10-05 11:25:20 +02:00
53b59332dc
esp_modem: Expand PPPoS example with USB DTE
2022-10-05 11:25:14 +02:00
bf84ae940a
esp_modem: Allow USB DTE reconnection
...
esp_modem_usb_dte component is fetched from IDF component registry.
2022-10-05 11:25:06 +02:00
a89a0ab7a3
esp_modem: Add ConsoleCommand destructor
...
Commands are registered in Constructor. But there is now of deregistering it
This is needed for correct console re-construction,
for example with USB modem replugging.
2022-10-05 11:14:42 +02:00
fe536e476c
esp_modem_get_gnss_power_mode ( #136 )
...
Co-authored-by: Franz Höpfinger <krone-trailer@franzhoepfinger.de >
2022-10-05 08:54:41 +02:00
55b4775ca8
remove unused Config Parameters !
2022-10-04 09:30:53 +02:00
9b48b0a5e0
update(esp_modem): Bump component version
2022-09-30 17:37:11 +02:00
25ac2d98c6
feat(esp_modem): Make some CMUX params compile-time configurable
...
* bool flag to defragment CMUX payload (useful for devices that send longer messages)
* int flag to force a delay between creating virtual terminals (useful for chatty devices that send some requests)
2022-09-30 17:36:38 +02:00
ce175df376
fix(esp_modem): CMUX to ignore MSC frames
...
Otherwise it gets confused with DISC frame and causes trouble when entering
CMUX mode (if device sends MSC requests)
Closes https://github.com/espressif/esp-protocols/issues/140
2022-09-30 17:36:38 +02:00
9d9d0db1ee
Merge pull request #145 from david-cermak/bugfix/modem_console_flow_ctrl_config
...
fix(esp_modem): Console example to use configurable flow-ctrl
2022-09-30 16:56:22 +02:00
62cb235aa9
esp_modem: Allow error handler register in C
...
C++ API offers interface to register error callback.
C API isn't flexible enough, so we offer conversion function between C++ and C enums.
2022-09-30 11:55:09 +02:00
04c711f757
esp_modem: Move common C definitions in to separate header
...
Separate header for C API created.
It can be used by C DTE extensions.
2022-09-30 11:41:34 +02:00
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