Download Multitech CDMA Specifications
Transcript
Chapter 17 – TCP App AT Commands Service Status Unsolicited Response 1 +WIPREADY Description: This unsolicited response indicates the status of the created service. Response Syntax: +WIPREADY: <protocol>,<index> Possible Responses +WIPREADY: 2,3 Note: TCP connected socket index 3 Response Values: <protocol> 1 2 <index> 1-8 UDP TCP client Socket or session identifier Service Status Unsolicited Response 2 +WIPACCEPT Description: This unsolicited response indicates an incoming connection is accepted on a TCP server socket and the TCP client socket has been spawned. Response Syntax: +WIPACCEPT: <server index>,<client index> Possible Responses +WIPACCEPT: 1,5 Note: Server index 1 accepted a connection; resulting TCP client assigned to index 5 Response Values: <server index> 1-4 TCP server socket or session identifier <client index> 1-8 TCP client socket or session identifier Service Status Unsolicited Response 3 +WIPERROR Description: This unsolicited response indicates an error occurred while attempting to connect a socket to it’s peer, or that an error occurred on the socket after the socket was created. The AT+WIPCREATE command immediately returns OK after the command syntax is verified, therefore the unsolicited response +WIPERROR is needed to indicate any error conditions when the socket can not connect to the peer, or when the socket loses connection to the peer. Response Syntax: +WIPERROR: <protocol>,<index>,<error> Sample Responses +WIPACCEPT: 1,5 Note: Server index 1 accepted a connection; resulting TCP client assigned to index 5 104 Multi-Tech Systems, Inc. CDMA C1 AT Commands Reference Guide