GSM connection to the Web via the GPRS

Hello all,

I am using the ICOMSAT GSM in the link below to send data to my web server

I am using the following code to send data to my internet server.

First I connect to the GSM Network everytime I need to send a data to the sever

see the code below:

===========================================
Serial.println("GSM Shield testing.");

if (gsm.begin(2400)){

Serial.println("\nstatus=READY");

started=true;

}

else Serial.println("\nstatus=IDLE");

Then secondly I connect to the GPRS with the code below.

==================================================

if(started){

if (inet.attachGPRS("internet.wind", "", ""))

Serial.println("status=ATTACHED");

else Serial.println("status=ERROR");

delay(1000);

===================================================
Then I send the data with the code below

numdata=inet.httpPOST("www.evildeejay.it", 80, "/test/test.php", "name=Marco&age=24",msg, 50);

==========================================

Is there anyway to connect myself to the GSM and GPRS and stay connected and just send data?

As the 3 steps mentioned above take long time for every data to be sent to the server.

Many Thanks for your help.

Christian

Is there anyway to connect myself to the GSM and GPRS and stay connected and just send data?

Typically, no. A connection exists for only as long as needed to send data and get the response.

What does this have to do with Robotics?

I want the robot to send back its position everytime it moves, to control its position remotely.

Thank you enormously for your feed back.

Kind Regards,

Cserge