["info"] = function(_,s) s(string.format("major=%d minor=%d dev=%d chip=%d flash=%d fs=%d fm=%d fs=%d",node.info())) end,
["heap"] = function(_,s) s(string.format("free=%d",node.heap())) end,
["fifo"] = function(_,s) if rtcfifo and rtcfifo.ready() ~= 0 then s(string.format("fifo=%d",rtcfifo.count())) else s("no rtcfifo") end end,
+ -- restart in one tick, so that network callbacks have a chance to fire
+ -- first, or else we might crash. Ick!
+ ["restart"] = function(_,s) tmr.create():alarm(1, tmr.ALARM_SINGLE, node.restart) end,
["exec"] = function(l,s)
local f, err = loadstring(l)
if f