Angus Gratton
0fc1fc6b23
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
* Original commit: espressif/esp-idf@66fb5a29bb
2022-09-30 14:46:13 +02:00
David Cermak
f1d1d79daf
esp-netif: Fix SLIP interface to start with correct IPv6 addr
...
Merges https://github.com/espressif/esp-idf/pull/4985
* Original commit: espressif/esp-idf@5dae28069f
2022-09-30 14:46:13 +02:00
David Cermak
36d0d32b35
esp-netif: removing SLIP related events as the slip-modem set state synchronously
...
* Original commit: espressif/esp-idf@bb9a7356ac
2022-09-30 14:46:13 +02:00
David Cermak
3bf488eb86
esp-netif: SLIP interface refactor to isolate interface from drivers
...
* Original commit: espressif/esp-idf@1a41545c3e
2022-09-30 14:46:13 +02:00
ryan
061885ad23
esp-netif: Added esp_netif slip support, slip_modem component and example
...
Merges https://github.com/espressif/esp-idf/pull/4985
* Original commit: espressif/esp-idf@266be00254
2022-09-30 14:46:13 +02:00
david-cermak
ab70791625
Merge pull request #147 from tore-espressif/feature/esp_modem/c_error
...
esp_modem: Allow C API extensions (IDFGH-8368)
2022-09-30 14:25:21 +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.
modem-v0.1.23
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
david-cermak
7310a7a0bc
Merge pull request #144 from jonathandreyer/feature/modem_cmux_exit_example
...
esp_modem: Exit CMUX after end of example
2022-09-20 07:37:21 +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
modem-v0.1.22
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
85be67e708
Merge pull request #126 from jonathandreyer/bugfix/ci-partial-disable
...
CI: Disable some runs on forks (which are not able to access to secrets) (IDFGH-8152)
2022-09-09 15:11:41 +02:00
Jonathan Dreyer
5b1b2cce75
Disable specific runs..
...
.. which are not access to secrets
2022-09-09 14:30:37 +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
david-cermak
65b64e1fc1
Merge pull request #138 from tore-espressif/fix/idf_version_check
...
esp_modem: Fix IDF version resolution (IDFGH-8271)
2022-09-09 10:13:40 +02:00
Tomas Rezucha
d07237b2ce
esp_modem: Fix IDF version resolution
modem-v0.1.21
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
bbb4b7e686
Merge pull request #135 from mahavirj/bugfix/fix_broken_ipv4_only_build
...
mdns: fix IPV4 only build and also update CI configuration
2022-09-07 22:10:18 +05:30
Mahavir Jain
64e31dae48
ci: fix issue with cryptography package installation
2022-09-07 13:58:10 +05:30
Mahavir Jain
63ce3a5d59
protocol_examples_common: fix build for SPI_ETHERNET case with IDF v5.x
2022-09-07 12:52:39 +05:30
Mahavir Jain
5dd138c883
ci: remove sdkconfig before starting new config based build
2022-09-07 12:52:39 +05:30
Mahavir Jain
088f7ac3f8
mdns: bump up the component version
mdns-v1.0.7
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
ff2b0734ea
Merge pull request #132 from mahavirj/bugfix/build_issue_with_ipv6_disabled
...
mdns: fix build issue with CONFIG_LWIP_IPV6 disabled
2022-09-06 21:28:33 +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
mdns-v1.0.6
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
modem-v0.1.20
2022-09-02 09:17:49 +02:00
david-cermak
444fae9066
Merge pull request #115 from david-cermak/bugfix/cmux_exit_bg96
...
fix(esp_modem): Correct exit of CMUX mode
2022-08-29 16:13:31 +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
David Cermak
656ab21c9b
mdns: Fix add_service() to report error if no-hostname
2022-08-19 18:47:47 +02:00
David Cermak
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
david-cermak
8f00fc182a
Merge pull request #114 from david-cermak/bugfix/dns-header-bit-order
...
mdns: fix bit order issue in DNS header flags (updated)
2022-08-19 09:03:04 +02:00
David Cermak
d74c296182
fix(mdns): Example makefile to add only mdns as extra comps
2022-08-18 16:41:38 +02:00
Jiacheng Guo
c4e85bd099
mdns: fix bit order issue in DNS header flags
...
The bit field in the header flags does not match its intended order on
little endian machines. The PR removes the bit field and uses bit
operations instead.
2022-08-18 16:39:38 +02:00