David Cermak
05675c7d63
CI/mdns: Extend example test for sockets, netifs
...
* Original commit: espressif/esp-idf@d1b809e6a1
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
David Cermak
7f42c31252
ci/mdsn: Fix example test on ethernet runners
...
* Ethernet kit uses GPIO0 for ref-clock, so the test button hits
constantly
* Add a freeRTOS delay when checking result on assync queries
* Original commit: espressif/esp-idf@afe7ab3b2c
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
3c5b13ea0d
ci/mdns: Run mdns test on ethernet runners
...
* Original commit: espressif/esp-idf@96616b6056
2022-05-27 17:44:24 +04:00
David Cermak
941dc5c42f
mdns: Minor fix of API description and API usage
...
* Original commit: espressif/esp-idf@c297301ecc
2022-05-27 17:44:24 +04:00
Roland Dobai
4a9d55edf7
Build & config: Remove leftover files from the unsupported "make" build system
...
* Original commit: espressif/esp-idf@766aa57084
2022-05-27 17:44:24 +04:00
Roland Dobai
be2a924674
Build & config: Remove the "make" build system
...
The "make" build system was deprecated in v4.0 in favor of idf.py
(cmake). The remaining support is removed in v5.0.
* Original commit: espressif/esp-idf@9c1d4f5b54
2022-05-27 17:44:24 +04:00
Jiacheng Guo
fd8499c874
mdns: support service subtype
...
* Closes https://github.com/espressif/esp-idf/issues/5508
* Original commit: espressif/esp-idf@e7e8610f56
2022-05-27 17:44:24 +04:00
Jakob Hasse
eb7eeb58d3
[examples]: removed hyphens
...
Replaced hyphens with underscores in examples
project definition for all examples which had
hyphens in their project name. dpp-enrollee is
an exceptions because the name matches the
project directory name while the project
directory also contains hyphens.
* Original commit: espressif/esp-idf@81e9266204
2022-05-27 17:44:24 +04:00
Jiacheng Guo
b26606252f
mdns: allow mutiple instances with same service type
...
* Original commit: espressif/esp-idf@b7a99f4658
2022-05-27 17:44:24 +04:00
Jiacheng Guo
52306e914f
mdns: add notification callback for async APIs
...
* Original commit: espressif/esp-idf@986603cf07
2022-05-27 17:44:24 +04:00
Jiacheng Guo
d37ab6dd25
mdns: add more mdns result attributes
...
* Original commit: espressif/esp-idf@76ec76c12c
2022-05-27 17:44:24 +04:00
David Cermak
6a92d3253f
CI: mdns example test: start responder after valid IP
...
to clean up the test and not to pollute the network unnecessarily.
Also keeps sending the delegated query until a response found
* Original commit: espressif/esp-idf@042fa1831e
2022-05-27 17:44:24 +04:00
David Cermak
47c7266103
mdns: Add asynchronous query API
...
Closes https://github.com/espressif/esp-idf/issues/7090
* Original commit: espressif/esp-idf@d81482d699
2022-05-27 17:44:24 +04:00
Jiacheng Guo
2ddaee2b6e
mdns: allow explicit txt value length
...
* Original commit: espressif/esp-idf@b4e0088b68
2022-05-27 17:44:24 +04:00
Jiacheng Guo
8a8d58d4dc
mdns: fix test script delayed response
...
* Original commit: espressif/esp-idf@a4f263948c
2022-05-27 17:44:24 +04:00
Jiacheng Guo
402baebfee
mdns: fix wrong SRV/PTR record handling
...
* Original commit: espressif/esp-idf@e6135552d2
2022-05-27 17:44:24 +04:00
Jiacheng Guo
418fb60dd9
mdns: fix mdns probe/reply behavior
...
* send correct hostnames when probing.
* add test for mdns host delegation.
* Original commit: espressif/esp-idf@d2a5d25984
2022-05-27 17:44:24 +04:00
Jiacheng Guo
4049b3b5ed
mdns: make delegate host address a list
...
Also adds unit test and doc string for new apis.
* Original commit: espressif/esp-idf@2d34352f3d
2022-05-27 17:44:24 +04:00
Jiacheng Guo
c8821199a2
mdns: add remove delegate host api
...
* Original commit: espressif/esp-idf@2174693096
2022-05-27 17:44:24 +04:00
Jiacheng Guo
1eb5df9780
mdns: add mdns delegation
...
This allows publishing mdns services for other devices.
* Original commit: espressif/esp-idf@401ff56cc1
2022-05-27 17:44:24 +04:00
Shubham Kulkarni
3ad559bf3f
Split example_tests with Example_WIFI tag group into Example_OTA and Example_Protocols
...
* Original commit: espressif/esp-idf@0a395134d4
2022-05-27 17:44:24 +04:00
Fu Hanxi
49a00c2455
style: format python files with isort and double-quote-string-fixer
...
* Original commit: espressif/esp-idf@0146f258d7
2022-05-27 17:44:23 +04:00
He Yin Ling
df6a208f45
test: remove fake binary size check in example test:
...
the binary size check in example test was removed long time ago. Now we
have updated ttfw_idf to raise exception when performance standard is
not found. These fake performance check will be regarded as error.
Remove them now.
* Original commit: espressif/esp-idf@a908174c06
2022-05-27 17:44:23 +04:00
Angus Gratton
2cb3a6e35e
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-05-27 17:44:23 +04:00
David Cermak
110f1f652d
mdns test: Add test to resolve esp32 hostname with DiG
...
* Original commit: espressif/esp-idf@81e89476fe
2022-05-27 17:44:23 +04:00
morris
078abd8161
esp_rom: extract common GPIO apis into esp_rom_gpio.h
...
* Original commit: espressif/esp-idf@a4d0033c03
2022-05-27 17:44:23 +04:00
David Cermak
2258d5bcef
mdns-example: fail gracefully if mdns response not received within timeout
...
If mdns answer hasn't been received within timeout, Value error would be raised, but the mdns-server-thread would still run, blocking CI jobs. Fixed by moving the raise statement within try-finally block
* Original commit: espressif/esp-idf@3758177bf8
2022-05-27 17:44:23 +04:00
Roland Dobai
ef9a758662
Add multi-target support for performance tests
...
* Original commit: espressif/esp-idf@15884eccf2
2022-05-27 17:44:23 +04:00
He Yin Ling
7a3aa26df8
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
* Original commit: espressif/esp-idf@c906e2afee
2022-05-27 17:44:23 +04:00
David Cermak
48b819bbc1
mdns: update mdns to use esp-netif for mdns supported services such as STA, AP, ETH
...
removes also include dependency on lwip to use esp_netif defined address fields and structures
* Original commit: espressif/esp-idf@19e24fe61e
2022-05-27 17:44:23 +04:00
David Cermak
dfcefc38fd
examples: protocol examples which use common connection component
...
updated to use esp_netif_init instead of tcpip_adapter in initialization code
* Original commit: espressif/esp-idf@a49b934ef8
2022-05-27 17:44:23 +04:00
Michael (XIAO Xufeng)
d52dddfea5
ci: limit example test to ESP32s
...
* Original commit: espressif/esp-idf@63329b169b
2022-05-27 17:44:23 +04:00
David Cermak
d8d6b35553
mdns: updated example test to exercise also hostnames resolved by lwip gethostbyname and getaddrinfo
...
* Original commit: espressif/esp-idf@f3cb91ef71
2022-05-27 17:44:23 +04:00
Anton Maklakov
3e753f5e2d
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
...
* Original commit: espressif/esp-idf@afbaf74007
2022-05-27 17:44:23 +04:00
Mahavir Jain
aaba3fc47a
examples: change default build instructions in docs to CMake
...
* Original commit: espressif/esp-idf@e7dba7d7bc
2022-05-27 17:44:23 +04:00
Angus Gratton
e431b6b7fe
build system: Use CMake-based build system as default when describing commands
...
* Original commit: espressif/esp-idf@47bbb107a8
2022-05-27 17:44:23 +04:00
Renz Christian Bagaporo
271665e0cb
examples: use new component registration api
...
* Original commit: espressif/esp-idf@6771eead80
2022-05-27 17:44:23 +04:00
Roland Dobai
9a0803ad7e
Rename Kconfig options (examples)
...
* Original commit: espressif/esp-idf@151f757912
2022-05-27 17:44:23 +04:00
Anton Maklakov
c0f65a6997
mdns example: Remove a warned unused constant
...
* Original commit: espressif/esp-idf@453a33ce79
2022-05-27 17:44:23 +04:00
Ivan Grokhotkov
778eaa6ced
examples/protocols/mdns: use common network component
...
* Original commit: espressif/esp-idf@9628c60a1d
2022-05-27 17:44:23 +04:00
Ivan Grokhotkov
6ea0ea93fa
mdns: use esp_event library to handle events
...
* Original commit: espressif/esp-idf@a2d59525e5
2022-05-27 17:44:23 +04:00
David Cermak
11e4aebefd
mdns example: fix print result for IPv6 addresses
...
* Original commit: espressif/esp-idf@fbef5297fc
2022-05-27 17:44:22 +04:00
David Cermak
8d08e5ed95
mdns tests: execute test services only when running example in ci
...
Test services may cause confussion (and did cause some GitHub/forum issues). This update runs test services only when example executed in ci. Also host name is a simple config entry if executed outside of ci.
* Original commit: espressif/esp-idf@74cc7a065f
2022-05-27 17:44:22 +04:00
Roland Dobai
98e3171db6
Correct Kconfigs according to the coding style
...
* Original commit: espressif/esp-idf@37126d3451
2022-05-27 17:44:22 +04:00