small fix for static list
[CoAP] implemented simple version of resource discovery