TCP_CLIENT problem

Hi.

I couldn’t get Q2687 to work with the TCP_Client sample code provided from wavecom.

Whenever I run the sample code, I get

GPRS: open: -> DISCONNECTED
GPRS: start: -> CONNECTING
GPRS: GPRS EVENT SETUP OK (cid=1): GPRS activate
GPRS: GPRS EVENT SETUP/ACTIVATE KO (cid=1): -> DISCONNECTED

I have double checked the APN , UserID , Password and it was correct.

Please help.

Kind regards

Wooje Kim

Hi,

I suggest you to check your GPRS connection without OpenAT running first.

You can follow the steps to activate GPRS, getting IP address :

AT+CMEE=1
AT=CGDCONT=1,“IP”,“APN_NAME”
AT+CGATT=1
AT+CGACT=1,1
AT+CGPADDR=1

You should get “OK” on entering the above commands, and get IP address finally. if not you may get some error codes, resd the AT manual for the reason.

Thanks for your help.

I have tried to run those AT commands.
When I run these steps

AT+CGATT=1 -> I get CME ERROR 148
AT+CGACT=1,1 -> CME ERROR 3

also I found out that:

AT+CSQ -> 99,99

Any Ideas?

Thanks

Kind regards

Wooje Kim

"AT+CSQ -> 99,99 "

Seems you module has not registered to the network, can you able to make a voice call ?

Check the module antenna connection , and verify if the SIM card can register to the network by putting it to a normal mobile phone first.

by default the wavecom modem uses gsm 850 and 1900 MHZ frequency.
you should change it via AT command to your GSM network frequency.