Unable to send to a specific multicast address when sending UDP messages in OpenThread CLI sample

Hello,

I flashed an Thread CLI sample for nRF52840-DK and checking its operation. (nRF Connect SDK version is v2.3.0)
I use the "ot udp send" command to check the sending of UDP messages, but no logs were displayed in Sniffer even if I configured to send to a specific multicast address.
When the multicast address was FF02::1, the log was displayed in Sniffer, but when it was FF03::1 or FF04::3:0, it was not displayed in the log.
Although it was not mentioned in the README, am I correct in my understanding that the "ot udp send" command can only successfully send to certain authorized multicast addresses?

Best regards,

Yuma

Parents
  • Hi Yuma,

    I tested this on my side and the UDP messages showed up in the sniffer log when sending to FF03::1 and FF04::3:0. The message sent to the mesh-local address, FF03::1, was printed on the receiving node as well.

    Can you share all the CLI commands you are using when testing?
    Do you have any filters in Wireshark?

    Best regards,
    Marte

  • Hi Marte,

    I send each command log in below.

    [Board 1]

    *** Booting Zephyr OS build v3.2.99-ncs2 ***
    
    
    uart:~$ ot udp open
    Done
    uart:~$ ot udp linksecurity disable
    Done
    uart:~$ ot udp bind :: 2378
    Done
    uart:~$ ot ifconfig up
    Done
    uart:~$ ot ipmaddr
    ff02:0:0:0:0:0:0:1
    ff03:0:0:0:0:0:0:1
    ff03:0:0:0:0:0:0:fc
    Done
    uart:~$ ot ipmaddr add ff04::3:0
    Done
    uart:~$ ot ipmaddr
    ff04:0:0:0:0:0:3:0
    ff02:0:0:0:0:0:0:1
    ff03:0:0:0:0:0:0:1
    ff03:0:0:0:0:0:0:fc
    Done
    uart:~$ ot udp send ff02::1 2378 hello
    Done
    5 bytes from fe80:0:0:0:48e2:958b:cb7f:4622 2378 68656c6c6f
    uart:~$ ot udp send ff04::3:0 2378 hello
    Done
    uart:~$

    [Board 2]

    *** Booting Zephyr OS build v3.2.99-ncs2 ***
    
    
    uart:~$ ot udp open
    Done
    uart:~$ ot udp linksecurity disable
    Done
    uart:~$ ot udp bind :: 2378
    Done
    uart:~$ ot ifconfig up
    Done
    uart:~$ ot ipmaddr
    ff02:0:0:0:0:0:0:1
    ff03:0:0:0:0:0:0:1
    ff03:0:0:0:0:0:0:fc
    Done
    uart:~$ ot ipmaddr add ff04::3:0
    Done
    uart:~$ ot ipmaddr
    ff04:0:0:0:0:0:3:0
    ff02:0:0:0:0:0:0:1
    ff03:0:0:0:0:0:0:1
    ff03:0:0:0:0:0:0:fc
    Done
    5 bytes from fe80:0:0:0:94e4:9983:d574:bf36 2378 68656c6c6f
    uart:~$ ot udp send ff02::1 2378 hello
    Done
    uart:~$ ot udp send ff04::3:0 2378 hello
    Done
    uart:~$

    Each board sended UDP message to FF04::3:0, but the message was not received another one.
    At the time, on wireshark, this messages was not show.
    (When the board sent UDP message to FF02::1, the sniffer log showed on wireshark.)

    I don't have any filters in wireshark.

    Best regards,

    Yuma

  • Hi Yuma,

    I will look into the issue about the UDP message not being displayed.

    Best regards,
    Marte

  • Hi Yuma,

    Maria will handle the UDP messages not being displayed issue in your other ticket.

    Best regards,
    Marte

  • Hi Marte,

    I see.
    Am I correct in my understanding that this ticket will be put on hold until the issue Maria is working on is resolved?

    Best regards,

    Yuma

  • Hi Yuma,

    The way I understood it, the issue is that you are not able to send UDP messages to certain addresses unless Thread is enabled, which is expected. However, for some reason messages that are received are not printed to log unless Thread is disabled (as you reported in the other ticket). Based on this, it seems like the only problem is the latter, and that things should work as expected if that problem is solved.
    Please let me know if there is something I missed.

    Best regards,
    Marte

  • Hi Marte,

    I've understood the situation.
    If I still have questions about this issue after the other ticket has been resolved, I will contact here later.

    Best regards,

    Yuma

Reply Children
No Data
Related