UM-WI-056
DA16xxx FreeRTOS Getting Started Guide
User Manual
Revision 1.0
27-Oct-2021
CFR0012
50 of 80
© 2021 Dialog Semiconductor
Do the following steps to setup Iperf tool:
https://iperf.fr/iperf-download.php
2. Create a folder called
Iperf
in path
C:\
3. Unzip the downloaded file and move the contents to the Iperf folder.
4. Prepare the DA16200 to operate in Station Mode as described in Section
5. Use command
iperf
or
iperf -h
to see the available options in
Iperf
.
Example:
[/DA16200] #
net
Switch to network command mode.
Command-List is changed, "NET"
[/DA16200/NET] #
iperf
Run
iperf command.
Usage: iperf -I [WLAN0|WLAN1] [-s|-c host][options]
iperf [-h] [-v]
Client/Server:
-I Interface [WLAN0|WLAN1]
-i seconds between periodic bandwidth reports
-u use UDP rather than TCP
-p, # server port to listen on/connect to
-f, [kmKM] format to report: Kbits, Mbits, KBytes, MBytes
-d finsh service
ex) iperf -d -c -u : udp clinet
iperf -d -c : tcp clinet
iperf -d -u : udp server
iperf -d : tcp server
Server specific:
-s run in server mode
-T # Rx Time Out Min:1 sec. 'F' Forever
Client specific:
-c <host> run in client mode, connecting to <host>
-t # time in seconds to transmit for (default 10 secs)
-x # tcp API mode default:basic tcp(API) 1:Altcp 2:Socket
-y # Transmit delay, tick 1 ~ 100
-l # PacketSize option (UDP default 1470, IPv6 1448 TCP 1000)
-n # UDP Tx packet number
-P, # Pair Index (0,1,2)
(default Max, Step 1~100 Mbps)
-O use Main Packet Pool
Miscellaneous:
-h print this message
-v print version
Iperf Test with DA16200/600 as a Client
To set-up the Iperf test with the DA16200/600 operating as a client and the laptop operating as a
server, do the following steps:
1. Connect the laptop which is the server to the AP.
2. In the CMD window, use the command
ipconfig /all
to find the IP address:
C:\user\testuser>
ipconfig /all
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . : Davolink
Description . . . . . . . . . . . : Realtek USB GbE Family Controller #3
Physical Address. . . . . . . . . : 50-E0-85-D7-1E-4B
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::b1e7:a692:a700:748a%13(Preferred)
IPv4 Address. . . . . . . . . . . :
192.168.0.103(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Monday, September 27, 2021 4:23:16 PM
Lease Expires . . . . . . . . . . : Tuesday, September 28, 2021 4:24:33 PM
Default Gateway . . . . . . . . . : 192.168.0.1