EV-DO Rev A (MTSMC-EV3-IP
Tagged: MTSMC-EV3-IP
- This topic has 4 replies, 2 voices, and was last updated 8 years, 11 months ago by
Chuck Sabol.
-
AuthorPosts
-
April 15, 2016 at 1:58 pm #12166
Chuck Sabol
ParticipantDoes there exist an application paper that shows how to connect to a remote IP address using the Model MTSMC-EV3-IP/GP Socket Modem?
I am following S000546.pdf EV-DO & CDMA AT Command Reference Guide
I am getting ERROR back when I use the Socket Configuration #SCFG Multisocket AT Command:AT#SCFG=1,1,0,0,0,0
What is the correct sequence of AT commands to
establish a TCP socket connection to a remote MySQL server
running on a remote port of 3318 at address <www.xyz.com>?Regards,
Chuck SabolApril 15, 2016 at 2:15 pm #12167Lonny Knudson
BlockedHi Chuck,
For the -IP and -GP models you should be using the UIP command set, here is a link to the manual:
http://www.multitech.com/manuals/s000457l.pdfHere is a a quick example of the command sequence for a TCP socket using the UIP commands:
AT#TCPSERV=1,”www.xyz.com” #set address for tcp socket profile 1
AT#TCPPORT=1,3318 #set port for tcp socket profile 1
AT#CONNECTIONSTART #connect to cellular data service
AT#OTCP=1 #open tcp socket to host defined in socket profile 1#use cntrl-c to close socket
April 18, 2016 at 1:16 pm #12180Chuck Sabol
ParticipantHi Lonny,
I get the following responses to the TCP AT commands
AT#TCPSERV-1,”WWW.MYWEBADDRESS.COM”
OK
AT#TCPPORT=1,3318
OK
AT#CONNECTIONSTART
<An IP NUMBER XXX.XXX.XXX.XXX>
Ok_Info_GprsActivation
AT#OTCP=1
#CME ERRROR: 38016 <Distant : Open session attempt failed >Note that I have configured Port Forwarding for Port 3318 on my router for the PC running the MYSQL database server.
How do I get around this for my TCP application on the MTSMC-EV3-IP/GP Model SocketModem iCell.
I do not think I am making it to my remote server (which is where the MySQL is located)Regards,
Chuck SabolApril 18, 2016 at 2:12 pm #12182Lonny Knudson
BlockedHi Chuck,
If #CONNECTIONSTART was successful, I would expect that a TCP connection should succeed. Here are some suggestions to troubleshoot:Try issuing the command AT#VTCP and verify that the address and port number for socket profile 1 are correct.
Test port forwarding to the SQL server from another internet endpoint (aside from the MTSMC-EV3-IP).
Try connecting to a different internet host using the socket application
example:
AT#TCPSERV-1,”time.nist.gov”
AT#TCPPORT=1,13
AT#OTCP=1April 20, 2016 at 12:19 pm #12223Chuck Sabol
ParticipantHi Lonny,
Your suggestion of using the following:
AT#TCPSERV-1,”time.nist.gov”
AT#TCPPORT=1,13
AT#OTCP=1worked fine. There is nothing wrong with the cell phone.
Since I had not even got to the Logon prompt with MySQL, I thought there should be no problem.
I seem to have a problem with the MySQL on the server within our Ethernet local network.
I will report back when I have an answer.
Thank you again, for your help.Regards,
Chuck -
AuthorPosts
- You must be logged in to reply to this topic.