EV-DO Rev A (MTSMC-EV3-IP

Home Forums General EV-DO Rev A (MTSMC-EV3-IP

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12166
    Chuck Sabol
    Participant

    Does 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 Sabol

    #12167
    Lonny Knudson
    Blocked

    Hi 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.pdf

    Here 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

    #12180
    Chuck Sabol
    Participant

    Hi 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 Sabol

    #12182
    Lonny Knudson
    Blocked

    Hi 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=1

    #12223
    Chuck Sabol
    Participant

    Hi Lonny,

    Your suggestion of using the following:

    AT#TCPSERV-1,”time.nist.gov”
    AT#TCPPORT=1,13
    AT#OTCP=1

    worked 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

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.