© Microhard Systems Inc.
113
5.0 AT Command Line Interface
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