arduino / mdns-discovery

mdns (bonjour) pluggable discovery
GNU General Public License v3.0
17 stars 6 forks source link

Intermittend mDNS detection on IDE 2.*.*, instant on 1.8.* #61

Open bartgrefte opened 6 months ago

bartgrefte commented 6 months ago

Describe the problem

Ever since Arduino IDE v2.0.0, mDNS detecton only works intermittently (I'm currently at 2.3.2) and I've seen it reported various times, like on https://forum.arduino.cc/t/ide-2-0-ota-mdns-discovery-only-intermittently-finds-nodes/1036850

Switching back to v1.8.* and the problem is gone, mDNS detection works immediately.

To reproduce

Flash BasicOTA sketch with the appropriate wifi credentials, to an ESP-module, Pico W or similar device.

Start both Arduino IDE v2.. and v1.8. and see the immediate detection in v1.8. and spotty (at best) detection in v.2..

Expected behavior

Both v1..8. as well as v2..* IDE's picking up OTA'ble devices through mDNS.

mdns-discovery version

v1.0.9 (build timestamp: 2023-03-22T15:14:23Z)

Operating system

Windows

Operating system version

10 LTSB 2016

Additional context

Not sure if mDNS related, but besides the mDNS detection issue, I'm also running into another OTA-related something https://github.com/arduino/arduino-ide/issues/740 and the more current https://github.com/earlephilhower/arduino-pico/issues/1728#issuecomment-1732504337

Issue checklist