micropython-lib icon indicating copy to clipboard operation
micropython-lib copied to clipboard

problem with iperf3 on MicroPython

Open mauriceee31 opened this issue 2 years ago • 1 comments

Hi,

i am getting the following error when I try to run a iperf3 client on my Raspberry Pi Pico W: ` import iperf3 client = iperf3.Client()

Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'Client'`

in this unofficial documentation it should work. https://iperf3-python.readthedocs.io/en/latest/examples.html#examples

mauriceee31 avatar Dec 07 '23 14:12 mauriceee31

The MicroPython version of iperf3 doesn't implement all features of the main/CPython version.

To use it in client mode, use commands like this:

iperf3.client('192.168.1.5')
iperf3.client('192.168.1.5', udp=True, reverse=True)

dpgeorge avatar Dec 18 '23 12:12 dpgeorge

The appears to be a fix/workaround provided. Proposing to close this issue.

jonnor avatar Aug 25 '24 10:08 jonnor