© Microhard Systems Inc.
166
5.0 AT Command Line Interface
AT+MCTTS2
Command Syntax
Set TCP Server parameters when IP Protocol Mode
is set to TCP Server.
AT+MCTTS2=<Polling Mode>, <Polling
timeout_s>, <Local Listener Port>,
<Connection timeout_s>
Polling Mode:
0 Monitor
1 Multi-polling
Description
Example
Input:
AT+MCTTS2=0,100,20002,300<enter>
Response:
OK
AT+MCTTCS2
Command Syntax
Set TCP Client/Server parameters when IP Protocol
is set to TCP Client/Server mode.
AT+MCTTCS2=<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+MCTCS2=0.0.0.0,20002,60,0,100,20002,300<en
ter>
Response:
OK
AT+MCTUPP2
Command Syntax
Set UDP Point-to-Point parameters when IP
Protocol is set to UDP Point-to-Point mode.
AT+MCTUPP2=<Remote Server IP>, <Remote
Server Port>, <Liste
ner Port>, <UDP timeout_s>
Description
Example
Input:
AT+MCTUPP2=0.0.0.0,20002,20002,10<enter>
Response:
OK