client/server: to test

This commit is contained in:
e2200662 2025-04-23 14:38:27 +02:00
commit 55603f969e
2 changed files with 41 additions and 0 deletions

9
wifi_server.lua Normal file
View file

@ -0,0 +1,9 @@
-- Initialize the Wi-Fi server
wifi.setmode(wifi.STATIONAP)
wifi.sta.config("SachamamaGoingHome", "GoFoundIt")
wifi.sta.connect()
wifi.sta.http.start()
wifi.sta.http.on("receive", function(conn, payload)
print(payload)
end)