ceedcfca23
fix(modem): AT-only example: initial adaptation to BG96
...
Plus rework a little to support implementation of multiple devices
2023-03-16 19:45:43 +01:00
7547267336
feat(modem): Add mqtt example in AT-only mode
...
Similar to pppos-client, but without PPP mode.
This uses standard mqtt client and a loopback service that forwards the
TCP traffic from localhost to the modem and vice-versa.
(next step is to create a dedicated tcp-transport layer for modem)
Console example uses DCE commandable to demontrate how to handle URC
2023-03-16 19:42:29 +01: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
574738b8d3
Merge pull request #252 from tore-espressif/feature/esp_modem/usb_examples
...
esp_modem: Update examples for USB v1.1
2023-03-16 13:32:29 +01:00
bf32e452d6
fix(modem): warning in ap-2-pppos example when using lwip/napt
...
Latest IDF added new napt API that support enabling NAPT based on netif
pointer. Need to include "lwip/netif.h"
2023-03-16 09:26:30 +01:00
ba45e9a07e
Merge pull request #242 from david-cermak/bugfix/modem_strip_idf_4.1
...
fix(esp_modem): run CI build job for all targets
2023-03-15 18:55:26 +01:00
610372f5a7
esp_modem: Update examples for USB v1.1
2023-03-15 17:13:37 +01:00
13eca128fb
fix(ci): trigger PR jobs based on labels
2023-03-15 15:38:06 +01:00
200cbb3383
fix(common): Reintroduce missing CHANGELOGs
...
Closes https://github.com/espressif/esp-protocols/issues/235
2023-03-13 12:58:25 +01:00
d0814bf963
fix(esp_modem): Use default UART CLK source
...
Some targets don't support UART_SCLK_APB (e.g. esp32c2)
This change is applicable only for IDFv5.0 and later, as older version
didn't define UART_SCLK_DEFAULT.
Closes https://github.com/espressif/esp-protocols/issues/241
2023-03-08 11:51:31 +01:00
a089e0d680
fix(esp_modem): run CI build job for all targets
...
Also
* removed IDFv4.1 from tests
* added common build_apps.py utility for finding/building apps
2023-03-08 11:51:25 +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
44bae24c78
esp_modem: Return true from on_data callback in data mode
...
The callback should return false only if there is a problem with the received data.
The updated UART Terminal implementation cannot longer clear is callback.
It is DTE's responsibility to clear the callback.
2023-02-23 20:32:13 +01:00
05fff94b91
update(esp_modem): Bump component version to 0.1.26
...
Closes https://github.com/espressif/esp-protocols/issues/213
Closes https://github.com/espressif/esp-protocols/issues/212
2023-01-31 11:02:52 +01:00
8958d5e37c
fix(esp-modem): Example to use variable mqtt topic/data
...
This example is used in the CI with public broker and
users playing with the example can influence stability
of tests if we share the same topic id
2023-01-31 11:02:52 +01:00
f71192b876
fix(esp_modem): Fix cmux client compilation issue
...
Removed dependency on esp_event_cxx
2023-01-30 15:30:48 +01:00
0e215b118f
Added the missing definition for the esp_modem_set_baud function (IDFGH-9181) ( #209 )
...
fix(esp_modem): Added the missing definition for the esp_modem_set_baud function
2023-01-19 13:57:06 +01:00
2956477353
Merge pull request #196 from gabsuren/CI/gcovr_analyser
...
CI: Added coverage analyzer for esp_modem host tests
2023-01-09 14:09:11 +01:00
6b684ceb0f
CI: Added coverage analyzer for esp_modem host tests
2022-12-30 13:11:59 +04:00
5304a6ec0e
Update esp_modem_command_library.cpp
...
AT+IFC=2,2 instead AT+IFC=2, 2
2022-12-22 11:55:37 +01:00
e4c8a5932c
Added badges with version of components to the respective README files
2022-12-12 18:13:04 +01:00
9a7bd90ad9
fix(esp_modem): Exit data mode only after state change
...
Previously, we set the notification also for event
causing permature PPP mode exit
2022-12-01 18:35:06 +01:00
4314c78ca0
feat(esp_modem): Added target test
2022-12-01 18:35:01 +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
1547aa8c03
Merge pull request #166 from espressif-abhikroy/esp_modem/power_saving_mode
...
esp_modem/examples: Added example Power Saving Mode(PSM) in LTE modem.
2022-11-07 08:36:30 +01:00
1ca139109a
esp_modem/examples: Add an example to synchronise PSM sleep in Sim70XX modem and esp32.
...
This example enables Power saving mode in Sim70XX modem and tries to synchronise the sleep cycle of the modem with esp32.
When the modem wakes up from PSM sleep it wakes up the esp32. While the modem is awake esp32 is set to light sleep.
Closes: https://github.com/espressif/esp-protocols/issues/54
2022-11-06 18:52:50 +05:30
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