CoAP functions aren't displayed on ./well-known/core
Posted: Fri May 08, 2015 3:54 pm
I've exposed my function like this:
but is not displayed under well-known. I am using the Firefox Plugin Copper.
I can call the method using the path coap://XXX.XXX.XXX.XXX:5683/v1/f/setRgb
is this a known behavior or do I need to enable something?
Code: Select all
function setRgb(payload)
result = ""
pcall(function() result = fSetRgb(payload) end)
return result
end
cs:func("setRgb")
but is not displayed under well-known. I am using the Firefox Plugin Copper.
I can call the method using the path coap://XXX.XXX.XXX.XXX:5683/v1/f/setRgb
is this a known behavior or do I need to enable something?