David Cermak
15140e04c6
fix(modem): Fix CI build issues with IDFv6.0
...
* Fix C++ console struct init in examples
* VFS deprecation in tests
* Add conditional defines over wakeup-cause
2025-09-02 15:47:00 +02:00
David Cermak
e5787e3d9f
feat(modem_sim): Modem simulator based on esp-at
2025-07-11 11:01:17 +02:00
David Cermak
0cb59ff80d
fix(modem): Detect serial ports properly
2024-11-29 18:27:26 +01:00
David Cermak
428fdbbd80
fix(modem): Use higher GPIO range to support new chips
...
We can use IDF's Kconfig.env_caps in future, but that's not available on v5.0.
Closes https://github.com/espressif/esp-protocols/issues/558
2024-11-20 11:36:00 +01:00
David Cermak
554f022cbf
fix(modem): Update target test builds to use external Catch2
...
Switched from the deprecated Catch framework (IDF/tools) to Catch2,
as Catch will be removed in v6.0.
Note that Catch2 has higher memory requirements,
necessitating an increase in stack size and partition table.
Additionally, Catch2 increases compilation time due to its larger footprint.
2024-09-20 07:55:41 +02:00
David Cermak
c348076849
fix(modem): Remove catch dependency
2024-09-16 19:19:13 +02:00
David Cermak
f8ae7defd6
feat(modem): Added target test config with CHAP authentication
...
Related to https://github.com/espressif/esp-protocols/issues/635
2024-08-27 16:51:44 +02:00
David Cermak
d0c17ef0d5
fix(modem): Fix CI build per IDFv5.3
2024-04-26 11:25:30 +02:00
David Cermak
0140455ff7
feat(tls_cxx): Publish mbedtls component
...
Adds examples and tests.
Also supports DTLS now.
2024-04-11 16:49:54 +02:00
Suren Gabrielyan
a23a0027fa
ci(common): updated github actions(checkout, upload, download) v3 to 4, Ubuntu 20.04 to v22.04
2024-03-12 14:22:01 +04:00
Suren Gabrielyan
3f74b4e8c0
feat(modem): host test support of the latest ESP-IDF release
2024-03-12 12:05:59 +04:00
David Cermak
68ce794098
docs(modem): Added description of manual test procedure
2024-01-19 11:16:18 +01:00
David Cermak
1dc4299eb0
fix(modem): Fixed OTA test to gracefully fail with no verification
2024-01-17 17:43:47 +01:00
David Cermak
0998f3dd4f
fix(modem): Fixed incorrect dial command format
...
ATD command is used to switch generic device to the data mode
by dialing GPRS_SRC. The generic version of the command was incorrect
`ATD*99##` (containing extra trailing # char, which is accepted by most
devices). Command has been fixed, but the extra #'s been kept for devices
that we cannot test (to be fixed in IDFGH-9470).
Closes https://github.com/espressif/esp-protocols/issues/433
2024-01-09 12:48:16 +01:00
David Cermak
976e98d6ff
feat(modem): Added iperf test for PPP netifs
2024-01-08 16:22:22 +01:00
David Cermak
edc3e7251f
fix(modem): Fixed OAT test to verify server cert and CN
2023-12-19 17:01:30 +01:00
David Cermak
f2223dd719
feat(modem): Added test that performs OTA to exercise modem layers
2023-12-19 16:55:34 +01:00
David Cermak
b220d1ee5e
fix(modem): Added test injecting unexpected replies
...
This test exhibits an issue of getting unexpected data just after
completing a command. The DTE rewrites the state to TIMEOUT, but the
signal has been already triggered, thus results in an unexpected state.
Related to Closes https://github.com/espressif/esp-protocols/issues/426
2023-12-06 09:09:47 +01:00
david-cermak
afbca5343e
Merge pull request #416 from david-cermak/fix/modem_undef_mode
...
fix(modem): Fixed mode transitions between any state and UNDEF
2023-11-28 17:11:43 +01:00
David Cermak
a70b197d02
fix(modem): Fixed examples to show netif on ppp-changed event
2023-11-16 10:10:02 +01:00
Ivan Grokhotkov
d6b6f634d7
fix(esp_modem): remove unused GNU Make based buildsystem files
2023-11-09 15:32:05 +01:00
David Cermak
aff571df2c
fix(modem): Added test-cases that exercise mode transitions
2023-11-07 12:35:06 +01:00
Suren Gabrielyan
9ad04deb04
ci(common): Created reusable action for host and coverage tests
2023-11-06 19:15:20 +04:00
Suren Gabrielyan
c48e44205d
fix(common): removed Wno-format flag and fixed formatting warnings
2023-09-25 19:55:44 +04:00
David Cermak
c89d42f272
fix(modem): Fix host test race with async read and d'structor
...
Loopback terminal uses std::async to inject test data to the test
terminal. There was a hazardeous condition when destructing the terminal
while async batch_read() was in progress. Adding a signal and waiting
for destruction solves the issue.
2023-09-25 14:15:48 +02:00
Suren Gabrielyan
4910e89249
fix(ci): enable code coverage publishing to github pages
2023-05-26 13:46:52 +04:00
Suren Gabrielyan
6b684ceb0f
CI: Added coverage analyzer for esp_modem host tests
2022-12-30 13:11:59 +04:00
David Cermak
4314c78ca0
feat(esp_modem): Added target test
2022-12-01 18:35:01 +01:00
Suren Gabrielyan
945bd17701
CI: fixing the files to be complient with pre-commit hooks
2022-10-17 18:16:52 +02:00
David Cermak
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
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
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
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
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
sjurgw
4f3c4299d6
Update: Changed tests to coincide with new initial esp_modem mode
2022-05-24 14:53:11 +02:00
Anton Maklakov
745201b188
build: fix issue with passing cxx_std option, a common workaround
...
issue: https://gitlab.kitware.com/cmake/cmake/-/issues/23297
2022-03-04 18:24:44 +07:00
David Cermak
e54b240870
add(esp_modem): Add unit test to check polymorphic delete
2022-03-04 08:37:22 +01:00
David Cermak
d879e82a42
fix(esp_modem): Update the test to exersise CBC parser
2021-12-06 11:17:24 +01: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
David Cermak
a61e9e2d40
Applied astyle code formatting
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 Cermak
84b0dcfea4
Host test fix: renamed Loopback inherited member
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 Čermák
90641c89eb
esp_modem: Moved to component folder
2021-10-04 11:32:55 +02:00