You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LwIP interface is removed in wiznet5k_deinit() which is called as
part of the init sequence. Therefore, if using mDNS, then the interface
will need to be re-added when bringing the interface up.
Additionally, this allows to set the hostname from Micropython code
prior to bringing the interface up and mDNS responding to the (new)
hostname. This allows the hostname to be configured and saved on the
flash or be based on dynamic information such as the MAC or unique_id().
[1] "Multicast DNS for lwIP"
https://github.com/lwip-tcpip/lwip/blob/master/doc/mdns.txt
Signed-off-by: Jared Hancock <jared.hancock@centeredsolutions.com>
0 commit comments