# TCPIP AT commands
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
Table : TCPIP AT commands
| Command | Description |
| --- | --- |
| [AT+CIPPING](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#Toc185000328) | Check whether the host is reachable |
| [AT+CIPDHCPV4C](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#Toc185000329) | Obtain/release dynamic network configuration |
| [AT+CIPSTA](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#Toc185000330) | Query/set static network configuration |
| [AT+CIPSTART](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#Toc185000331) | Query/set the client’s TCP or UDP connection |
| [AT+CIPCLOSE](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#Toc185000332) | Close the client’s TCP or UDP connection |
| [AT+CIPSEND](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#Toc185000333) | Set the client/server to send data packets in data mode |
| [AT+CIPSENDDATA](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#Toc185000334) | Set the client/server to send data packets with data in command parameters |
| [AT+CIPRECVTYPE](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#Toc185000335) | Query/set the client/server reception mode |
| [AT+CIPRECVDATA](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#Toc185000336) | Set the client/server to receive data in passive mode |
| [AT+CIPSERVER](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#Toc185000337) | Create/close a TCP server |
| [AT+CIPUDPSERVER](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#Toc185000338) | Create/close a UDP server |
| [AT+DNSC](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#Toc185621685) | Use DNS service |
| [AT+SNTPC](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#Toc185621686) | Use SNTP service |
| [AT+CIPV6](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#at_cipv6) | Enable/disable IPv6 |
| [AT+CIPDHCPV4S](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#at_cipdhcpv4s) | Set up and configure the DHCP v4 server for SoftAP mode |
| [AT+CIPMODE](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#at_cipmode) | Set the data reception mode |
| [AT+CIPV6PREFIX](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html#at_cipv6prefix) | Set the prefix of the IPv6 address for SoftAP mode |
## AT+CIPPING
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command supports set and execution types:
- Set: Check whether the host is reachable
- Execution: Show command usage
### Operation type
Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CIPPING | +CIPPING=<host>[,<count>[,<delay>[,<size>]]]
OK |
| AT+CIPPING=<host>[,<count>[,<delay>[,<size>]]] | +CIPPING:<host>,<seq>,<rtt>
···
+CIPPING:<sent count>,<receive count>
OK |
### Defined values
| Command | Response |
| --- | --- |
|
<host>: Remote host address
<count>: Number of echo request packets, default value is 4.
<delay>: Interval of echo request packets in ms, default value is 500.
<size>: Size of echo request packets, default value is 32 bytes.
|
<host>: Remote host address
<seq>: Sequence number
<rtt>: Round-trip time (ms)
<sent count>: Number of echo request packets
<receive count>: Number of echo reply packets
|
## AT+CIPDHCPV4C
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command supports query, set, and execution types:
- Query: Query the configuration of the wlan1 dynamicnetwork configuration
- Set:Obtain/release dynamic network configuration
- Execution:Show commandusage
### Operation type
Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CIPDHCPV4C | +CIPDHCPV4C=<interface>,<new|release>
OK |
| AT+CIPDHCPV4C=<interface>,<new> | +CIPDHCPV4C: DHCP client start
OK
Note: IP configuration is reported asynchronously by URC +EVT:dhcp\_bound, ip=<ip address> after DHCP completes |
| AT+CIPDHCPV4C=<interface>,<release> | +CIPDHCPV4C: DHCP released
OK |
| AT+CIPDHCPV4C? | +CIPDHCPV4C:<ip address>,<gw>,<netmask>
OK |
### Defined values
- ``: Network interface name, can only be wlan1(STA)
- ``: Obtain/release dynamic network configuration
- ``: IP address
- ``: Gateway
- ``: Network mask
## AT+CIPSTA
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command supports query, set, and execution types:
- Query: Query the configuration of the wlan1 network interface and the local loopback network interface
- Set: Set static network configuration of wlan1
- Execution: Show command usage
### Operation type
Query/Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CIPSTA? | +CIPSTA:<ip>,<gw>,<netmask>[,<ipv6 address>/64 ...][,DNS1:<ip>][,DNS2:<ip>]
OK |
| AT+CIPSTA | +CIPSTA=<ip address>,<gw>,<netmask>[,<dns1>[,<dns2>]]
OK |
| AT+CIPSTA=<ip address>,<gw>,
<netmask>[,<dns1>[,<dns2>]] | +CIPSTA:<ipaddress>,<gw>, <netmask>[,<dns1>[,<dns2>]]
OK |
### Defined values
- ``: IP address
- ``: Gateway
- ``: Network mask
- `,`: DNS servers, appended as labeled fields DNS1:<ip>,DNS2:<ip> (not positional)
- ``: IPv6 unicast address(es), each appended with a /64 suffix (variable count)
- ``: IPV6 global address
Note: The response of AT+CIPSTA? contains the wlan1 (STA) interface configuration only. Format: `+CIPSTA:,,[,DNS1:][,DNS2:][,/64 ...]`
## AT+CIPSTART
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command supports query, set, and execution types:
- Query: Query the information of client connections
- Set: Set the client’s TCP or UDP connection.
- Execution: Show command usage
### Operation type
Query/Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CIPSTART? | +CIPSTART:C,<link\_id>,<type>,<remote ip>,<remote port>,<local port>
OK |
| AT+CIPSTART | +CIPSTART=<link\_id>,<type>,<remote ip>,<remote port>
OK |
| AT+CIPSTART=<link\_id>,<type>,<remote ip>,<remote port> | +IPS:CONNECTED:<link id>
OK
Note:
+IPS: The connection status when device acts as a client
- CONNECTED: TCP/UDP connection established successfully
- FAILED: TCP/UDP connection creation failed
- CLOSED: TCP/UDP connection closed.
- SENDDONE: TCP/UDP packet sent successfully
- SENDFAILED: TCP/UDP packet sent failed
+IPDstatus:
- Activereceiving mode, normal:
+IPD:C,<type>,<link_id>,<length>,<data>
- Active receiving mode, pass-through:
+IPDHEX:C,<type>,<link_id>,<length>,<data>
- Passive receiving mode:
+IPD:C,<type>,<link_id>,<length>
|
### Defined values
- ``: Index of the connection
- ``: Protocol type, TCP/TCPv6 or UDP/UDPv6
- ``: Remote IP address
- ``: Remote listen port
- ``: Local port
- ``: Data length
- ``: The actual received packet
## AT+CIPCLOSE
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command supports set and execution types:
- Set: Close the client’s TCP or UDP connection
- Execution: Show command usage
### Operation type
Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CIPCLOSE | +CIPCLOSE=<link\_id>
OK |
| AT+CIPCLOSE=<link\_id> | +IPS:CLOSED:<link id>
OK |
### Defined values
``: Index of the connection
## AT+CIPSEND
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command supports set and execution types:
- Set: Set the client to send data packets in data mode
- Execution: Show command usage
### Operation type
Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CIPSEND | +CIPSEND=<C|S>,<TCP|UDP>,<link\_id>,<length>
OK |
| AT+CIPSEND= <C|S>,<TCP|UDP>,<link\_id>,<length> | OK
+IPS:SENDDONE:<link id> |
### Defined values
- ``: Whether to act as a server:
- `C`: Client
- `S`: Server
- ``: Protocol type, TCP or UDP
- ``: Index of the connection
- ``: Data length
Note: When the length of the sending data is greater than or equal to the value of `` or the +++ command is issued, the client exits the data mode. When `` is `0`, the client exits the data mode only through the +++ command.
## AT+CIPSENDDATA
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command supports set and execution types:
- Set: Set the client to send data packets specified in the command
- Execution: Show command usage
### Operation type
Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CIPSENDDATA | +CIPSENDDATA=<C|S>,<TCP|UDP>,<link\_id>,<length>,<"data">
OK |
| AT+CIPSENDDATA=<C|S>,<TCP|UDP>,<link\_id>,<length>,<"data"> | +IPS:SENDDONE:<link id>
OK |
### Defined values
- ``: Whether to act as a server:
- `C`: Client
- `S`: Server
- ``: Protocol type, TCP or UDP
- ``: Index of the connection
- ``: Data length
- `<"data">`: The actual packet to be sent
## AT+CIPRECVTYPE
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command supports query, set, and execution types:
- Query: Query client/server reception mode
- Set: Set client/server reception mode
- Execution: Show command usage
### Operation type
Query/Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CIPRECVTYPE? | +CIPRECVTYPE:<server\_flag>,<type>,<link\_id>,<mode>
OK |
| AT+CIPRECVTYPE | +CIPRECVTYPE=<server\_flag>,<type>,<link\_id>,<mode>
OK |
| AT+CIPRECVTYPE=<server\_flag>,<type>,<link\_id>,<mode> | OK |
### Defined values
- ``: Whether to act as a server:
- `C`: Client
- `S`: Server
- ``: Protocol type, TCP or UDP
- ``: Index of the connection
- ``: Reception mode:
- `0`: Active
- `1`: Passive
## AT+CIPRECVDATA
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command supports set and execution types:
- Set: Set client/server to receive data in passive mode
- Execution: Show command usage
### Operation type
Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CIPRECVDATA | +CIPRECVDATA=<server\_flag>,<type>,<link\_id>,<length>
OK |
| AT+CIPRECVDATA=<serverFlag>,<type>,<link\_id>,<length> | +CIPRECVDATA: <server\_flag>,<type>,<length>,<"data">
OK |
### Defined values
- ``: Whether to act as a server:
- `C`: Client
- `S`: Server
- ``: Protocol type, TCP or UDP
- ``: Index of the connection
- ``: Data length
- `<"data">`: Received data
Note: The target connection must first be put into passive mode with `AT+CIPRECVTYPE= ,,,1`. In passive mode, incoming data is buffered instead of being pushed to the host; the device only emits a data-ready indication `+IPD:,,,`. The host then issues `AT+CIPRECVDATA` to fetch the buffered data.
## AT+CIPSERVER
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command supports query, set, and execution types:
- Query: Query the server information
- Set: Create/close a TCP server
- Execution: Show command usage
### Operation type
Query/Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CIPSERVER? | +CIPSERVER:S,<link\_id>,<type>,<remote ip>,<remote port>,<local ip>,<local port>
OK |
| AT+CIPSERVER | +CIPSERVER=<mode>,<param2>
mode: 0 (stop), 1 (start)
param2: 0/1 when mode=0, port when mode=1
OK |
| AT+CIPSERVER=<mode>,<param2>, [<type>] | OK |
### Defined values
- ``:
- `0`: Shut down the server
- `1`: Build server
- ``:
- When `` = `0`:
- `` = `0`: Maintain existing server connections
- `` = `1`: Completely shut down the server
- When `` = `1`, `` is listen port
- ``: Whether to act as a server; fix the value to `S`
- ``: Index of the connection
- ``:Protocol type, UDP or UDPv6
- ``: Remote IP address
- ``: Remote listening port
- ``: Local IP address
- ``: Local port
## AT+CIPUDPSERVER
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command supports query, set, and execution types:
- Query: Query the UDP server information
- Set: Create/close a UDP server
- Execution: Show command usage
### Operation type
Query/Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CIPUDPSERVER? | +CIPUDPSERVER:S,<link\_id>,<type>,<remote ip>,<remote port>,<local ip>,<local port>
OK |
| AT+CIPUDPSERVER | +CIPUDPSERVER=<mode>,<param2>
OK |
| AT+CIPUDPSERVER=<mode>,<param2>,[<type>] | OK |
### Defined values
- ``:
- `0`: Shut down the server
- `1`: Build server
- ``:
- When `` = `0`:
- `` = `0`: Maintain existing server connections
- `` = `1`: Completely shut down the server
- When `` = `1`, `` is listen port
- ``: Whether to act as a server; fix the value to `S`
- ``: Index of the connection
- ``: Protocol type, UDP, or UDPv6
- ``: Remote IP address
- ``: Remote listening port
- ``: Local IP address
- ``: Local port
## AT+DNSC
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command performs the following tasks for the DNS service: display current DNS list, add a server, delete a server, and get host name.
### Operation type
Query/Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+DNSC | AT+DNSC: show the usage of command
AT+DNSC?: show the current list of dns servers
AT+DNSC=addsvr,<ip>: add a DNS server
AT+DNSC=delsvr,<ip>: delete a DNS server
AT+DNSC=gethostbyname,<hostname>: resolve a hostname
(string) into an IP address
AT+DNSC=gethostbyname2,<hostname>,<iptype>: like
dns\_gethostbyname, but returned address type can be controlled
iptype: v4, v6, v4v6, v6v4
OK |
| AT+DNSC? | +DNSC:<index>,<ip>
OK |
| AT+DNSC=addsvr,<ip> | OK |
| AT+DNSC=delsvr,<ip> | OK |
| AT+DNSC=gethostbyname,<hostname> | OK
Event:
+EVT:dns\_get:<hostname>,<ip\_host>
+EVT:dns\_fail:<hostname> |
| AT+DNSC=gethostbyname2,<hostname>,<iptype> | OK
Event:
+EVT:dns\_get:<hostname>,<ip\_host>
+EVT:dns\_fail:<hostname> |
| | |
### Defined values
- ``: 0-1
- ``: DNS server IP
- ``: DNS host name
- ``: DNS host IP
- ``: v4, v6 , v4v6, or v6v4
## AT+SNTPC
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command performs the following tasks for the SNTP service: display current NTP server list, set server by hostname or IP, set operation mode to unicast or broadcast, and start/stop the SNTP.
### Operation type
Query/Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+SNTPC | AT+SNTPC: show usage of command
AT+SNTPC?: show status of SNTP
AT+SNTPC=[start|stop]
AT+SNTPC=setOpMode,<0(unicast)|1(broadcast)>
AT+SNTPC=setServer,<IP addr|name>
OK |
| AT+SNTPC? | +SNTPC:<status>
+SNTPC:0,<hostname>[,<ip>[,KOD]]
OK
Note: <status> is the text "started" or "stopped" |
| AT+SNTPC=<op> | OK |
| AT+SNTPC=setServer,<IP addr|name> | OK |
### Defined values
- ``: SNTPC status, started or stopped
- ``: NTP server name, \*\*\*\* stands for no valid server
- ``: NTP server IP
- ``: start | stop
- ``: IP or name of NTP server
Note: After a successful sync, the UTC time is written to the RTC. Use `AT+TIME?` to read the local time (`+TIME:,,,,,,`). Before the first successful sync, `AT+TIME?` returns ERROR if the time hasn't been set.
## AT+CIPV6
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command enables or disables IPv6 in AT command.
### Operation type
Query/Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CIPV6 | AT+CIPV6=<enable>
OK |
| AT+CIPV6? | +CIPV6:<status>
OK |
| AT+CIPV6=<enable> | OK |
### Defined values
- ``: CIPV6 status:
- `0`: Disable
- `1`: Enable
## AT+CIPDHCPV4S
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command sets the data reception mode to either normal or pass-through. In pass-through mode, received data is reported as +IPDHEX instead of +IPD.
### Operation type
Query/Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CIPDHCPV4S | AT+CIPDHCPV4S=<iface\_id>,<action>[,<start\_ip>[,<end\_ip>[,<lease\_time\_minute>]]]
OK |
| AT+CIPDHCPV4S=<iface\_id>,<start|stop|pool>[,<start\_ip>[,<end\_ip>[,<lease\_time\_minute>]]] | OK |
| AT+CIPDHCPV4S? | +CIPDHCPV4S:<status>,<start\_ip>,<end\_ip>,<lease\_time\_minute>
OK |
### Defined values
- ``: Network interface name, can only be `0`
- ``: Subcommands of CIPDHCPV4S to start and stop the DHCP server, and to set the IP pool, start | stop | pool
- ``: Start address of the IP pool
- ``: End address of the IP pool
- ``: Set the lease time for DHCP clients
## AT+CIPMODE
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command sets the data reception mode to either a string or a hexadecimal character stream.
### Operation type
Query/Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CIPMODE | AT+CIPMODE=<mode>
OK |
| AT+CIPMODE? | +CIPMODE:<mode>
OK |
| AT+CIPMODE=<mode> | OK |
### Defined values
``: CIPMODE status:
- `0`: Normal mode (default). Received data is reported as +IPD.
- `1`: Pass-through mode. Received data is reported as +IPDHEX.
## AT+CIPV6PREFIX
Source: [https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html](https://docs.qualcomm.com/doc/80-Y8730-7/topic/tcpip_at_commands.html)
This command sets the prefix of the IPv6 address for SoftAP mode.
### Operation type
Query/Set/Execution
### Syntax
| Command | Response |
| --- | --- |
| AT+CIPV6PREFIX | AT+CIPV6PREFIX=<prefix>
OK |
| AT+CIPV6PREFIX? | +CIPV6PREFIX:<prefix>
OK |
| AT+CIPV6PREFIX=<prefix> | OK |
### Defined values
``: Prefix of IPv6 address:
- Prefix length is 64
- Prefix format doesn't allow compression
- These are valid formats:
- `2001:db8:0:0`
- `2001:0:0:1`
- These are invalid formats:
- `2001::1`
- `2001:db8::`
- `200:db8`
Last Published: Jul 30, 2026
[Previous Topic
WLAN AT commands](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-7/topics/wlan_at_commands.md) [Next Topic
MQTT client AT commands](https://docs.qualcomm.com/bundle/publicresource/80-Y8730-7/topics/mqtt_client_at_commands.md)