Chapter 25
Example of modem software setup and
operation
To setup automatic TCP connection from modem to server
SIM card APN is "internet"; Server IP address is 61.167.60.1; Server port is 23.
–
Enter APN information:
AT+IPGPRS=1,"internet"
–
Setup TCP server parameters:
AT+IPTCP=23,"C","61.167.60.1"
–
Enable automatic TCP connection:
AT+AUTOTCP=1
–
TCP connection will start after 20 seconds.
To setup automatic TCP connection from server to modem
SIM card APN is "internet"; Connection IP format is 255.255.255.255; Connection port is 23.
–
Enter APN information:
AT+IPGPRS=1,"internet"
–
Setup TCP server parameters:
AT+IPTCP=23,"S","255.255.255.255"
–
Enable automatic TCP connection:
AT+AUTOTCP=1
–
TCP socket on modem will start after 20 seconds.
To setup AT command driven TCP connection
SIM card APN is "internet"; Server IP address is 61.167.60.1; Server port is 23.
–
Enter APN information:
AT+IPGPRS=1,"internet"
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
support@maestro-wireless.com
119