Does anyone have a step by step guide to achieve a GPRS attachment with the Q2687 through AT commands in hyperterminal?
I’ve read that AT+CGATT=1 should be used, but it only returns ERROR.
Does anyone have a step by step guide to achieve a GPRS attachment with the Q2687 through AT commands in hyperterminal?
I’ve read that AT+CGATT=1 should be used, but it only returns ERROR.
The AT Commands Interface Guide for Open AT® Firmware v7.1 contains a section titled “Full AT GPRS Commands Examples” - I think there’s a clue in the name, there…!
Hyperterminal is irrelevant - the AT commands are the same irrespective of what you use to send them!
It is necessary, but not sufficient.
For more detailed error reporting, use AT+CMEE = 1
I have follwed example 2 in the manual, and results were as follows:
AT+CGCLASS="CG"
OK
AT+CGDCONT=1,"IP","INTERNET"
OK
AT+CGQREQ=1,1,4,5,2,14
OK
AT+CGQMIN=1,1,4,5,2,14
OK
AT+CGATT=1
+CME ERROR: 148
+CGREG: 2
+CGREG: 0
AT+CGACT=1,1
+CME ERROR: 3
I have also tried running the “Ping_GPRS” sample project with no success:
at+gset=1,"trial.globalm2m.net"
OK
at+gset?
+GSET: 1,"trial.globalm2m.net","","","",0,0
+GSET: 2,"","","","",0,0
+GSET: 3,"","","","",0,0
+GSET: 4,"","","","",0,0
OK
at+wdata=3,"xx.xx.xxx.xxx",1,400,100,10
Context activation error
+CME ERROR: 3
Does anyone have any insight into what I am missing?
Obviously, you have to adjust the examples to match the specific settings & options required by your particular service provider
Look-up AT+CGDCONT in the AT Commands Interface Guide and check the meanings of the parameters…