© Microhard Systems Inc. 196
5.0 AT Command Line Interface
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
AT+MCUPP2
Command Syntax (Effect: AT&W)
Set UDP Point-to-Point parameters when IP
Protocol is set to UDP Point-to-Point mode.
AT+MCUPP2=<Remote IP>,<Remote
Port>,<Listener Port>
Remote IP : valid IP address
Remote Port : 1 to 65535
Listener Port: 1 to 65535
Description
Example
Input:
AT+MCUPP2=0.0.0.0,20002,20002<enter>
Response:
OK