3.8.8 Iperf Demo

This application demonstrates how a user can run iperf application on WINC1500 device in Socket Mode.

  1. Configure the wifi parameters using "wifi set" command.

    wifi_config
  2. Enter "siperf <tcp/udp>" on the terminal window to select and start the iperf application demo in the DUT.

    Command on DUTDetails
    siperf tcpStarts the TCP server at the DUT
    siperf udpStarts the UDP server at the DUT
    siperf_tcp
  3. Enter the application command "appdemo start 1 10 " to run the iperf demo. First the device will connect to the network. The IP address will be displayed on the terminal window. Then the TCP/UDP server will get started.

    iperf_tcp_start
  4. After the "TCP/UDP" server has started, the user wants to run the iperf commands on the PC to start the iperf application as TCP/UDP Client .

    iperf command details.

    Command on PCDetailsExample
    iperf -c <Server_IP_Address> -t <time_peroid> -i <time_interval> -rSetup the TCP Client in the PCiperf -c 192.168.43.27 -i 1 -t 10 -r
    iperf -u -c <Server_IP_Address> -t <time_peroid> -i <time_interval> -u -b <bandwidth> -rSetup the UDP Client in the PCiperf -u -c 192.168.43.27 -b 20M -i 1 -t 10 -r
  5. After receiving the "Server Report" on the terminal, enter the iperf commands on the PC to set the iperf application as TCP/UDP server.

    Command on PCDetailsExample
    iperf -s -i <time_interval>Setup the TCP Server in the PCiperf -s -i 1
    iperf -s -u -i <time_interval>Setup the UDP Server in the PCiperf -s -u -i 1