Forum >GPS/GPRS/GSM Shield
GPS/GPRS/GSM Shield

Im testing my Shield since a few weeks ago and i found problems trying to make a conection http to my page's project with GET.
Firstly i used the code provided on the github for the Arduino (https://github.com/DFRobot/GPS-GPRS-GSM ... RS_GPS.ino), and works for calling and SMS but not to make a conection to my site and i didnt see the error.
So i used the terminal and entered step by step AT commands and the error was not clear for me.
Then i used module tester (http://m2msupport.net/m2msupport/module-tester/), and i received different errors. The first one and the most common to me was an error opening the bearer profiles (AT+SAPBR=1,1). The second one it get ok with the bearer profile and pass to query and gives an IP but on the AT+HTTPINIT get error, and i also tried the calling and SMS and it works perfectly.
The first is the most recurrent.
Im using an Arduino UNO with AC/DC adapter +12V and 1.0A, and obviously the shield on the arduino.
I upload, also, the log received on my last teste with this issues.
Firstly i used the code provided on the github for the Arduino (https://github.com/DFRobot/GPS-GPRS-GSM ... RS_GPS.ino), and works for calling and SMS but not to make a conection to my site and i didnt see the error.
So i used the terminal and entered step by step AT commands and the error was not clear for me.
Then i used module tester (http://m2msupport.net/m2msupport/module-tester/), and i received different errors. The first one and the most common to me was an error opening the bearer profiles (AT+SAPBR=1,1). The second one it get ok with the bearer profile and pass to query and gives an IP but on the AT+HTTPINIT get error, and i also tried the calling and SMS and it works perfectly.
The first is the most recurrent.
Im using an Arduino UNO with AC/DC adapter +12V and 1.0A, and obviously the shield on the arduino.
I upload, also, the log received on my last teste with this issues.
Code: Select all
Found ports :COM6
No port is connected.
RDY
Sending AT query..
AT
OK
Successful response for AT query..
+CFUN: 1
+CPIN: READY
AT+CGMM
SIMCOM_SIM908
OK
Model Number : SIMCOM_SIM908
AT+CGMI
SIMCOM_Ltd
OK
Manufacturer : SIMCOM_Ltd
GPS Ready
Call Ready
Getting Bearer profiles..
AT+SAPBR=4,1
+SAPBR:
CONTYPE: GPRS
APN:
PHONENUM:
USER:
PWD:
RATE: 2
OK
AT+SAPBR=4,2
+SAPBR:
CONTYPE: GPRS
APN:
PHONENUM:
USER:
PWD:
RATE: 2
OK
AT+SAPBR=4,3
+SAPBR:
CONTYPE: GPRS
APN:
PHONENUM:
USER:
PWD:
RATE: 2
OK
Opening bearer 1 .
AT+SAPBR=1,1
OK
AT+SAPBR=3,1,"APN","internet.movistar.com.dfrobot"
OK
APN of CID 1 updated
AT+SAPBR=3,1,"USER","movistar"
OK
User name of CID 1 updated
AT+SAPBR=3,1,"PWD","movistar"
OK
Passwd of CID 1 updated
AT+SAPBR=3,1,"PHONENUM","+573163218053"
OK
Phone number of CID 1 updated
AT+SAPBR=4,1
+SAPBR:
CONTYPE: GPRS
APN: internet.movistar.com.dfrobot
PHONENUM: +573163218053
USER: movistar
PWD: movistar
RATE: 2
OK
AT+SAPBR=4,2
+SAPBR:
CONTYPE: GPRS
APN:
PHONENUM:
USER:
PWD:
RATE: 2
OK
AT+SAPBR=4,3
+SAPBR:
CONTYPE: GPRS
APN:
PHONENUM:
USER:
PWD:
RATE: 2
OK
Opening bearer 1 .
AT+SAPBR=1,1
ERROR
Error opening bearer profile.
AT+SAPBR=3,1
ERROR
+SAPBR 1: DEACT
Querying bearer 1 .
AT+SAPBR=2,1
+SAPBR: 1,3,"0.0.0.0"
OK
Bearer 1 is Closed
AT+SAPBR=3,1,"APN",""
OK
APN of CID 1 updated
AT+SAPBR=3,1,"USER",""
OK
User name of CID 1 updated
AT+SAPBR=3,1,"PWD",""
OK
Passwd of CID 1 updated
AT+SAPBR=3,1,"PHONENUM",""
OK
Phone number of CID 1 updated
AT+SAPBR=4,1
+SAPBR:
CONTYPE: GPRS
APN:
PHONENUM:
USER:
PWD:
RATE: 2
OK
AT+SAPBR=4,2
+SAPBR:
CONTYPE: GPRS
APN:
PHONENUM:
USER:
PWD:
RATE: 2
OK
AT+SAPBR=4,3
+SAPBR:
CONTYPE: GPRS
APN:
PHONENUM:
USER:
PWD:
RATE: 2
OK
Opening bearer 1 .
AT+SAPBR=1,1
OK
AT+SAPBR=3,3,"APN","internet.movistar.com.dfrobot"
OK
APN of CID 3 updated
AT+SAPBR=3,3,"USER","movistar"
OK
User name of CID 3 updated
AT+SAPBR=3,3,"PWD","movistar"
OK
Passwd of CID 3 updated
AT+SAPBR=4,1
+SAPBR:
CONTYPE: GPRS
APN:
PHONENUM:
USER:
PWD:
RATE: 2
OK
AT+SAPBR=4,2
+SAPBR:
CONTYPE: GPRS
APN:
PHONENUM:
USER:
PWD:
RATE: 2
OK
AT+SAPBR=4,3
+SAPBR:
CONTYPE: GPRS
APN: internet.movistar.com.dfrobot
PHONENUM:
USER: movistar
PWD: movistar
RATE: 2
OK
Opening bearer 3 .
AT+SAPBR=1,3
ERROR
Error opening bearer profile.
Querying bearer 3 .
AT+SAPBR=2,3
+SAPBR: 3,3,"0.0.0.0"
OK
Bearer 3 is Closed
Opening bearer 3 .
AT+SAPBR=1,3
ERROR
Error opening bearer profile.
AT+CSQ
+CSQ: 17,0
OK
+SAPBR 1: DEACT
POST data cannot be empty
AT+SAPBR=3,3,"RATE",""
OK
Rate of CID 3 updated
AT+SAPBR=4,1
+SAPBR:
CONTYPE: GPRS
APN:
PHONENUM:
USER:
PWD:
RATE: 2
OK
AT+SAPBR=4,2
+SAPBR:
CONTYPE: GPRS
APN:
PHONENUM:
USER:
PWD:
RATE: 2
OK
AT+SAPBR=4,3
+SAPBR:
CONTYPE: GPRS
APN: internet.movistar.com.dfrobot
PHONENUM:
USER: movistar
PWD: movistar
RATE: 0
OK
Checking registration status...
AT+CREG?
+CREG: 0,1
OK
The device is registered in home network.
Querying bearer 3 .
AT+SAPBR=2,3
+SAPBR: 3,3,"0.0.0.0"
OK
Bearer 3 is Closed
Bearer 3 is Closed.
Opening Bearer 3...
AT+SAPBR=1,3
ERROR
Error opening bearer profile.
Initializing HTTP service...
AT+HTTPINIT
OK
Setting up HTTP parameters..
AT+HTTPPARA="URL","http://www.m2msupport.net/m2msupport/http_get_test.php"
OK
AT+HTTPPARA="CID",3
OK
AT+HTTPACTION=0
OK
Error getting HTTP data: Error code - 0
Checking registration status...
AT+CREG?
+CREG: 0,1
OK
The device is registered in home network.
Querying bearer 1 .
AT+SAPBR=2,1
+SAPBR: 1,3,"0.0.0.0"
OK
Bearer 1 is Closed
Bearer 1 is Closed.
Opening Bearer 1...
AT+SAPBR=1,1
Initializing HTTP service...
OK
Setting up HTTP parameters..
AT+HTTPPARA="URL","http://www.m2msupport.net/m2msupport/http_get_test.php"
OK
AT+HTTPPARA="CID",1
OK
AT+HTTPACTION=0
OK
Error getting HTTP data: Error code - 0
+SAPBR 1: DEACT
Checking registration status...
AT+CREG?
+CREG: 0,1
OK
The device is registered in home network.
Querying bearer 1 .
AT+SAPBR=2,1
+SAPBR: 1,3,"0.0.0.0"
OK
Bearer 1 is Closed
Bearer 1 is Closed.
Opening Bearer 1...
AT+SAPBR=1,1
Initializing HTTP service...
OK
AT+HTTPINIT
ERROR
Error initializing HTTP service.
Setting up HTTP parameters..
AT+HTTPPARA="URL","http://proyectobuses.com/index.php?lat=5&lng=10&t=10"
OK
AT+HTTPPARA="CID",1
OK
AT+HTTPACTION=0
OK
Error getting HTTP data: Error code - 0
Checking registration status...
AT+CREG?
+CREG: 0,1
OK
The device is registered in home network.
Querying bearer 1 .
AT+SAPBR=2,1
+SAPBR: 1,1,"10.68.31.133"
OK
Bearer 1 is Connected.IP address is "10.68.31.133"
Bearer 1 is Connected.
Initializing HTTP service...
AT+HTTPINIT
ERROR
Error initializing HTTP service.
Setting up HTTP parameters..
AT+HTTPPARA="URL","http://proyectobuses.com/index.php?lat=5&lng=10&t=10"
OK
AT+HTTPPARA="CID",1
OK
AT+HTTPACTION=0
OK
Error getting HTTP data: Error code - 0
Checking registration status...
AT+CREG?
+CREG: 0,1
OK
The device is registered in home network.
Querying bearer 3 .
AT+SAPBR=2,3
+SAPBR: 3,3,"0.0.0.0"
OK
Bearer 3 is Closed
Bearer 3 is Closed.
Opening Bearer 3...
AT+SAPBR=1,3
ERROR
Error opening bearer profile.
Initializing HTTP service...
AT+HTTPINIT
ERROR
Error initializing HTTP service.
Setting up HTTP parameters..
AT+HTTPPARA="URL","http://www.m2msupport.net/m2msupport/http_get_test.php"
OK
AT+HTTPPARA="CID",3
OK
AT+HTTPACTION=0
OK
Error getting HTTP data: Error code - 0
Checking registration status...
AT+CREG?
+CREG: 0,1
OK
The device is registered in home network.
Querying bearer 1 .
AT+SAPBR=2,1
+SAPBR: 1,1,"10.68.31.133"
OK
Bearer 1 is Connected.IP address is "10.68.31.133"
Bearer 1 is Connected.
Initializing HTTP service...
AT+HTTPINIT
ERROR
Error initializing HTTP service.
Setting up HTTP parameters..
AT+HTTPPARA="URL","http://www.m2msupport.net/m2msupport/http_get_test.php"
OK
AT+HTTPPARA="CID",1
OK
AT+HTTPACTION=0
OK
Error getting HTTP data: Error code - 0
Checking registration status...
AT+CREG?
+CREG: 0,1
OK
The device is registered in home network.
Querying bearer 2 .
AT+SAPBR=2,2
+SAPBR: 2,3,"0.0.0.0"
OK
Bearer 2 is Closed
Bearer 2 is Closed.
Opening Bearer 2...
AT+SAPBR=1,2
OK
Initializing HTTP service...
AT+HTTPINIT
ERROR
Error initializing HTTP service.
Setting up HTTP parameters..
AT+HTTPPARA="URL","http://www.m2msupport.net/m2msupport/http_get_test.php"
OK
AT+HTTPPARA="CID",2
OK
AT+HTTPACTION=0
OK
Error getting HTTP data: Error code - 0
Checking registration status...
AT+CREG?
+CREG: 0,1
OK
The device is registered in home network.
Querying bearer 3 .
AT+SAPBR=2,3
+SAPBR: 3,3,"0.0.0.0"
OK
Bearer 3 is Closed
Bearer 3 is Closed.
Opening Bearer 3...
AT+SAPBR=1,3
ERROR
Error opening bearer profile.
Initializing HTTP service...
AT+HTTPINIT
ERROR
Error initializing HTTP service.
Setting up HTTP parameters..
AT+HTTPPARA="URL","http://www.m2msupport.net/m2msupport/http_get_test.php"
OK
AT+HTTPPARA="CID",3
OK
AT+HTTPACTION=0
OK
Error getting HTTP data: Error code - 0
Checking registration status...
AT+CREG?
+CREG: 0,1
OK
The device is registered in home network.
Querying bearer 1 .
AT+SAPBR=2,1
+SAPBR: 1,1,"10.68.31.133"
OK
Bearer 1 is Connected.IP address is "10.68.31.133"
Bearer 1 is Connected.
Initializing HTTP service...
AT+HTTPINIT
ERROR
Error initializing HTTP service.
Setting up HTTP parameters..
AT+HTTPPARA="URL","http://www.m2msupport.net/m2msupport/http_get_test.php"
OK
AT+HTTPPARA="CID",1
OK
AT+HTTPACTION=0
OK
Error getting HTTP data: Error code - 0
+SAPBR 1: DEACT
+SAPBR 2: DEACT
Checking registration status...
AT+CREG?
+CREG: 0,1
OK
The device is registered in home network.
Querying bearer 3 .
AT+SAPBR=2,3
+SAPBR: 3,3,"0.0.0.0"
OK
Bearer 3 is Closed
Bearer 3 is Closed.
Opening Bearer 3...
AT+SAPBR=1,3
ERROR
Error opening bearer profile.
Initializing HTTP service...
AT+HTTPINIT
ERROR
Error initializing HTTP service.
Setting up HTTP parameters..
AT+HTTPPARA="URL","http://www.m2msupport.net/m2msupport/http_get_test.php"
OK
AT+HTTPPARA="CID",3
OK
AT+HTTPACTION=0
OK
Error getting HTTP data: Error code - 0
Checking registration status...
AT+CREG?
+CREG: 0,1
OK
The device is registered in home network.
Querying bearer 3 .
AT+SAPBR=2,3
+SAPBR: 3,3,"0.0.0.0"
OK
Bearer 3 is Closed
Bearer 3 is Closed.
Opening Bearer 3...
AT+SAPBR=1,3
ERROR
Error opening bearer profile.
Initializing HTTP service...
AT+HTTPINIT
ERROR
Error initializing HTTP service.
Setting up HTTP parameters..
AT+HTTPPARA="URL","http://www.m2msupport.net/m2msupport/http_get_test.php"
OK
AT+HTTPPARA="CID",3
OK
AT+HTTPACTION=0
OK
Error getting HTTP data: Error code - 0
Checking registration status...
AT+CREG?
+CREG: 0,1
OK
The device is registered in home network.
Querying bearer 1 .
AT+SAPBR=2,1
+SAPBR: 1,3,"0.0.0.0"
OK
Bearer 1 is Closed
Bearer 1 is Closed.
Opening Bearer 1...
AT+SAPBR=1,1
Initializing HTTP service...
OK
AT+HTTPINIT
ERROR
Error initializing HTTP service.
Setting up HTTP parameters..
AT+HTTPPARA="URL","http://www.m2msupport.net/m2msupport/http_get_test.php"
OK
AT+HTTPPARA="CID",1
OK
AT+HTTPACTION=0
OK
Error getting HTTP data: Error code - 0
Opening bearer 3 .
AT+SAPBR=1,3
ERROR
Error opening bearer profile.
AT+SAPBR=1,1
ERROR
+SAPBR 1: DEACT
AT+SAPBR=3,1,"APN","internet.movistar.com.dfrobot
ERROR
AT+SAPBR=3,1,"APN","internet.movistar.com.dfrobot"
OK
AT+SAPBR=3,1,"USER","movistar"
OK
AT+SAPBR=3,1,"PWD","movistar"
OK
AT+SAPBR=3,1,"Contype","GPRS"
OK
AT+SAPBR=1,1
ERROR
Opening bearer 3 .
AT+SAPBR=1,3
ERROR
Error opening bearer profile.
AT+SAPBR=2,1
+SAPBR: 1,3,"0.0.0.0"
OK
AT+SAPBR=1,1
ERROR
AT+SAPBR=1,1
ERROR
Getting Bearer profiles..
AT+SAPBR=4,1
+SAPBR:
CONTYPE: GPRS
APN: internet.movistar.com.dfrobot
PHONENUM:
USER: movistar
PWD: movistar
RATE: 2
OK
AT+SAPBR=4,2
+SAPBR:
CONTYPE: GPRS
APN:
PHONENUM:
USER:
PWD:
RATE: 2
OK
AT+SAPBR=4,3
+SAPBR:
CONTYPE: GPRS
APN: internet.movistar.com.dfrobot
PHONENUM:
USER: movistar
PWD: movistar
RATE: 0
OK
AT+SAPBR=3,1,"RATE",""
OK
Rate of CID 1 updated
AT+SAPBR=4,1
+SAPBR:
CONTYPE: GPRS
APN: internet.movistar.com.dfrobot
PHONENUM:
USER: movistar
PWD: movistar
RATE: 0
OK
AT+SAPBR=4,2
+SAPBR:
CONTYPE: GPRS
APN:
PHONENUM:
USER:
PWD:
RATE: 2
OK
AT+SAPBR=4,3
+SAPBR:
CONTYPE: GPRS
APN: internet.movistar.com.dfrobot
PHONENUM:
USER: movistar
PWD: movistar
RATE: 0
OK
AT+SAPBR=1,1
ERROR
2016-04-13 22:17:34 Hi chi1consulting,
Welcome.
Sorry, is your question related to GPS/GPRS/GSM Shield?
What's the product you mean which has the introduction, "in the introduction it said 30 second recharging time to power arduino if two are wired in a series." ?
Leff
Welcome.
Sorry, is your question related to GPS/GPRS/GSM Shield?
What's the product you mean which has the introduction, "in the introduction it said 30 second recharging time to power arduino if two are wired in a series." ?

2016-04-13 17:59:24 when i used the 100F/2.7V supercapacitor i applied 2.5v to a single super capacitor and in 30 seconds it only charged .7v but in the introduction it said 30 second recharging time to power arduino if two are wired in a series. Would i need to wire two in a series to get those results?
chi1consulting

2016-02-26 22:39:34 Hey Math,
Good job!
Leff
Good job!

Maht wrote:glad its working alvarofelipe12, we will take note of the sim incompatibility for this product. thanks for letting us know.

2016-02-26 18:21:21 glad its working alvarofelipe12, we will take note of the sim incompatibility for this product. thanks for letting us know.
Maht

2016-02-26 07:25:45 Finally i can work. Movistar's Colombia sim dont work on this shield i cant find why but it dont work. Now im using Claro sim card and works! Have a nice day.
alvarofelipe12

2016-02-15 21:45:20
Sure. It's that one.
alvarofelipe12
Maht wrote:hello, thanks for the post. can you confirm that you are using this shield? TEL0051
https://www.dfrobot.com/index.php?route= ... r_yCFlHb2k
I can then pass this on to tech support
Sure. It's that one.

2016-02-14 19:20:54 hello, thanks for the post. can you confirm that you are using this shield? TEL0051
https://www.dfrobot.com/index.php?route= ... r_yCFlHb2k
I can then pass this on to tech support
Maht
https://www.dfrobot.com/index.php?route= ... r_yCFlHb2k
I can then pass this on to tech support
