becd5d0266
mDNS: Fix of collision detection during txt length calculation
...
Closes https://github.com/espressif/esp-idf/issues/6114
* Original commit: espressif/esp-idf@f33772c960
2022-05-27 17:44:23 +04:00
0d7a30944e
esp32c3: Apply one-liner/small changes for ESP32-C3
...
* Original commit: espressif/esp-idf@5228d9f9ce
2022-05-27 17:44:23 +04:00
1fdffbbbab
test: fix several test build error
...
* Original commit: espressif/esp-idf@b7ecccd901
2022-05-27 17:44:23 +04:00
988d120902
freertos: Add RISC-V port
...
Changes come from internal branch commit a6723fc
* Original commit: espressif/esp-idf@87e13baaf1
2022-05-27 17:44:23 +04:00
fd47df3e30
mdns: Fix wrong mdns source address if lwIP IPv6 zones disabled
...
The struct definition of ip6_addr_t in lwip and esp_ip6_addr_t
differs since zone could be possibly disabled in lwip. Using memcpy to copy the
address will cause wrong source address. Copy the entries manually
instead.
Merges https://github.com/espressif/esp-idf/pull/6055
* Original commit: espressif/esp-idf@7ac97616c1
2022-05-27 17:44:23 +04:00
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
825652f3e1
test_compile_fuzzers: Fix include paths for host build
...
Regression in 988be6946681b592e3e51bb652b91bce54d7ba34, need to add
esp_hw_support component include dir here.
* Original commit: espressif/esp-idf@98a0cc783f
2022-05-27 17:44:23 +04:00
fc53888115
CI: Add a test to pre-check fuzzer tests compilation before weekly run
...
* Original commit: espressif/esp-idf@637f5c0a68
2022-05-27 17:44:23 +04:00
7635c0479b
soc: descriptive part occupy whole component
...
* Original commit: espressif/esp-idf@79887fdc6c
2022-05-27 17:44:23 +04:00
d5fe42bffb
Coredump config option rename throughout IDF
...
* Original commit: espressif/esp-idf@20af94ff53
2022-05-27 17:44:23 +04:00
e0bc60a586
mdns, dns, dhcp, dhcps: update fuzzer test to work in CI
...
Closes: IDF-1861 and IDF-1990
* Original commit: espressif/esp-idf@a43c06a592
2022-05-27 17:44:23 +04:00
9772e49b26
cmock: added cmock as component
...
* changing dependencies from unity->cmock
* added component.mk and Makefile.projbuild
* ignore test dir in gen_esp_err_to_name.py
* added some brief introduction of CMock in IDF
* Original commit: espressif/esp-idf@20c068ef3b
2022-05-27 17:44:23 +04:00
6021a88657
mdns: Support queries in responses in mDNS non-strict mode
...
By default adds original queries to responses in order to be resolved by some resolvers, such as lwIP mdns library. This functionality however is discouraged by the RFC6762, so it could be disabled in menuconfig if MDNS_STRICT_MODE configured
Closes https://github.com/espressif/esp-idf/issues/5521
* Original commit: espressif/esp-idf@bcfa36db8f
2022-05-27 17:44:23 +04:00
78f71ecdf6
mdns: Fix include query ID in reponses
...
Closes https://github.com/espressif/esp-idf/issues/5574
* Original commit: espressif/esp-idf@f62e321d87
2022-05-27 17:44:23 +04:00
3319844745
mdns: Allow config mDNS task stack size
...
Signed-off-by: Axel Lin <axel.lin@gmail.com >
Merges https://github.com/espressif/esp-idf/pull/5216
* Original commit: espressif/esp-idf@cf7e48c779
2022-05-27 17:44:23 +04:00
ac70c9aba8
mdns: Remove mbedtls dependency
...
mdns does not use mbedtls, so remove mbedtls dependency.
Signed-off-by: Axel Lin <axel.lin@gmail.com >
* Original commit: espressif/esp-idf@f4a4549a34
2022-05-27 17:44:23 +04:00
2b7d43e1f8
mdns: limit the GOT_IP6_EVENT to only known network interfaces
...
* Original commit: espressif/esp-idf@ab8cab1c55
2022-05-27 17:44:23 +04:00
4eb3e89841
esp32: add implementation of esp_timer based on TG0 LAC timer
...
Closes: IDF-979
* Original commit: espressif/esp-idf@739eb05bb9
2022-05-27 17:44:23 +04:00
b5e5a64e7f
mdns: fixed typos in the variable names and the comments
...
* Original commit: espressif/esp-idf@ecca39e19f
2022-05-27 17:44:23 +04:00
6713ffedcc
mdns: fix preset of esp_netif ptr for local interfaces
...
mdns module store local copy of esp_netif for common interfaces,
but it was correctly initialized only when interface started.
If the event were missed (e.g. mdns_init after interface start)
the local copy wouldn't be initialized. Fixed by restoring the local
copy.
Closes WIFI-1538
* Original commit: espressif/esp-idf@09e36f9f33
2022-05-27 17:44:23 +04:00
817c4fd2e8
mdns: fixed crash on event during deinit
...
mdns library deinitialization destroys internal structures including action queue. if an event (e.g. network update) received
after some essential stucture is destoyed, an unexpected behavour might be introduced (e.g. crash of adding the event notification
to the action queue which was already destroyed
Closes WIFI-1485
* Original commit: espressif/esp-idf@eaa2f12d67
2022-05-27 17:44:23 +04:00
8f0dc6d578
mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp
...
Closes https://github.com/espressif/esp-idf/issues/4369
Closes IDFGH-2219
* Original commit: espressif/esp-idf@de17a1487f
2022-05-27 17:44:23 +04:00
d20666f3a0
mdns: fixed forgotten merge conflicts in debug code
...
* Original commit: espressif/esp-idf@d9433ef692
2022-05-27 17:44:23 +04:00
662a4ce050
mdns: add missing include of esp_task.h
...
* Original commit: espressif/esp-idf@5884b80908
2022-05-27 17:44:23 +04:00
fb1de80fd7
mdns: add configuration values for task priority, affinity and internal service timeouts
...
closes https://github.com/espressif/esp-idf/issues/4217
* Original commit: espressif/esp-idf@c6f38f04f8
2022-05-27 17:44:23 +04:00
1f35e9a728
tcpip_adapter: updated tcpip_adapter compatablity layer to include all
...
public API and keep 100% backward compatibility
update build of tcpip adapter when ethernet disabled
* Original commit: espressif/esp-idf@7f5cda1b82
2022-05-27 17:44:23 +04:00
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
53e2aa3241
esp_netif: Introduction of esp-netif component as a replacement of tcpip_adpter
...
- provides object oriented access to network intefaces
- not limited to default netifs
- more generic abstraction to network input output functions
- event handler registration removed from component responsibility
- backward compatibility layer for legacy tcpip_apapter APIs
Closes IDF-39
* Original commit: espressif/esp-idf@ffe043b1a8
2022-05-27 17:44:23 +04:00
3cc64469c1
examples: removed ip4addr_ntoa and used prefered IP2STR for displaying IP addresses
...
* Original commit: espressif/esp-idf@ec9f245dd3
2022-05-27 17:44:23 +04:00
248b11bb0a
esp_event, mdns: fixes for CONFIG_ETH_ENABLED=n
...
* Original commit: espressif/esp-idf@569ad7545c
2022-05-27 17:44:23 +04:00
901124b7ee
build and link hello-world for esp32s2beta
...
* Original commit: espressif/esp-idf@84b2f9f14d
2022-05-27 17:44:23 +04:00
f6ff165be9
mdns: fix crash for hostname queries
...
Receiving TXT, PTR, SDPTR and SRV record type queries would crash the application if the hostname
was used as instance name.
Closes https://github.com/espressif/esp-idf/issues/4224
* Original commit: espressif/esp-idf@3d1170031b
2022-05-27 17:44:23 +04:00
f44c569422
mdns: fix possible race condition when checking DHCP status on WIFI_EVENT_STA_CONNECTED event.
...
tcpip_adapter_dhcpc_get_status() returns the actual internal value of dhcp client without any locking or TCP/IP stack context call, so when CONNECTED event fired with default settings it started DHCP client in TCP/IP stack context and at the same time mdns event handler checking actual DHCP state, which could still be INIT (not STARTED). Purpose of this check is to enable PCB if DHCP was stopped before setting network interface up (typically static IP settings), so the solutin is to check against TCPIP_ADAPTER_DHCP_STOPPED state
* Original commit: espressif/esp-idf@7f410a0bcb
2022-05-27 17:44:23 +04:00
286c646725
mdns: use constant size of AAAA answer in mdns packets instead of deriving from lwip struct size, since the struct could contain also zones
...
closes WIFI-771
* Original commit: espressif/esp-idf@e5e31c5d01
2022-05-27 17:44:23 +04:00
c70d527d80
esp_wifi: wifi support new event mechanism
...
1. WiFi support new event mechanism
2. Update examples to use new event mechanism
* Original commit: espressif/esp-idf@003a9872b7
2022-05-27 17:44:23 +04:00
7cdf96cffa
mdns: fix missing bye packet if services removed with mdns_service_remove_all() or mdns_free()
...
Closes https://github.com/espressif/esp-idf/issues/3660
* Original commit: espressif/esp-idf@a001998d52
2022-05-27 17:44:23 +04:00
407875d9c5
mdns: mdns_service_remove_all doesn't take an argument
...
Merges https://github.com/espressif/esp-idf/pull/2937
* Original commit: espressif/esp-idf@c2764f6fe8
2022-05-27 17:44:23 +04:00
3e753f5e2d
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
...
* Original commit: espressif/esp-idf@afbaf74007
2022-05-27 17:44:23 +04:00
144d4ad1d4
mdns: fix ignoring mdns packet with some invalid name entries in question field
...
In case of invalid name entry, only this entry is invalidated and parsing continues as other query entries could contain questions to be responded to
* Original commit: espressif/esp-idf@4bd4c7caf3
2022-05-27 17:44:23 +04:00
680bad646f
add esp_eth component
...
* Original commit: espressif/esp-idf@90c4827bd2
2022-05-27 17:44:23 +04:00
7fb6686716
components: use new component registration api
...
* Original commit: espressif/esp-idf@9eccd7c082
2022-05-27 17:44:23 +04:00
4912bef740
mdns: fix static analysis warnings
...
* Original commit: espressif/esp-idf@c34de4cba6
2022-05-27 17:44:23 +04:00
181a22ec2b
mdns: added initial suite of api unit tests
...
* Original commit: espressif/esp-idf@e6801912c5
2022-05-27 17:44:23 +04:00
4172219225
mdns tests: adapt mdns fuzzer test to compile with event loop library
...
* Original commit: espressif/esp-idf@38d15cbd63
2022-05-27 17:44:23 +04:00
98d2c1a073
mdns: fixed mdns crashing on reception of txt packet without a corresponding service
...
closes #2866
* Original commit: espressif/esp-idf@af48977f21
2022-05-27 17:44:23 +04:00
84cbb1f3cf
mdns: use const char* for mdns txt items types to remove warning when assigning
...
* Original commit: espressif/esp-idf@c050a75616
2022-05-27 17:44:23 +04:00
4c6818ee97
mdns: updated doxygen comments documenting mdns api
...
Closes https://github.com/espressif/esp-idf/issues/1718
* Original commit: espressif/esp-idf@a851aac255
2022-05-27 17:44:23 +04:00
c440114d14
mdns: update mdns_out_question_s to be in line with mdns_parsed_question_s struct
...
Closes https://github.com/espressif/esp-idf/issues/1568
* Original commit: espressif/esp-idf@eddd5c4f2c
2022-05-27 17:44:23 +04:00
6ea0ea93fa
mdns: use esp_event library to handle events
...
* Original commit: espressif/esp-idf@a2d59525e5
2022-05-27 17:44:23 +04:00
d9aec9fc71
fuzzer tests: update of mdns and lwip host compilation for fuzzer testing
...
Closes IDF-540
* Original commit: espressif/esp-idf@bc60bbbeaf
2022-05-27 17:44:23 +04:00