I am trying to use the CoAP resource discovery in RIOT using the /.well-known/core and CoAP multicast. I am testing the feature in the gcoap example. I am working on the 2022.01 release and communicating via tap interfaces between two native riot instances.
using the command coap get fe80::407e:78ff:fe73:786c 5683 /.well-known/core in client ,I could see the resources in fe80::407e:78ff:fe73:786c as response to the request.It works very well.( here fe80::407e:78ff:fe73:786c is the address of my server).
But I want to use the Multicast to know about the resources in neighbors as explained here.
So i change my command to coap get ff02::1 5683 /.well-known/core, using the multicast address ff02::1.But I don’t get any response from any of the neighbors (gcoap: timeout for msg ID 24827 event happens) . Why does this happen ? Could someone help to resolve this issue ?
Is it possible to add query parameters during discovery in RIOT? for eg. coap get ff02::1 5683 /.well-known/core?rt=temp