====== Network / TCP/IP Commands ====== This page documents AT commands for network testing, TCP/IP flow, and connectivity functions in HaLow firmware 2.x modules. ===== AT+IPERF2 – TCP Flow Test ===== **Execute:** AT+IPERF2=c,192.168.123.2,5002,60 *(client send)* AT+IPERF2=s,5002 *(server receive)* **Parameters:** * `c/s` – "c" = client, "s" = server * `ip_addr` – target IP address * `port` – TCP port number * `time` – duration in seconds * Requires `SYS_NETWORK_SUPPORT` macro to be enabled ===== AT+PING – Ping Function ===== **Execute:** AT+PING=192.168.123.2,5,1024 **Parameters:** * `ip_domain` – IP address or domain name * `send_times` – number of packets * `size` – packet size in bytes * Cannot enter other AT commands while pinging * Requires `SYS_NETWORK_SUPPORT` and `LWIP_RAW` macro definitions ===== Notes ===== * `AT+IPERF2` helps measure TCP throughput between two modules. * `AT+PING` can be used to check connectivity and latency. * Ensure that network support macros are enabled in firmware for these commands to work.