ESP8266_DS18B20/server.lua

10 lines
140 B
Lua

cs=coap.Server()
cs:listen(5683)
function hello(payload)
print("hello called")
respond = "hello"
return respond
end
cs:func("hello")