raspberrypi / pico-examples

BSD 3-Clause "New" or "Revised" License
2.61k stars 778 forks source link

What does example iperf.c #503

Closed hasenradball closed 2 days ago

hasenradball commented 4 days ago

@peterharperuk Dear Pi team,

sorry for the stupid Question what does the example picowiperf.c

It is as it is … no single line as a comment in the code!!!

lurch commented 3 days ago

See https://github.com/raspberrypi/pico-examples/blob/master/README.md#pico-w-networking and https://www.google.com/search?q=iperf

hasenradball commented 3 days ago

👍 thank you so much.

hasenradball commented 3 days ago

@lurch I tested the code but is there any detailed description how it works? Do I need two Picos for running the test?

No report is generated.

peterharperuk commented 3 days ago

It's an iperf server. Just run an iperf client on another pc that can see it iperf -c [ipaddress] There is a way to build the code as a client. That's left as an exercise for the reader. It's iperf2 not iperf3

hasenradball commented 3 days ago

@peterharperuk

thank you understood. A little comment in code (kind of abstract) would helb here. :-)

hasenradball commented 3 days ago

@peterharperuk

Just a short question. Is it easy to build an PicoW code which can send an Http GET/POST Request every hour?

And is it possible to save data on the pico in a file.

For example read every 15 min. some sensor, but send it just every hour?

lurch commented 3 days ago

@hasenradball I feel like you're asking questions which ought to be asked on the forums https://forums.raspberrypi.com/viewforum.php?f=143 GitHub issues is used for tracking bugs.

peterharperuk commented 3 days ago

Is it easy

Define easy

hasenradball commented 3 days ago

By usage of already available functions for e.g.: http requests etc…

peterharperuk commented 3 days ago

There's a http example here https://github.com/raspberrypi/pico-examples/pull/385

hasenradball commented 3 days ago

I just looked into the official examples. Thanks.