nickovs / slimDNS

Simple, Lightweight Implementation of Multicast DNS
Apache License 2.0
86 stars 9 forks source link

FYI - AP_IF needs to be inactive for requests to work #3

Open lyonzy opened 6 years ago

lyonzy commented 6 years ago

Hello,

I just discovered that due to this issue multicast packets don't get sent unless the AP interface is disabled, i.e. network.WLAN(network.AP_IF).active(False). Just posting this in case anyone else encounters the same issue. :)

Cheers, Matt

nickovs commented 6 years ago

Thanks for providing that information Matt.

It looks like more strictly multicast packets don't get sent on the STA interface if the AP interface is active. The packets are still getting sent, just not on the interface on which you want them :-(

It also looks like it might be possible to fix Micropython to allow support for setting the multicast interface. I will try to get some time to try that fix myself. I'll leave this issue open until the underlying problem is fixed and reference the resolution here when one exists.