David Cermak
12cfcb5aed
fix(mdns): Make unit test executable with pytest
2023-01-31 16:06:52 +01:00
David Cermak
0247926219
fix(mdns): AFL port layer per IDF-latest changes
2023-01-31 11:15:06 +01:00
Daniel Paul
e4c8a5932c
Added badges with version of components to the respective README files
2022-12-12 18:13:04 +01:00
Mahavir Jain
c73c797595
mdns: fix some coverity reported issues
...
- Array compared against 0 NO_EFFECT
- dereference null pointer, FORWARD_NULL check
2022-11-07 18:38:06 +05:30
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
microDev
3498e86d8b
prevent crash when hostname is null
2022-09-21 21:03:07 +05:30
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
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
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
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
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
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
gabsuren
469f953b28
esp_modem: updated package version to 0.1.19
2022-08-18 15:59:48 +04:00
Jiacheng Guo
415e04a55f
fix(mdns): ignore authoritative flag on reception
2022-07-22 22:25:08 +08:00
David Cermak
36de9afe0c
feat(mdns): Define explicit dependencies on esp-wifi
2022-07-18 09:49:03 +02:00
david-cermak
0d5081b841
Merge pull request #81 from lcj446068124/bugfix/mdns_ipv6_convert_error
...
bugfix: mdns IPv6 address convert error (IDFGH-7772)
2022-07-15 08:13:06 +02:00
Alexey Lapshin
57afa38f49
Bump asio/mdns/esp_websocket_client versions
...
Update components version afrer change d66f9dc158
2022-07-14 20:04:28 +04:00
liuchangjian
238ee96783
bugfix: mdns IPv6 address convert error
...
In this fix, we manually convert esp_ip_addr_t to ip_addr_t.
2022-07-14 23:40:08 +08:00
Alexey Lapshin
d66f9dc158
ignore format warnings
2022-07-12 18:13:01 +04:00
Alexey Lapshin
0b102f6286
mdns: Fix test_app build
2022-07-11 20:39:56 +04:00
gabsuren
4868689111
mdns: Updated mDNS to explicitely use esp-eth dependency if needed
...
* Original commit: espressif/esp-idf@5e19b9c951
2022-06-17 13:24:22 +04:00
suren-gabrielyan-espressif
8fe2a3a661
Minor fixes here and there
...
1. mDNS: Added idf_component.yml
2. mDNS: Updated document generation paths
2. Websocket: Updated conf_common.py to use internal
3. Websocket: Updated CmakeList.txt to use internal
2022-06-03 17:18:57 +04:00
suren-gabrielyan-espressif
b6b20ad399
mDNS: Initial version based on IDF 5.0
2022-06-01 21:04:37 +04:00
Marius Vikhammer
4a52cf23f5
soc: moved kconfig options out of the target component.
...
Moved the following kconfig options out of the target component:
* CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
* ESP*_REV_MIN -> esp_hw_support
* ESP*_TIME_SYSCALL -> newlib
* ESP*_RTC_* -> esp_hw_support
Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
* Original commit: espressif/esp-idf@d2872095f9
2022-05-27 17:44:25 +04:00
Anton Maklakov
87c269911d
cmake: fix issue with passing cxx_std option for GCC 11, a common workaround
...
* Original commit: espressif/esp-idf@ea0d2123c8
2022-05-27 17:44:25 +04:00
Laukik Hase
eb536a74a0
kconfig: Changed default values of bool configs
...
- Some bool configs were using default values true and false,
instead of y and n.
* Original commit: espressif/esp-idf@25c5c214f3
2022-05-27 17:44:25 +04:00
David Cermak
3e93ea9b76
esp_netif: Remove tcpip_adapter compatibility layer
...
* Original commit: espressif/esp-idf@795b7ed993
2022-05-27 17:44:25 +04:00
David Cermak
2c764b1b7a
mdns: Fix copyright messages, update API descrition
...
* Impove docs and comments on custom netifs
* Make predef interfaces const, minor docs fixes
* Original commit: espressif/esp-idf@42ba8a8338
2022-05-27 17:44:25 +04:00
David Cermak
f836ae7f65
mdns: Add API to control custom network interfaces
...
* Original commit: espressif/esp-idf@b02468dc98
2022-05-27 17:44:25 +04:00
David Cermak
4b5f24f5b8
CI/mdns: Fix fuzzer build
...
* Original commit: espressif/esp-idf@98e9426b66
2022-05-27 17:44:25 +04:00
David Cermak
30f37c0565
mdns: Add support for registering custom netif
...
* Original commit: espressif/esp-idf@bec42ff85d
2022-05-27 17:44:25 +04:00
David Cermak
ddc58e8220
mdns: Indicate interface using esp_netif in search results
...
* Original commit: espressif/esp-idf@f8495f1e86
2022-05-27 17:44:25 +04:00
David Cermak
fa951bf320
mdns: Use predefined interfaces to prepare for custom netifs
...
* Original commit: espressif/esp-idf@f90b3b798b
2022-05-27 17:44:25 +04:00
Suren Gabrielyan
605d1fab73
mdns: Prepare for dynamic esp-netif support
...
* Original commit: espressif/esp-idf@f9892f77b8
2022-05-27 17:44:25 +04:00
Sudeep Mohanty
58bf2186f7
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
* Original commit: espressif/esp-idf@a9fda54d39
2022-05-27 17:44:24 +04:00
Marius Vikhammer
ec491ec536
system: move kconfig options out of target component
...
Moved the following kconfig options out of the target component:
* ESP32_X_BROWNOUT_* -> esp_system
* ESP32_X_DEBUG_OCDAWARE -> esp_system
* APP_NO_BLOBS -> build type (main kconfig)
* Original commit: espressif/esp-idf@bb88338118
2022-05-27 17:44:24 +04:00
David Cermak
94ae672041
mdns: Update to drop our own packet if bounced back
...
* Original commit: espressif/esp-idf@b5149e3ee7
2022-05-27 17:44:24 +04:00
David Cermak
e5a3a3df1d
mdns: Fix potential read behind parsed packet
...
* Original commit: espressif/esp-idf@51a5de2525
2022-05-27 17:44:24 +04:00
David Cermak
7710ea9a11
mdns: Fix memleak when adding delegated host
...
* Original commit: espressif/esp-idf@9cbdb8767b
2022-05-27 17:44:24 +04:00
David Cermak
034c55e18a
mdns: Fix null-service issue when parsing packets
...
Closes https://github.com/espressif/esp-idf/issues/8307
* Original commit: espressif/esp-idf@a57be7b7d1
2022-05-27 17:44:24 +04:00
David Cermak
ec03fec3d3
mdns: Update fuzzer test (add delegation, check memory)
...
* Add new config with no services
* Add new test packets and more queries
* Allocate packet to check for mem issues
* Original commit: espressif/esp-idf@2c1007156e
2022-05-27 17:44:24 +04:00
David Cermak
5909e9e54c
mdns: Remove legacy esp_event API
...
* Original commit: espressif/esp-idf@e46aa515bd
2022-05-27 17:44:24 +04:00