Failing to receive UDP packets with zperf in OpenThread network

Hi all,

I'm trying to characterize the UDP throughput of a Thread network consisting of nRF5340 DK devices. I saw that Espressif made a test report and they seemed to use iPerf to measure UDP throughput. I am trying to do something similar, but with Zephyr's zperf and nRF5340 DK devices instead. However, I am having some troubles with successfully receiving UDP packets. Specifically, I am setting up one nRF5340 DK to be a zperf server and a second nRF5340 DK to be a zperf client. I am running the OpenThread CLI sample firmware on both DKs with additional configuration options taken from the Zephyr's zperf sample. I am running these two DKs under a working Thread network setup (RPi + RCP).

Here are some relevant logs: 

nRF5340 DK acting as a server:

uart:~$ zperf udp download 4343
UDP server started on port 4343
[02:03:23.218,078] <inf> net_zperf: Binding to 192.0.2.1
[02:03:23.218,231] <wrn> net_l2_openthread: No address info provided with event, please enable CONFIG_NET_MGMT_EVENT_INFO
[02:03:23.218,292] <inf> net_zperf: Binding to 2001:db8::1

nRF5340 DK acting as a client:

rtt:~$ zperf udp upload fdbf:fbde:6c4c:1:xxxx:xxxx:xxxx:xxxx 4343 
Remote port is 4343
Connecting to fdbf:fbde:6c4c:1:xxxx:xxxx:xxxx:xxxx
Duration:	1.00 s
Packet size:	256 bytes
Rate:		10 kbps
Starting...
Rate:		10 Kbps
Packet duration 200 ms
UDP upload failed (-1)
rtt:~$ [00:02:41.084,991] <err> net_zperf: Failed to receive packet (11)
rtt:~$ rtt:~$ [00:02:43.039,093] <err> net_zperf: Failed to receive packet (11)

Additional context:

  • I have tried 192.0.2.1, 2001:db8::1, and other ip addresses from `ot ipaddr` to no avail.
  • I also tried the communication between zperf (on a nRF5340 DK) and iPerf (on a Raspberry Pi). This didn't seem to work either. 

Does anyone happen to know how to approach this problem with UDP packets failing to receive? Any help would be greatly appreciated, and please let me know if I can provide any additional details. Thank you for reading!

Related