Hi,
How can I use anycast address in my project? I try send message for leader. Thank you.
Hi,
How can I use anycast address in my project? I try send message for leader. Thank you.
I am not sure I got your question correct. Do you mean that you want to send a message to all the nodes in the openthread network?
Please check out the information under "Multicast" on this page.
No, I mean ANYCAST this is specific link for info. I want to send message to leader of thread network
https://openthread.io/guides/thread-primer/ipv6-addressing#anycast
Do you have a bit more information? How did you send it, what does your project look like? Did you try to capture a sniffer trace of the network, using the nRF sniffer for 802.15.4? Can you see the packet over the air? If not, did the function call you used to send the message return anything? If so, did the return value indicate that it was sent successfully, or did it return a value indicating an error?
message was successfuly sended but when I use space sniffer i did not see this message.
err_code = otIp6AddressFromString((char *)"fc00", (otIp6Address *)remote_device.addr);
ASSERT(err_code == OT_ERROR_NONE);
You are aware that this funtion, otIp6AddressFromString() doesn't actually send any messages, right? It will convert a "human readable" address to a binary representation of that address:
https://openthread.io/reference/group/api-ip6#otip6addressfromstring
Perhaps you should try to use otIp6Send()?
BR,
Edvin
Sure, I send message a few lines down
Perhaps you can show me how?
Do you have any project where I can easily replicate your issue with a couple of DKs?
Perhaps you can show me how?
Do you have any project where I can easily replicate your issue with a couple of DKs?