summaryrefslogtreecommitdiffstatshomepage
path: root/shared/timeutils/timeutils.h
diff options
context:
space:
mode:
authorJared Hancock <jared.hancock@centeredsolutions.com>2024-10-14 09:19:10 -0500
committerDamien George <damien@micropython.org>2024-10-23 16:29:28 +1100
commit078ead24f392deedaad2f391baac4aaefe96f49b (patch)
tree0a5aaf204f8fa8d16b3d4eaf5634e6ae82f82a1d /shared/timeutils/timeutils.h
parent3f54e5dff27a135dff8a53a0483e5bb3a8b9a522 (diff)
downloadmicropython-078ead24f392deedaad2f391baac4aaefe96f49b.tar.gz
micropython-078ead24f392deedaad2f391baac4aaefe96f49b.zip
extmod/network_wiznet5k: Reset mDNS when interface is brought up.
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(). Signed-off-by: Jared Hancock <jared.hancock@centeredsolutions.com>
Diffstat (limited to 'shared/timeutils/timeutils.h')
0 files changed, 0 insertions, 0 deletions