Seeeduino GPRS APN

Arduino, Seeeduino Serials and mutants. Share your problems and experence on arduino compatible board such as seeeduino/stalker, etc.

Moderator: violet

Post Reply
remzi.demen
Pre-kindergarten
Pre-kindergarten
Posts: 3
Joined: Mon Apr 06, 2015 8:36 pm

Seeeduino GPRS APN

Post by remzi.demen » Sun Apr 12, 2015 6:29 pm

Hi,

I have a Seeeduino GPRS and would like to establish a TCP connection. I get the following error with Seeeduino GPRS_ConnectTCP example code.

GPRS - TCP Connection Test...
Init success, start to upload data...
ERROR:CIPSTART
connect TCP error
loop

I think this could has to do with the APN my provider, which must be set before the internet connection. I tried to set the APN with AT+CSTT in GPRS::connectTCP in gprs.cpp with no success. On wiki there is no info, can somebody help how to this?

Thanks.

cargua
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Sat Apr 18, 2015 7:25 am

Re: Seeeduino GPRS APN

Post by cargua » Sat Apr 18, 2015 7:36 am

Try using the example sketch from Seeduino_GPRS_Master, named SIM800_Serial_Debug example.
Then you could use AT commands directly and get response from Seeduino GPRS.

This will help you to test a lot of parameters from your Seeduino GPRS and your Sim Card.

To check your APN you could type:

AT+CSTT?

Then, if that APN is not the rigth one you can change it by:

AT+CSTT="myAPN"

If you still having problems maybe is because you need to put more parameters, if you type the at command follow by "=?" it will show you the values that the order could have.

I hope this would help you.

remzi.demen
Pre-kindergarten
Pre-kindergarten
Posts: 3
Joined: Mon Apr 06, 2015 8:36 pm

Re: Seeeduino GPRS APN

Post by remzi.demen » Tue May 05, 2015 3:42 am

Thank you for the infos.

I couldn't get the board with the Seeeduino GPRS library but it works with AT commands. I implemented also the connection manually without the library.

I can set the APN as following without problems:
GPRS.println("AT+CSTT=\"APN\"");

My problem now is that the SIM800H is automatically powering on after 30 seconds later I close the connection. But I will open a new topic with details.

User avatar
Jacket Chen
Staff
Staff
Posts: 659
Joined: Thu Jun 21, 2012 4:25 pm
Are you a staff member of seeedstudio?: yes
Which products/projects are your favorite?: Seeeduino Shields
Location: China

Re: Seeeduino GPRS APN

Post by Jacket Chen » Thu May 07, 2015 3:20 pm

cargua wrote:Try using the example sketch from Seeduino_GPRS_Master, named SIM800_Serial_Debug example.
Then you could use AT commands directly and get response from Seeduino GPRS.

This will help you to test a lot of parameters from your Seeduino GPRS and your Sim Card.

To check your APN you could type:

AT+CSTT?

Then, if that APN is not the rigth one you can change it by:

AT+CSTT="myAPN"

If you still having problems maybe is because you need to put more parameters, if you type the at command follow by "=?" it will show you the values that the order could have.

I hope this would help you.
Hi , could you save this setting successfully after cut down the power? I knew news from others that the setting can't be stored. Could you?

Jacket
Love little, love long.

Post Reply