This example implements an iperf server compatible with iperf client v2.0.5. WILC device is connected to a local Wi-Fi network using Station mode. Connect a laptop to the router using an ethernet cable, then run the iperf command tool to measure the WILC bandwidth.
To test WILC bandwidth for TCP throughput, run the following command from the laptop: iperf -c WILC_IP_ADDRESS -i 5 -r
To test WILC bandwidth for UDP throughput, run the following command from the laptop: iperf -c WILC_IP_ADDRESS -u -i 5 -r -b 10mbps
It uses the following hardware:
This software was written for the GNU GCC compiler using Atmel Studio 6.2 Other compilers may or may not work.
For further information, visit Microchip.