Hello all,
I am using the ICOMSAT GSM in the link below to send data to my web server
http://imall.iteadstudio.com/im120417009.html
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