Chapter 6
SOCKET COMMANDS
6.1 AT#IPTCP
Command to set TCP 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#IPTCP=(idx),(port),(mode),(ip)[,(delay)]
– idx
• 1: UART port of modem
• 2: USB port of modem
– port: number from 0 to 65535
– mode
• "C": Modem as client to remote server
• "S": Modem as server for remote client to connect
– ip: IP address of remote partner (IPv4 dotted notation)
– delay: (deprecated, no need to enter)
exec :
AT#IPTCP=1,50002,"C","162.242.170.48"
OK
state :
AT#IPTCP?
#IPTCP: 1,50002,”C”,"162.242.170.48",1
#IPTCP: 2,0,”C”,"",1
OK
info :
AT#IPTCP=?
#IPTCP: (1-2),(0-65535),("C","S"),(120),(0,1)
OK
Confidential, the whole document is the sole property of Maestro Wireless Solutions Ltd.
Please contact us on support.maestro-wireless.com
27