User Tools

Site Tools


software:firmware:2.x:at-commands:network-tools

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)*

<code>AT+IPERF2=s,5002</code>  *(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.

software/firmware/2.x/at-commands/network-tools.txt ยท Last modified: by sarahrose

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki