© Microhard Systems Inc.
111
5.0 AT Command Line Interface
AT+MCTC2
Command Syntax (Effect: AT&W)
Set Serial port TCP Client parameters when IP
Protocol Mode is set to TCP Client.
AT+MCTC2=<Remote Server IP>, <Remote
Server Port>, <Outgoing timeout_s>
Remote Server IP : valid IP address
Remote Server Port : 1 to 65535
Outgoning timeout_s: 0 to 65535
Description
Example
Input:
AT+MCTC2=0.0.0.0,20002,60<enter>
Response:
OK
AT+MCTS2
Command Syntax (Effect: AT&W)
Set TCP Server parameters when IP Protocol Mode
is set to TCP Server.
AT+MCTS2=<Local Listener
Port>,<Connection timeout_s>
Local Listener Port : 1 to 65535
Connection timeout_s: 0 to 65535
Description
Example
Input:
AT+MCTS2=20002,300<enter>
Response:
OK
AT+MCTCS2
Command Syntax (Effect: AT&W)
Set TCP Client/Server parameters when IP Protocol
is set to TCP Client/Server mode.
AT+MCTCS2=<Remote Server IP>,<Remote
Server Port>,<Outgoning timeout_s>,<Local
Listener Port>
Remote Server IP : valid IP address
Remote Server Port : 1 to 65535
Outgoning timeout_s: 0 to 65535
Local Listener Port: 1 to 65535
Description
Example
Input:
AT+MCCS2=0.0.0.0,20002,60,20002<enter>
Response:
OK