Chapter 7. Socket Commands
7.2
AT#IPUDP
Command to set UDP socket parameters
ALLOWED: exec-state-info
Note:
–
Mode & IP address should be entered in quotes
–
Currently only the "client" mode has been implemented
–
The "delay" parameter is deprecated and has no effect (suggested not to use)
AT#IPUDP=(idx),(port),(mode),(ip)[,(delay)]
–
idx
•
1 or 2, just mirror of AT#IPTCP command, not applicable to UDP
–
port: number from 0 to 65535
–
mode
•
"C": Modem to connect to remote UDP server
•
"S": Modem waiting for remote UDP client to connect
–
ip: IP address of remote partner (IPv4 dotted notation)
–
delay: delay: (deprecated, no need to enter)
exec :
AT#IPUDP=1,50003,"C","162.242.170.47"
OK
exec :
AT#IPUDP?
#IPUDP: 1,50003,”C”,"162.242.170.47",1
#IPUDP: 2,0,”C”,"",1
OK
exec :
AT#IPUDP=?
#IPUDP: (1-2),(0-65535),("C","S"),(120),(0,1)
OK
7.3
AT#AUTOTCP
Command to Start Auto TCP functionality
ALLOWED: exec-state-info
AT#AUTOTCP=(mode)
M110 Series Cellular Modem mPACK Command Reference
30