Specifications
Table Of Contents
- Chapter 1 – Introduction
- Chapter 2 – AT Commands Overview
- Chapter 3 - General Commands
- Chapter 4 – Identification Commands
- Chapter 5 – Query Commands
- Chapter 6 – Global Configuration Commands
- Chapter 7 – Status Commands
- Chapter 8 – Communication Commands
- Fixed DTE Rate +IPR
- DTE-DCE Local Flow Control +IFC
- Set DCD Signal &C
- Set DTR Signal &D
- Set DSR Signal &S
- V.42bis Data Compression +DS
- V.42bis Data Compression Report +DR
- Hang-Up 1x Data Command +WCHD
- Automatic Answer S0
- Line Termination Character S3
- Response Formatting Character S4
- Command Edit Character S5
- Connection Completion Timeout S7
- Carrier Detect Threshold S9
- Automatic Disconnect Delay S10
- DTMF Duration and Spacing S11
- Chapter 9 – Call Control Commands
- Dial Command D
- Hang-Up Command H
- Answer a Call A
- Calling Line Identification Presentation +CLIP
- Call Waiting Indication +CCWA
- Incoming Call +RING
- Set Voice Privacy Level +WPRV
- Emergency Mode +WSOS
- Call Answered +WANS
- Call Connected +WCNT
- Call Ended +WEND
- Call Originated +WORG
- CPHS Command +CPHS
- Voice Mail Indicator +WVMI
- List Current Call State +CLCC
- Call Forwarding +CCFC
- Send Flash to Base Station +WFSH
- Send DTMF Tones +VTS
- Chapter 10 – Network Service Commands
- Serving System +CSS
- Set Rm Interface Protocol +CRM
- Signal Quality +CSQ
- Network Registration & Roaming +CREG
- Set More Preferred Rescans +WTBMPRS
- Band Preference +WBND
- Service Indication +WSRV
- Roam Preference +WRMP
- Default Cell Band +WDCB
- Roaming Indication +WROM
- Enhanced Roaming Indication +WERI
- Cell Environment and RxLev Indication +CCED
- Chapter 11 – Provisioning Control Commands
- Chapter 12 – OTASP / OTAPA Indications
- Chapter 13 – OMA / DM Control Commands
- Chapter 14 – Short Message Service Control Commands
- Send Message +CMGS
- Read Message +CMGR
- List Message +CMGL
- Delete Message +CMGD
- Preferred Message Storage +CPMS
- Set SMS Compose Language and Encoding +WSCL
- New Message Indication +CNMI
- Incoming Message Directly Displayed +CMT
- Incoming Message Stored in Memory +CMTI
- SMS Status Report Indication Directly Displayed +CDS
- SMS Message Storage Full +WMGF
- Chapter 15 – Audio Commands
- Audio Subsystem Overview
- Speaker & Microphone Selection +SPEAKER
- Microphone Gain Enable +MGE
- Microphone Gain +VGT
- Speaker Gain Control +VGR
- Digital Gain Transmit +WDGT
- Digital Gain Receive +WDGR
- Side Tone Modification +SIDET
- Echo Cancellation +ECHO
- Loudspeaker Volume Level +CLVL
- Initialize Voice Parameters +VIP
- Audio Loopback &T
- Chapter 16 – Data Commands
- Chapter 17 – TCP App AT Commands (For Non-UIP Builds)
- Configure TCP/IP +WIPCFG
- Bearer Configuration +WIPBR
- Bearer Status +WIPBR
- Service Creation +WIPCREATE
- Service Status Unsolicited Response 1 +WIPREADY
- Service Status Unsolicited Response 2 +WIPACCEPT
- Service Status Unsolicited Response 3 +WIPERROR
- Last Socket Error Query +WIPERR
- Socket Data Exchange +WIPDATA
- TCP/IP Service Option Handling +WIPOPT
- Closing a Service +WIPCLOSE
- Close Service Status +WIPPEERCLOSE
- Enable Relay Mode for SIP Dial-Up +WRLY
- Chapter 18 – Sleep Commands (Not for UIP)
- Chapter 19 – Host Application Scenarios
- Chapter 20 – Effects of AT&W, ATZ, and AT&F
- Chapter 21 – CDMA Terminology and Acronyms
- Index

Chapter 17 – TCP App AT Commands
Multi-Tech Systems, Inc. CDMA C1 AT Commands Reference Guide 107
TCP/IP Service Option Handling +WIPOPT
Description: The +WIPOPT command is used to read and/or configure different parameters on sockets.
Syntax: AT+WIPOPT=<protocol>,<idx>,<action>,<optnum>[,<optval>]
Command
Possible Responses
AT+WIPOPT=2,1,1,0
Note: Display local port number for connection on TCP
socket 1
+WIPOPT: 2,0,56228
OK
Note: Display is +WIPOPT:
<protocol>,<optnum>,<result>
AT+WIPOPT=2,1,1,2
Note: Display peer IP address of the connection on TCP
socket 1
+WIPOPT: 2,2,"192.168.13.34"
OK
AT+WIPOPT=1,2,1,6
Note: Display bytes available to be read on UDP socket 2
+WIPOPT: 1,6,23
OK
AT+WIPOPT=2,2,2,8,32
Note: Set Time to Live for TCP socket 2 to value of 32
OK
AT+WIPOPT?
ERROR
Values: <protocol>
1 UDP
2 TCP client
3 TCP server
<idx>
1-8 Socket or session identifier
<action>
1 Read (<optval> not allowed)
2 Write (<optval> required)
<optnum> Option to read or write (see Options and Values listed next)
<optval> Value of option to write (see Options and Values listed next)
Options and
Values:
Optnum
Value
Format
Description
UDP
TCP
Client
TCP
Server
0
0-65535
Local port number of the socket
R
R
R
1
0-65535
Port of the peer socket
R
R
-
2
String
Address of the peer socket
R
R
-
3
0-1
Specifies whether the socket is bound to a peer
socket or not. See notes below.
default: 1
R
-
4
536-36864
Size in bytes of the local transmit buffer.
default: 10240
-
RW
RW
5
536-65535
Size in bytes of the local receive buffer.
default: 16384
-
RW
RW
6
0-65535
Number of bytes that can currently be read on
the socket
R
R
-
7
0-1
When set to TRUE, TCP packets are sent
immediately, even if the buffer is not full
enough.
-
RW
RW










