Hello,
After successfully building Wi-Fi Fundamentals Lesson 3, Exercise 2 under nRF Connect SDK v2.9.1 & using nRF5340-DK with nRF7002-EK, I get the net_zperf: setsockopt SO_BINDTODEVICE error (-2).
I've also repeated by building and then running the provided l3_e2_sol. I ran the perf test on two completely different networks and got the same error.
In both cases, nRF5340DK / nRF7002-EK connected successfully to the iperf server running on the same network as the nRF device. However, the nRF device was unable to receive any packets. I suspect because of the setsockopt SO_BINDTODEVICE error.
Please review the outputs below.
iPerf server:
What would be the reason for the setsockopt error? Thank you.
Regards,
Ravi