LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPRS connection using AT cmd fail with +CEER: Regular deactivation

Hello Sir,
Hope u r doing best, I am using AT command to setup GPRS Connection(TCP) below are the AT commands that i executed, I have obtained IP Address successfully for GPRS connection, but when i try to Enter data state using +CGDATA=1, i get ERROR, with +CEER: Regular deactivation.
it has been more than a weak I am stuck at this point, Please help.
AT+CGATT=1
OK
AT+CGATT?
+CGATT: 1
OK
AT+CGDCONT?
+CGDCONT: 1,"IP","rcomwap","0.0.0.0",0,0
+CGDCONT: 2,"IP","","0.0.0.0",0,0
+CGDCONT: 3,"IP","rcomnet","0.0.0.0",0,0
OK
AT+CGPCO=0,"","",1
ERROR
AT+CGACT=1,1
OK
AT+CGACT?
+CGACT: 1,1
+CGACT: 2,0
+CGACT: 3,0
OK
AT+CGPADDR=1
+CGPADDR: 1,"10.95.241.53"
OK

AT+SDATACONF=1,”TCP”,”www.sina.com.cn”,80
ERROR
AT+CEER
+CEER: Regular deactivation
OK

AT+CGDATA=1
ERROR
AT+CEER
+CEER: Regular deactivation
OK

Thank's in Advance
Sunil Tiwari

0 Kudos
Message 1 of 7
(7,170 Views)

Before we go any further, what type of device are you using? They often have a range of specialist firmware often with their own unique connection methods.

 

What is the AT+CGPCO command supposed to be doing? I've never even seen that one mentioned anywhere before.

 

Are you able to ping a remote IP, I usually use the Google server 8.8.8.8, using <AT#ping=8.8.8.8>?

0 Kudos
Message 2 of 7
(7,151 Views)


Hi,
Thanks for Reply,

I am using my mobile samsung Duso as the device all the ablove command are tried using the same device, as i am learning i havent yot purchase any modem for GPRS, i am not sure which is best for me.I am stuck upon this for more than a month. Please help any guide or ref for GPRS tcp connection whould be great.
below are the device details:
Request manufacturer identification +CGMI
AT+CGMI
QUALCOMM INCORPORATED

Request model identification +CGMM
AT+CGMM
GT-S7562
OK

Request revision identification +CGMR
AT+CGMR
76XXU-USNSKOLYM-2055  1  [Feb 01 2013 03:00:00]

AT+CGPCO command is to Configure the PDP context parameters of PCO if the user and password is needed
for GPRS APN
Here is the link that i refer which guide using AT Command to get access to TCP/IP stacke. also AT+CGPCO present in this


https://www.sparkfun.com/datasheets/CellularShield/SM5100B%20TCPIP%20App%20Note.pdf



I tried follwoing from my hyperterminal AT#ping=8.8.8.8 also
AT+ping=8.8.8.8
but it gives error, have i type the command wrong or may be my gprs is not connected

I also tried all steps from above thread followed by below command, but same error  "+CEER: Regular deactivation" what does it mean.
AT+SDATACONF=1,”TCP”,”8.8.8.8”,80
ERROR
AT+CEER
+CEER: Regular deactivation

Thanks,

Please help me getting connected to TCP using GPRS.

0 Kudos
Message 3 of 7
(7,107 Views)

AT+CGPCO command is to Configure the PDP context parameters of PCO if the user and password is needed
for GPRS APN


If this is the case are you simply not indicating that you are placing a password in the AT+GCPCO command or are you actually not placing one?

What happens when you enter AT+GCPCO=? , the "=?" is known as the test command and returns ERROR if the command is not available on that device, if the command is available on the device then it should return an example input.
 Try repeating this for AT+Ping as well and see what the response is.

 

From what I can tell from your first message you are connecting to CGDCONT: 1,"IP","rcomwap","0.0.0.0",0,0 when you are using the AT+CGACT=1,1 command as this connects you to the first PDP port.

 

Can you try AT+CGPCO=4,"","",1 rather then AT+CGPCO=0,"","",1 as from my recollection is that port 0 is specially allocated to something.

0 Kudos
Message 4 of 7
(7,074 Views)

Thanks for reply,

As suggester by you, I tried AT+CGPCO=?  and yes it return ERROR, also AT+PING=? return ERROR, also

AT+SDATACONF=? return ERROR.

In above thread you can see that AT+CGPADDR=1 return an IP address, does it means that GPRS is connected and no need for AT+CGPCO

OR I am reffering to wrong steps for GPRS connection. 

Is it like QUALCOMM INCORPORATED(my phone moderm) use some other command set to connect to GPRS,

 

OR

I am on write track some thing minnor is missing as

AT+CGDATA=1
ERROR
AT+CEER
+CEER: Regular deactivation

also i tried and response is as below

AT+CGDATA=?

+CGDATA&colon; ("PPP")

 

Any sugession by you experties whould be great.

 

Thank's

Sunil Tiwari

0 Kudos
Message 5 of 7
(7,062 Views)

Try connecting and disconnecting using the AT+CGATT=1, AT+CGATT=0 commands described in the pdf, these should generate an IP to indicate if you are connected to the internet.

The IP response from CGACT would seem to indicate that you are connected to a network. I am unsure what your specific http communication commands are given most device manufacturers have their own sets. I might recommend having a quick look around to see if you can find a set relating to your device or contact the manufacturer directly, they are usually pretty happy to give you a copy of their information.

0 Kudos
Message 6 of 7
(7,056 Views)

HI,

Thanks.

I will go by your sugession to check command specific to my device provider, Thanks you so much for all you help and responses.

In my provider doc i came across following, does this means my device will not allow GPRS connection using AT commands

GPRS mobile class descreption in document

“A”                 class A in 3G only mode
"B"                 class B
"CG"              class C in GPRS only mode
"CC"              class C in circuit switched only mod

 

I test following on my devise

AT+CGCLASS=?
+CGCLASS: ("A")
OK
AT+CGCLASS?
+CGCLASS: "A"
OK
AT+CGCLASS="CG"
ERROR

my device show class as "A" which is 3G only, i tried to change it to "CG" but it fails with an ERROR. does this means my device does not support GPRS mode, but explicity i can use internet on my mobile browser. i am bit confused on this. can you please cleary this.

 

Thanks for all you responses.

0 Kudos
Message 7 of 7
(7,030 Views)