© Microhard Systems Inc.
195
5.0 AT Command Line Interface
AT+MCMTC2
Command Syntax (Effect: AT&W)
Get/Set Serial port modbus TCP configuration.
AT+MCMTC2=<Status>, <Protection status>,
<Protection Key>
Status and Protection Status:
0 Disable
1 Enable
Description
Example
Input:
AT+MCMTC2=0,0,1234<enter>
Response:
OK
AT+MCIPM2
Command Syntax (Effect: AT&W)
Set the Serial port IP Protocol Mode.
AT+MCIPM2=<Mode>
Mode:
0 TCP Client
1 TCP Server
2 TCP Client/Server
3 UDP Point to Point
7 SMTP Client
8 PPP
11 GPS Transparent Mode
Description
Example
Input:
AT+MCIPM2=1<enter>
Response:
OK
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