© Microhard Systems Inc.
197
5.0 AT Command Line Interface
AT+MCSMTP2
Command Syntax (Effect: AT&W)
Get/Set Serial port SMTP client configuration when
IP Protocol mode is set to SMTP client.
AT+MCSMTP2=<Mail Subject>,<Mail
Server>,<Username>,<Pas
sword>,<Mail Recipient>,<Message Max
Size>,<TimeOut>,<Transfer Mode>
Mail Subject : 1 to 63 bytes
Mail Server : Valid IP Address or Name
Username : 1 to 63 bytes
Password : 1 to 63 bytes
Mail Recipient : 1 to 63 bytes
Message Max Size : [1 .. 65535]
TimeOut : [0 .. 65535] in seconds
Transfer Mode : 0: Text; 1: Attached File; 2: Hex
Code
Description
AT+MCPPP2
Command Syntax (Effect: AT&W)
Get/Set Serial port PPP configuration when IP protocol mode to set to PPP.
AT+MCPPP2=<Mode>,<LCP Echo Failure Number>,<LCP Echo Int
erval>,<Local IP>,<Host IP>,<Idle Timeout>[,<Expected String>,<Response String>]
COM2:
Mode : 0 - Active; 1 - Passive
LCP Echo Failure Number : [0 .. 65535]
LCP Echo Interval : [0 .. 65535]
Local IP : Valid IP address
Host IP : Valid IP address
Idle Timeout : [0 .. 65535] in seconds
Expected String : (Optional) 0 - 63 characters
Response String : (Optional) 0 - 63 characters
Description
Example
Input:
AT+MCPPP2?
Response:
+MCPPP2:
Mode : 1 - Passive
LCP Echo Failure Number : 0
LCP Echo Interval : 0
Local IP : 192.168.12.1
Host IP : 192.168.12.99
Idle Timeout(s) : 30
Expected String : CLIENT
Response String : CLIENTSERVER
OK