GPRS-->RS232 with FXT009

Dear all,

I’m trying to use a FXT009 modem as a gateway to RS232. My goal is to make a connection via internet (best would be via a openvpn client) to the fxt009 modem with a mdex fixed IP SIM card to communicate to a datalogger attached to the serial port of the FXT009 modem.

My first step was to setup the modem using AT commandos to establish a gprs connection - to “log in” to the internet. But i have problems to get a connection so i can’t proceed to my next steps.

Here are the AT commandos I’m using:

At+creg?
+creg: 0,1

AT+CGREG?
+CGREG: 0,1

AT+CGCLASS?
+CGCLASS: „B“

AT+WGPRS?
+WGPRS: 0,1
+WGPRS: 1,0
+WGPRS: 2,0,1
+WGPRS: 3,0
+WGPRS: 4,10
+WGPRS: 5,0
+WGPRS: 6,0
+WGPRS: 7,0
+WGPRS: 8,10
+WGPRS: 9,0,0

at+cgdcont?
+CGDCONT: 1,“PPP”,“m2m.cda.vodafone.de”,“my.fixed.ipadress.here”,0,0

at+cgatt?
+CGATT: 1

at+cgact?
+CGACT: 1,0
at+wppp?
+WPPP: 1,1,"mdex@m2m.mdex.de",“mdex”

At+cops?
+COPS: 0,2,26202

At+cgpaddr
+CGPADDR: 1,“my.fixed.ipadress.here”

At+cgauto=1
+CGAUTO: 1
AT +CGDATA=1
–> nothing happens

2nd try:
at+cgdcont=2,“IP”,“m2m.cda.vodafone.de”,“my.fixed.ipadress.here”,0,0

at+cgdata=2
CONNECT 115200
~ÿ}#À!}!}!} }<}!}$}%Ü}"}&} } } } }%}&}(j}(í}’}"}(}"}#}$À#}4Öÿ}#À!}!}!} }<}!}$}%Ü}"}&} } } } }%}&}(j}(í}’}"}(}"}#}$À#}4Öÿ}#À!}!}!} }<}!}$}%Ü}"}&} } } } }%}&}(j}(í}’}"}(}"}#}$À#}4Öÿ}#À!}!}!} }<}!}$}%Ü}"}&} } } } }%}&}(j}(í}’}"}(}"}#}$À#}4Öÿ}#À!}!}!} }<}!}$}%Ü}"}&} } } } }%}&}(j}(í}’}"}(}"}#}$À#}4Öÿ}#À!}!}!} }<}!}$}%Ü}"}&} } } } }%}&}(j}(í}’}"}(}"}#}$À#}4Öÿ}#À!}!}!} }<}!}$}%Ü}"}&} } } } }%}&}(j}(í}’}"}(}"}#}$À#}4Öÿ}#À!}!}!} }<}!}$}%Ü}"}&} } } } }%}&}(j}(í}’}"}(}"}#}$À#}4Öÿ}#À!}!}!} }<}!}$}%Ü}"}&} } } } }%}&}(j}(í}’}"}(}"}#}$À#}4Ö~~ÿ}#À!}!}!} }<}!}$}%Ü}"}&} } } } }%}&}(j}(í}’}"}(}"}#}$À#}4Ö~
NO CARRIER

So please can you help me?

Best regards,
Francisco

Hiya,

This is PPP - so you have connected to the ‘internet’ properly. This is now supposed to be parsed by an upstream computer (i.e. the FXT009 is a pass-through modem).

I guess that this is not what you want to happen…

What I suspect you want is for the FXT009 to do all the internet connection stuff and just connect a socket to teh serial port. I would suggest that you look at the WIPAT internet application library that is provided with Developer Studio and can be installed as a stand-alone application on the FXT009.

ciao, Dave

Thanks David I’ll try it!

Yup: FAQ forum/wiki? - #9 by awneil

Hi Dave,

I managed to get my firmware issue solved and i got the WIP Soft v541.1 running.

But i don’t know how to connect a socket to RS232 - can you provide me an example?

Thanks,
Sisco

Please refer to example in WIP Soft AT cmd guide,
http://developer.sierrawireless.com/Resources/Resources/AirPrime/Software/Internet%20Application%205,-d-,56%20AT%20Commands%20Interface%20Specification.aspx

For example, section 9.1.2.1, for TCP Client.