Search found 8 matches

by growver
Wed Dec 04, 2019 2:31 am
Forum: ESP-IDF
Topic: mDNS ping example not working in ESP-IDF v4.0 Beta 0.2
Replies: 8
Views: 13804

Re: mDNS ping example not working in ESP-IDF v4.0 Beta 0.2

cermak,

I can confirm that your changes fixed the issue I was seeing. To be sure I also went back to V4.0 Beta 2 to re-confirm that the mDNS example was not working.

Thanks for the fix!
by growver
Sun Dec 01, 2019 2:31 pm
Forum: ESP-IDF
Topic: mDNS ping example not working in ESP-IDF v4.0 Beta 0.2
Replies: 8
Views: 13804

Re: mDNS ping example not working in ESP-IDF v4.0 Beta 0.2

Thanks WiFive,

Moving my project to IDF V4.1-dev got mDNS working. I don't understand why but moving forward again.
by growver
Wed Nov 27, 2019 2:33 am
Forum: ESP-IDF
Topic: mDNS ping example not working in ESP-IDF v4.0 Beta 0.2
Replies: 8
Views: 13804

Re: mDNS ping example not working in ESP-IDF v4.0 Beta 0.2

I still haven't been able to successfully run ping esp32-mdns.local using ESP-IDF V4. I've been digging into mdns code by adding ESP_LOGI statements. I can see that the ESP32 mdns example is seeing the multicast mDNS packet, the host name matches successfully, and _mdns_upd_pcb_write() completes, se...
by growver
Tue Nov 26, 2019 1:08 am
Forum: ESP-IDF
Topic: mDNS ping example not working in ESP-IDF v4.0 Beta 0.2
Replies: 8
Views: 13804

Re: mDNS ping example not working in ESP-IDF v4.0 Beta 0.2

Unfortunately, the ESP-IDF mDNS example itself is not working for me either. Reporting of other mDNS devices works (i.e. when the button is pressed), but I can't ping esp32-mdns.local just the IP address. I tried the example in ESP-IDF v3.3 and had no issues, so still stumped about what's wrong now ...
by growver
Mon Nov 25, 2019 12:52 am
Forum: ESP-IDF
Topic: mDNS ping example not working in ESP-IDF v4.0 Beta 0.2
Replies: 8
Views: 13804

Re: mDNS ping example not working in ESP-IDF v4.0 Beta 0.2

It's not mentioned in the IDF docs, but mdns_handle_system_event is tagged as deprecated in mdns.h, so the default handler must handle mDNS somehow. Still trying to figure out why mDNS is not working. esp_err_t mdns_handle_system_event(void *ctx, system_event_t *event) __attribute__((deprecated));
by growver
Sun Nov 24, 2019 4:17 pm
Forum: ESP-IDF
Topic: mDNS ping example not working in ESP-IDF v4.0 Beta 0.2
Replies: 8
Views: 13804

mDNS ping example not working in ESP-IDF v4.0 Beta 0.2

Hi, The mDNS example in IDF V3.3 works fine for me, but v4.0 does not. I can ping the targets IP address, and pressing the BOOT button results in a list of mDNS devices on my network. What's not working is ping esp32-mdns.local. I can ping other .local devices on my network. One big difference from ...
by growver
Fri Nov 22, 2019 2:09 am
Forum: ESP-IDF
Topic: Can't reference IDF headers from /components
Replies: 2
Views: 3185

Re: Can't reference IDF headers from /components

Thanks Angus, very helpful! I now follow that the /components in my project requires explicit access to each esp-idf component. I'm using IDF v4.0, so for anyone reading this, there were two things: 1) Adding necessary IDF components with a REQUIRES addition to cmakelists.txt idf_component_register(...
by growver
Thu Nov 21, 2019 1:45 am
Forum: ESP-IDF
Topic: Can't reference IDF headers from /components
Replies: 2
Views: 3185

Can't reference IDF headers from /components

Hi, If I have code in the 'components' section of a project, how do I access esp-idf headers? Everything builds fine until I include say nvs_flash.h Then I get a file not found error when I build. Is there a cmakelists.txt configuration that exposes esp-idf to source in the /components folder? The s...