© Microhard
96
5.0 AT Command Line Interface
Serial Port AT Commands (Continued)
AT Command
Description
Syntax
Effect
AT+MCIPM2
Get/Set Serial port IP protocol mode
AT+MCIPM2=<IP Protocol Config>
Parameters:
COM2 IP Protocol Config:
0
-
TCP Client
1
-
TCP Server
2
-
TCP Client/Server
3
-
UDP Point to Point
4
-
UDP Point to Multipoint(P)
5
-
UDP Point to Multipoint(MP)
8
-
PPP
AT&W
AT+MCTC2
Get/Set Serial port tcp client configuration when
IP protocol mode is TCP Client
AT+MCTC2=<Remote Server IP>,<Remote Server Port>,<Outgoing timeout>
Parameters:
COM2:
Remote Server IP : valid IP address
Remote Server Port : 1 to 65535
Outgoing timeout : 1 to 65535 in seconds
AT&W
AT+MCTS2
Get/Set Serial port tcp server configuration when
IP protocol mode is TCP Server
AT+MCTS2=<Server Mode>,<Polling Timeout>,<Local Listening Port>,<Connection timeout>
Parameters:
Server Mode : 0
-
Monitor; 1
-
Polling
Polling timeout : 1 to 65535 in seconds
Local Listening Port : 1 to 65535
Connection timeout : 1 to 65535 in seconds
AT&W
AT+MCTCS2
Get/Set Serial port tcp client/server configuration
when IP protocol mode is TCP Client/Server
AT+MCTCS2[=<Remote Server IP>,<Remote Server Port>,<Outgoing timeout>,<Server
Mode>,<Polling Timeout>,<Local Listener Port>,<Incoming timeout>]
Parameters:
Remote Server IP : valid IP address
Remote Server Port : 1 to 65535
Outgoing timeout : 1 to 65535 in seconds
Server Mode : 0
-
Monitor; 1
-
Polling
Polling timeout : 1 to 65535 in seconds
Local Listening Port : 1 to 65535
Incoming timeout : 1 to 65535 in seconds
AT&W
AT+MCUPP2
Get/Set Serial port UDP point to point configura-
tion when IP protocol mode is UDP point to point
AT+MCUPP2[=<Remote IP>,<Remote Port>,<Listening Port>,<UDP Timeout>]
Parameters:
Remote IP : valid IP address
Remote Port : 1 to 65535
Listening Port : 1 to 65535
UDP Timeout : 1 to 65535 in seconds
AT&W
AT+MCPPP2
Get/Set Serial port PPP configuration when IP
protocol mode is PPP
AT+MCPPP2[=<Mode>,<CCP negotiation>,<LCP Echo Failure Number>,<LCP Echo Interv
al>,<Local IP>,<Host IP>, <Idle Timeout>[,<Expected String>,<Response String>]]
Parameters:
COM2:
Mode : 0
-
Active; 1
-
Passive
CCP negotiation : 0
-
Disable; 1
-
Enable
LCP Echo Failure Number : [0 .. 65535]
LCP Echo Interval : [0 .. 65535]
Local IP : Valid IP address
Host IP : Valid IP address
Idle Timeout : 1 to 65535 in seconds
Expected String : (Optional) 0
-
63 characters
Response String : (Optional) 0
-
63 characters
AT&W
AT+MCUPMP2
Get/Set Serial port UDP point to multipoint as
point configuration when IP protocol mode is set
to UDP point to multipoint (P)
AT+MCUPMP2[=<Multicast IP>,<Multicast Port>,<Listening Port>,<Time To Live>,<Multicast
Interface>
Parameters:
COM2:
Multicast IP : valid IP address
Multicast Port : 1 to 65535
Listening Port : 1 to 65535
Time To Live : 1 to 255 in seconds
Multicast Interface :
0
-
default
1
-
LAN
AT&W
AT+MCUPMM2
Get/Set Serial port UDP point to multipoint as MP
configuration when IP protocol mode be set to
UDP point to multipoint (MP)
AT+MCUPMM2[=<Remote IP>,<Remote Port>,<Multicast IP>,<Multicast Port>,<Multicast Inter-
face>]
Parameters:
COM2:
Remote IP : valid IP address
Remote Port : 1 to 65535
Multicast IP : valid IP address
Multicast Port : 1 to 65535
Multicast Interface : 0
-
default
1
-
LAN
AT&W
AT+MCESCP2
Get/Set Serial support escape sequence configu-
ration
AT+MCESCP2[=<Escape Mode>[,<Escape Guard Interval>,<Escape Sequence String>]]
Parameters:
COM2:
Escape Mode : 0
-
Disabled; 1
-
Enabled
Escape Guard Interval : 1 to 10 seconds
Escape Sequence String : 3 to 7 characters
AT&W
Summary of Contents for pMDDL5824
Page 23: ...Microhard 23 3 1 1 pMDDL5824 OEM Mechanical Drawing 3 0 Hardware Features...
Page 24: ...Microhard 24 3 1 2 pMDDL5824 PCB PAD Placement 3 0 Hardware Features...
Page 29: ...Microhard 29 3 0 Hardware Features 3 2 1 pMDDL5824 Development Board Mechanical Drawings...
Page 30: ...Microhard 30 3 0 Hardware Features 3 2 2 pMDDL5824 Enclosed Mechanical Drawings...
Page 114: ...Microhard 114 Appendix B Sample Interface Schematic...