© Microhard Systems Inc. 162
5.0 AT Commands
AT+MCOIPM
Command Syntax
Set COM1 serial port IP Protocol Mode. This
setting determines which protocol the serial
server will use to transmit serial port data over
the IPn3G.
AT+MCOIPM=<Mode>
Mode:
0 TCP Client
1 TCP Server
2 TCP Client/Server
3 UDP Point to Point
4 UDP Point to Multipoint(P)
5 UDP Point to Multipoint(MP)
6 UDP Multipoint to Multipoint
7 SMTP Client
8 PPP
Description
Example
Input:
AT+MCOIPM=0<enter>
Response:
OK
AT+MCOTC
Command Syntax
Set COM1 TCP Client parameters when
configured as TCP Client mode.
AT+MCOTC=<Remote Server IP>,
<Remote Server Port>, <Outgoing
timeout_s>
Description
Example
Input:
AT+MCOTC=0.0.0.0,20001,60 <enter>
Response:
OK
AT+MCOTS
Command Syntax
Set COM1 TCP Server parameters when
configured as TCP Server mode.
AT+MCOTS=<Polling Mode>, <Polling
timeout_s>, <Local Listener Port>,
<Connection timeout_s>
Polling Mode:
0 Monitor
1 Multi-polling
Description
Example
Input:
AT+MCOTS=0,100,20001,300 <enter>
Response:
OK
The AT&W command
must be issued to save
changes!