ESP8266_DS18B20/server.lua

10 lines
140 B
Lua
Raw Normal View History

2022-07-07 01:05:05 +02:00
cs=coap.Server()
cs:listen(5683)
function hello(payload)
print("hello called")
respond = "hello"
return respond
end
cs:func("hello")