Add auto-discovery support (UDP discovery responder & subnet scanner) and implement virtual screen MCP server

This commit is contained in:
Adolfo Reyna
2026-06-03 14:29:49 -04:00
parent 81e7b15b61
commit 070390355e
8 changed files with 2115 additions and 2 deletions
+7
View File
@@ -21,6 +21,13 @@ def connect_wifi():
print("Display init failed in boot.py:", e)
# Initialize Wi-Fi Station
try:
import network
network.hostname('esp32screen')
print("Hostname set to: {}".format(network.hostname()))
except Exception as he:
print("Failed to set hostname: {}".format(he))
wlan = network.WLAN(network.STA_IF)
wlan.active(True)