GPRS connection between two modems

Hi.

I’m trying to make virtual serial connection between two measurement devices using GPRS with two Telit GM862-QUAD-PY modems. I need to send and receive text between the two devices. The other end has temperature measurement device which responses when it is asked for. The other end has the master device which has display and is asking the results.

The problem is I can not make them connect between each other. I do get IP-addreses for both of the devices and I can connect to www.google.com from both of the modems. I did open firewall from the other device and I’m listening 1024 port, but if I try to make “socket dial” (#SKTD) it just won’t connect to the other device. Am I doing something wrong or is it possible even to do what I’m trying to?

I tried Datacall earlier between the two devices and that worked perfectly.

Hello - I would like to do basically the same scenario. I have not purchased the Telit modules but I would like to.

What kind of cellular service (linked to your SIM cards) do you have? Do you have “voice” service or “data” service?

Thanks…

Many wireless carriers prevent communication between devices on their network, or anything else beyond web browsing.

You’re probably going to need to bounce it off of a real server somewhere.

Unless you’re paying extra to get a public IP address for at least the master device, this probably won’t work. Normally the carrier will put GPRS devices behind a NAT or NATP router, preventing incoming connections.

So I’d also recommend putting a server between the 2 devices.

(Note that is based on my experience with TMobile and AT&T in the US)

Sometimes even if you’re behind a NAT, the IP addresses assigned to the two GPRS-connected devices allow them to reach each other. That is the case for Vodafone Romania, I can connect from a device behind a Vodafone modem to another device behind another modem by simply using its private IP. However, the same setup does not work for Orange Romania (they do not route between the two). You would have to experiment but if you want something that will always work, use a server.

Razvan

hello i’m bilgun.

i cant connect to www.google.com . . .

i sent following commands

AT+CGDCONT=2,“IP”,“WAP”,“0.0.0.0”,0,0

OK

at+cgqmin?

+CGQMIN: 1,0,0,0,0,0

+CGQMIN: 2,0,0,0,0,0

OK

at+cgqreq?

+CGQREQ: 1,0,0,3,0,0

+CGQREQ: 2,0,0,0,0,0

OK

at#scfg=3,2,300,90,600,200

OK

at#sgact=2,1

#SGACT: 10.35.2.89

OK

at#sd=3,0,80,“www.google.com

ERROR

what could be the reason for ERROR?

i’m using GM862 Evaluation Board - USB(sku: CEL-00281).