
Chapter 19 – TCP/IP App AT Commands
Multi-Tech Systems, Inc. CDMA Wireless AT Commands (PN S000294J)
145
Socket Data Transmission Error +WSTE
Description:
This unsolicited response indicates that an error has occurred during a socket data transmission.
Response Values:
<type>
The socket type associated with this error.
0
TCP
1
UDP
<socket>
The socket number associated with this error.
<error>
The error indication of the socket. See sections 21.12 and 21.13 for a list of the returned codes
and their meanings.
Syntax: Response
syntax:
+WSTE: <type>,<socket>,<error>
Possible responses
+WSTE: 0,0,102
Note: Blocked transmission for TCP socket zero.
+WSTE: 1,1,117
Note: Connection reset on UDP socket one.
Received Socket Data +WSRX
Description:
This unsolicited response returns received data from the indicated socket to the host application. Each
+WSRX response contains the next sequential portion of the received socket data. Depending on network
congestion, the payload size may vary from response to response.
Response Values:
<type>
The socket type associated with this data reception.
0
TCP
1
UDP
<socket>
The socket number associated with this data reception.
<length>
An ASCII character decimal number indicating the number of bytes in the <payload> portion of
the response.
:
(colon)
Length and payload field separator.
<payload>
The binary data bytes received from the indicated socket.
Syntax: Response
syntax:
+WSRX: <type>,<socket>,<length>:<payload>
Possible responses
+WSRX: 0,0,536:0x54 0x45 0x53 0x54 …
Note: 536 bytes received on TCP socket zero.
+WSRX: 1,1,300:TEST …
Note: 300 bytes received on UDP socket one.
Socket Data Error +WSRE
Description:
This unsolicited response indicates that an error has occurred during the reception of socket data.
Response Values
<type>
The socket type associated with this error.
0
TCP
1
UDP
<socket>
The socket number associated with this error. confidential © Page : 259/ 313 This document is
the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior
written agreement. Ce document est la propriété exclusive de WAVECOM. Il ne peut être
communiqué ou divulgué à des tiers sans son autorisation préalable.
<error>
The error indication of the socket. See sections 21.12 and 21.13 for a list of the returned codes
and their meanings.
Syntax: Response
syntax:
+WSRE: <type>,<socket>,<error>
Possible responses
+WSRE: 0,0,119
Note: Broken pipe for TCP socket zero.
+WSRE: 1,1,117
Note: Connection reset on UDP socket one.