Version latest

13 Diagnostic tools

Diagnostic tools such as ping, which verifies connectivity at the IP level, and iperf, which measures network performance, are useful for troubleshooting and optimizing the communication efficiency in the module.

13.1 Ping

SyntaxAT+UDGP=<destination>[,<count>]
Ping example
Nr
AT command
AT event
1
AT+UDGP="www.google.com",4
2
+UEDGP:1,15
4
+UEDGP:1,15
5
+UEDGP:1,14
6
+UEDGP:1,14
7
+UEDGPC:4,4,0,14

13.2 iperf

Iperf version 2 is supported as client and server software - with support for TCP and UDP data. Download Iperf 2 for Windows here Manual for iperf 2 can be found here
Note that the Iperf implementation is experimental and may change between releases, like parameters and behavior.
SyntaxAT+UDGI=<iperf_action>,<protocol_type>[,<role>,<port>,<report_interval>[,<time_boundary>,<ip_addr>[,<bidirectional>]]]

13.3 Iperf server

Example for Iperf server on port 5001
Nr
AT command
AT event
1
AT+UDGI=1,1,1,5001,1
2
+UEDGI:"TCP:StartTCPserver!"
3
+UEDGI:"tcp_server_func:Createsocketfd=0"
4
+UEDGI:"tcp_server_func:Bindsocketsuccessfully"
5
+UEDGI:"tcp_server_func:Listenport5001"

13.4 Iperf client

Example for Iperf client to connect on address 192.168.0.41 on port 5001
Nr
AT command
AT event
1
AT+UDGI=1,1,2,5001,1,20,192.168.0.41
2
+UEDGI:"tcp_client_func:Createsocketfd=1"
3
+UEDGI:"tcp_client_func:Connecttoserversuccessfully"
4
+UEDGI:"tcp_client_func:Send1435KBytesin1000ms,11761Kbits/sec"
5
+UEDGI:"tcp_client_func:Send1418KBytesin1000ms,11621Kbits/sec"
6
+UEDGI:"tcp_client_func:Send1417KBytesin1000ms,11609Kbits/sec"

Last updated: 25 August 2025
Need help?Contact Support
Questions?Contact us