Hi all
How to get a thread node to join into a custom UDP Multicast group?
I found the CLI command like this:
But I couldn't find any CLI command to add a custom multicast group.
Is it possible to add a custom multicast group?
Hi all
How to get a thread node to join into a custom UDP Multicast group?
I found the CLI command like this:
But I couldn't find any CLI command to add a custom multicast group.
Is it possible to add a custom multicast group?
Hi,
To make a Thread device subscribe to an IPv6 multicast address, you can use the ipmaddr add command:
ipmaddr add <ipaddr>
Then you can send the UDP message to this multicast address.
For example:
Node 1 (and other nodes that should subscribe to the multicast address)
> ot ipmaddr add ff05::1
> ot udp open> ot udp bind :: 1234
Node 2
> ot udp open
> ot udp send ff05:0:0:0:0:0:0:1 1234 hello
Best regards,
Marte
Thank you very much!