Commit Graph

42 Commits

Author SHA1 Message Date
Tomas Rezucha
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
Jonathan Dreyer
accf9244ca Minor formatting fix and spelling 2022-09-19 17:11:57 +02:00
David Cermak
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
Tomas Rezucha
ae8479c77e esp_modem: Expose set_error_cb method 2022-09-02 09:17:49 +02:00
David Cermak
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
david-cermak
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
David Cermak
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
David Cermak
4980ac85b7 fix(esp-modem): Add missing set_pdp_context() to C-API 2022-07-12 15:52:39 +02:00
david-cermak
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
Bruno Binet
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
Bruno Binet
0cf08fb676 Add "at" api for custom commands 2022-06-23 17:40:06 +02:00
David Cermak
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
David Cermak
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
David Cermak
58a0b57e12 fix(esp_modem): Update CMUX example to use CMUX mode automatically 2022-06-11 21:29:25 +02:00
David Cermak
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
David Cermak
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
David Cermak
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
david-cermak
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
diplfranzhoepfinger
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
sjurgw
ba88d7fdbc Update: Renamed list_in to be type-specific
Update: Removed modem-specific comment
2022-05-24 14:53:58 +02:00
Sjur G. Wroldsen
15ed885035 Add: Sim7600 extended support 2022-04-19 16:23:22 +02:00
Sjur G. Wroldsen
0733ea8ff4 Add: Support for SIM7000 modules 2022-04-13 15:36:15 +02:00
Sjur G. Wroldsen
15cbc9bd50 Update: modem_mode::UNDEF initially 2022-04-13 13:44:11 +02:00
Sjur G. Wroldsen
bb7f198bea Add: sim7070 support 2022-04-13 13:42:57 +02:00
Sjur G. Wroldsen
d3f7ea67fb Add: Expanded modem_command_library with more "standard" commands 2022-04-13 13:41:56 +02:00
Tomas Rezucha
74040cfd1a esp_modem: Extend modem_console example with USB DTE 2022-04-04 15:48:47 +02:00
Vladimir Chistyakov
face03e4e5 fix: add virtual destructors to ModuleIf and CommandableIf 2022-01-28 22:34:03 +07:00
David Cermak
8417e232aa fix(esp_modem): Read module name with AT commands
This fixes basic IDF test case which supplied dummy module name.
2021-11-25 16:24:52 +01:00
Sudeep Mohanty
5d9ad9cffd esp_modem: Update FreeRTOS EventQueueHandle_t forward declaration
This commit includes freertos/event_groups.h header and removes the
forward declaration for EventGroupHandle_t.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-11-18 16:24:35 +05:30
David Cermak
5299b425e8 esp_modem: Add missing AT commands to plain C-API 2021-11-16 08:03:30 +01:00
Sudeep Mohanty
58887170d2 esp_modem: Update Task handle and Event Group handle to match freertos v10.4.3
This commit updates the default handles for Task type and Signal Group
type to match the struct type handle from freertos v10.4.3.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2021-11-08 10:46:53 +05:30
David Cermak
c1b1330680 esp_modem(Docs): Minor correction of the docs 2021-10-04 11:32:55 +02:00
David Cermak
fb6029b66c CMUX: Refactor the protocol decoder to multiple methods per cmux state 2021-10-04 11:32:55 +02:00
David Cermak
6e34954677 Factory: Rename Builder class to Creator, since it's not 100% builder pattern 2021-10-04 11:32:55 +02:00
David Čermák
148a9300a4 esp_modem: Formal updates per code review 2021-10-04 11:32:55 +02:00
David Cermak
a61e9e2d40 Applied astyle code formatting 2021-10-04 11:32:55 +02:00
David Čermák
dc64f862c4 esp-modem(DCE-Factory): Minor corrections per code review 2021-10-04 11:32:55 +02:00
David Cermak
3332c27978 Bulk replace header guards to use 2021-10-04 11:32:55 +02:00
David Čermák
e0e65856f0 esp-modem(Docs): Update documentation and minor fixes 2021-10-04 11:32:55 +02:00
David Cermak
8f17a90026 esp-modem(VFS): Reworked decouple resources from the file system 2021-10-04 11:32:55 +02:00
David Cermak
69ad3ea589 Make the component compatible with IDFv4.1, v4.2, v4.3 2021-10-04 11:32:55 +02:00
David Čermák
90641c89eb esp_modem: Moved to component folder 2021-10-04 11:32:55 +02:00