Premiers tests
This commit is contained in:
parent
e5023a0dd5
commit
3e30b4d666
9
server.lua
Normal file
9
server.lua
Normal file
@ -0,0 +1,9 @@
|
||||
cs=coap.Server()
|
||||
cs:listen(5683)
|
||||
|
||||
function hello(payload)
|
||||
print("hello called")
|
||||
respond = "hello"
|
||||
return respond
|
||||
end
|
||||
cs:func("hello")
|
Loading…
Reference in New Issue
Block a user