Specifications

Table Of Contents
Chapter 17 TCP App AT Commands
102 Multi-Tech Systems, Inc. CDMA C1 AT Commands Reference Guide
Bearer Status +WIPBR
Description: This unsolicited response indicates the status of the bearer.
Response
Syntax: +WIPBR: <bId>,<status>
Possible Responses
+WIPBR: 6,1
Note: PPP is active
Response
Values: <bId>
6 1xRTT/PPP Bearer Id
<status>
1 Session active
0 Session not active
Service Creation +WIPCREATE
Description: The +WIPCREATE command is used to create UDP, TCP client, and TCP server sockets associated
with the specified index and service.
If a local port is specified while creating a socket, the created socket will be assigned to this port;
if not, a port will be assigned dynamically. If peer IP and peer port are specified, the created
socket will be connected to the specified IP and port.
TCP server cannot be used to transfer data. To transfer data, it creates a local TCP client socket.
This process of creating local socket is referred to as “spawning”. When a server socket is
created, the socket passively listens on a specified port for incoming connections. On reception
of a connection request from a remote client socket, a server socket does the following:
Spawns a new socket (client) to connect to the remote socket
Data transfer is done between the spawned socket and the remote socket
Server socket remains in the listening mode and is ready to accept the request from other
clients
A UDP socket can be created which acts as a “listening” socket waiting for first incoming
datagram to the specified local port. This is accomplished by creating a socket with protocol set
to 1 (UDP) and specifying only a Local Port, without providing a Peer IP Address or Peer Port.
The +WIPDATA unsolicited response is output when a datagram is received on the port.
Note: The UDP “Listen” socket can receive incoming datagrams; however, it does not
bind to the peer IP Address/port, and thus cannot be used to transmit data. To
reply to the received datagram, a new UDP socket must be created using the
datagrams source IP Address and port.
Syntax: If <protocol> = 1: AT+WIPCREATE=<protocol>,<index>,[<local port>] [,<peer IP>,<peer port>]
If <protocol> = 2: AT+WIPCREATE=<protocol>,<index>,<peer IP>,<peer port>
If <protocol> = 3: AT+WIPCREATE=<protocol>,<server index>,<local port>,<from idx>,<to idx>