© Microhard Systems Inc. 169
5.0 AT Commands
AT+MCTTS
Command Syntax
Set COM2 TCP Server parameters when IP
Protocol Mode is set to TCP Server.
AT+MCTTS=<Polling Mode>, <Polling
timeout_s>, <Local Listener Port>,
<Connection timeout_s>
Polling Mode:
0 Monitor
1 Multi-polling
Description
Example
Input:
AT+MCTTS=0,100,20002,300<enter>
Response:
OK
AT+MCTTCS
Command Syntax
Set COM2 TCP Client/Server parameters when
IP Protocol is set to TCP Client/Server mode.
AT+MCTTCS=<Remote Server IP>,
<Remote Server Port>, <Outgoing
timeout_s>, <Polling Mode>, <Polling
timeout_s>,<Local Listener Port>,
<Connection timeout_s>
Polling Mode:
0 Monitor
1 Multi-polling
Description
Example
Input:
AT+MCTCS=0.0.0.0,20002,60,0,100,20002,300<ent
er>
Response:
OK
AT+MCTUPP
Command Syntax
Set COM2 UDP Point-to-Point parameters
when IP Protocol is set to UDP Point-to-Point
mode.
AT+MCTUPP=<Remote Server IP>,
<Remote Server Port>, <Liste
ner Port>, <UDP timeout_s>
Description
Example
Input:
AT+MCTUPP=0.0.0.0,20002,20002,10<enter>
Response:
OK
The AT&W command
must be issued to save
changes!