Suren Gabrielyan
aee016d6e4
Examples: using pytest.ini from top level directory
2022-10-25 23:59:33 +04:00
Suren Gabrielyan
f71f61ff0a
mDNS: test_app pytest migration
2022-10-19 09:23:36 +02: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
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
Suren Gabrielyan
f148c98b13
ASIO: Updated package version to "1.14.1~3"
2022-10-17 09:46:10 +02:00
david-cermak
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
Abhik Roy
cf504ec900
Quick fix esp_modem: Added modem_console commands for deep-sleep and modem PSM.
2022-10-13 20:54:08 +05:30
diplfranzhoepfinger
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
David Cermak
a02bf05eed
fix(esp-modem): Uart Terminal read_cb race
2022-10-10 15:39:09 +02:00
Abhik Roy
85a2e25093
esp_modem: Added modem_console commands for deep-sleep and modem PSM.
2022-10-10 12:51:47 +05:30
Tomas Rezucha
988b3f9905
ci: Compile esp_modem examples with USB support
2022-10-05 11:25:20 +02:00
Tomas Rezucha
53b59332dc
esp_modem: Expand PPPoS example with USB DTE
2022-10-05 11:25:14 +02:00
Tomas Rezucha
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
Tomas Rezucha
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
diplfranzhoepfinger
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
Franz Höpfinger
55b4775ca8
remove unused Config Parameters !
2022-10-04 09:30:53 +02:00
david-cermak
1c6c610f20
Merge pull request #146 from MicroDev1/master
...
Prevent crash when hostname is null (IDFGH-8356)
2022-10-01 07:47:38 +02:00
David Cermak
9b48b0a5e0
update(esp_modem): Bump component version
2022-09-30 17:37:11 +02:00
David Cermak
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
David Cermak
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
david-cermak
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
Tomas Rezucha
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
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
david-cermak
467fec5c9b
Merge pull request #141 from gabsuren/examples/asio_examples_integrationn
...
ASIO: Example tests integration
2022-09-30 10:38:38 +02:00
Suren Gabrielyan
5193ebc6ea
ASIO: Example tests integration
2022-09-27 16:09:50 +04:00
microDev
3498e86d8b
prevent crash when hostname is null
2022-09-21 21:03:07 +05:30
David Cermak
07a347f907
fix(esp_modem): Fix CRLF endlines in examples
2022-09-20 08:20:05 +02:00
David Cermak
d9c9681094
fix(esp_modem): Console example to use configurable flow-ctrl
2022-09-20 08:18:53 +02:00
Jonathan Dreyer
accf9244ca
Minor formatting fix and spelling
2022-09-19 17:11:57 +02:00
Jonathan Dreyer
290197c210
feat(esp-modem): Add exit PPP in example
2022-09-19 17:07:49 +02:00
david-cermak
b8d1e58778
Merge pull request #116 from gabsuren/examples/mdns_examples_integration
...
mdns: Example tests integration
2022-09-15 11:41:58 +02:00
david-cermak
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
diplfranzhoepfinger
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
David Cermak
187ef7676e
update(esp_modem): Bump component version
2022-09-14 13:52:00 +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
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
gabsuren
a045c1c885
mdns: Example tests integration
2022-09-14 10:58:31 +04:00
david-cermak
543521a220
Merge pull request #123 from thorrak/hygiene/TTL
...
Replace hardcoded TTL values with named defines (IDFGH-8113)
2022-09-09 15:13:22 +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
David Cermak
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
Tomas Rezucha
d07237b2ce
esp_modem: Fix IDF version resolution
2022-09-09 09:31:26 +02:00
david-cermak
3c65fde2a7
Merge pull request #117 from david-cermak/bugfix/mdns_add_service_fail_if_nohostname
...
mdns: Fix add_service() to report error if no hostname has been set
2022-09-08 12:59:08 +02:00
david-cermak
35833d2730
Merge pull request #131 from tore-espressif/feature/esp_modem/err_cb
...
esp_modem: Expose set_error_cb method
2022-09-08 12:54:13 +02:00
Mahavir Jain
088f7ac3f8
mdns: bump up the component version
2022-09-07 09:44:33 +05:30
Mahavir Jain
e079f8ba98
mdns: fix IPV4 only build and also update CI configuration
...
Earlier commit 48c157bc46 had typo
regarding variable name. This was not caught in CI because IPV6
was not really getting disabled due to an indirect dependency
of `CONFIG_EXAMPLE_CONNECT_IPV6`.
This commit fixes both the problems.
2022-09-07 09:43:46 +05:30
Mahavir Jain
330332a0fb
mdns: add test configuration for IPV6 disabled build
2022-09-05 13:24:14 +05:30
Mahavir Jain
48c157bc46
mdns: fix build issue with CONFIG_LWIP_IPV6 disabled
2022-09-02 16:13:17 +05:30
Tomas Rezucha
98bf3efeb6
esp_modem: Fix format warnings
...
Closes https://github.com/espressif/esp-protocols/issues/79
2022-09-02 10:02:34 +02:00
Tomas Rezucha
ae8479c77e
esp_modem: Expose set_error_cb method
2022-09-02 09:17:49 +02:00
John
bb4c002841
Replace hardcoded TTL values with named defines
...
- Replaces hardcoded PTR "half-TTL" with `MDNS_ANSWER_PTR_TTL/2` (defined in mdns_private.h)
- Replaces hardcoded TXT "half-TTL" with `MDNS_ANSWER_TXT_TTL/2` (defined in mdns_private.h)
2022-08-23 08:44:36 -04:00