This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

OpenThread CoAP Multicast Message ID

Hello Support

I have a question about the function " uint16_t otCoapMessageGetMessageId(const otMessage *aMessage); ". I need to know the message ID for my application.

On client side:

I send some multicast messages from CoAP clients to servers. If I send the multicast to a Link-Local address like "ff02::1" the function getMessageID returns the right ID. But if I send the message to an Mesh-Local address like "ff03::1" the function return always 0. 

On server side:

It works always perfectly the function returns the right message ID.

I tested it with the example "Thread Simple CoAP Client" on a PCA10056:

I tried to make and replace the latest openthread libraries but the problem is still there.

Thank you for your support

Best Regards

Roiben