jollen / node-wot

Use er-coap-13 from Contiki for NodeMCU firmware
http://www.jollen.org/blog/2015/12/nodemcu-firmware-er-coap-13.html
MIT License
3 stars 1 forks source link

Improve CoAP implementation #1

Closed jollen closed 8 years ago

jollen commented 8 years ago

Agenda

cc = coap.Client()
uri="coap://192.168.0.104:8000/object/abcde/send"

tmr.alarm(0, 500, 1, function()
  cc:post(uri, "hello")
end)