MTCMR-C1-GP-N2 Multi-Tech Systems, MTCMR-C1-GP-N2 Datasheet - Page 101

no-image

MTCMR-C1-GP-N2

Manufacturer Part Number
MTCMR-C1-GP-N2
Description
MODEM CELLULAR DUAL CDMA
Manufacturer
Multi-Tech Systems
Series
MultiModem® iCellr
Datasheets

Specifications of MTCMR-C1-GP-N2

Function
Transceiver, CDMA, Modem
Modulation Or Protocol
CDMA2000
Frequency
800MHz, 1.9GHz, 1575.42MHz
Applications
Sprint Networks (USA)
Interface
RS-232, USB
Sensitivity
-161dB
Data Rate - Maximum
153.6kbps
Voltage - Supply
9 V ~ 32 V, USB
Package / Case
Module
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
881-1096
Service Creation +WIPCREATE
Description:
Syntax:
Values:
Multi-Tech Systems, Inc. CDMA C1 AT Commands Reference Guide (PN S000478C)
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:
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.
Command syntax: If <protocol> = 1: AT+WIPCREATE=<protocol>,<index>,[<local port>]
<protocol>
<index>
<local port>
<peer IP>
<peer port>
<server index>
<from idx>
<to idx>
Command
AT+WIPCREATE=1,<index>,[<local port>]
[,<peer IP>,<peer port>]
AT+WIPCREATE=2,<index>,<peer IP>,
<peer port>
AT+WIPCREATE=3,<server index>,
<local port>,<from idx>,<to idx>
AT+WIPCREATE?
1
2
3
1-8
0 – 65535 Local TCP/UDP port
0 – 65535 Peer TCP/UDP port
1-4
1-8
1-8:
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
UDP
TCP client
TCP server
Socket or session identifier
Peer IP address; a string between quotes indicating an address either in numeric
form (e.g., “85.12.133.10”) or as a DNS entry (e.g., www.wavecom.com)
TCP server socket index
Minimum index for spawned TCP client sockets
Maximum index for spawned TCP client sockets
[,<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>
Possible Responses
OK
+WIPREADY: 1,<index>
OK
+WIPREADY: 2,<index>
OK
Lists all open sockets.
+WIPCREATE: <protocol>,<index>,<local port>,
<peer IP>,<peer port>
OK
Chapter 17 – TCP APP AT Commands
101

Related parts for MTCMR-C1-GP-N2