0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-12-22 11:03:48 +01:00

less logging

This commit is contained in:
peteruithoven 2013-10-01 12:36:51 +02:00
parent 6a4879c7b2
commit aab27a9768

View File

@ -10,18 +10,15 @@ local M = {}
--- Signin to connect.doodle3d.com server
--
function M.signin()
log:info("signin")
local baseurl = "http://connect.doodle3d.com/signin.php"
local localip = wifi.getLocalIP();
log:info("localip: "..utils.dump(localip))
if localip == nil then
log:error("signin failed no local ip found")
return
end
local wifiboxid = wifi.getSubstitutedSsid(settings.get('network.cl.wifiboxid'))
log:info("wifiboxid: "..utils.dump(wifiboxid))
local cmd = "wget -q -O - "..baseurl.."?wifiboxid="..wifiboxid.."\\&localip="..localip;
local output = utils.captureCommandOutput(cmd);