Hello,
i have send one Point to nimbits but a second data Point wouldn´t be send.
The error code was CME 221 httb is busy.
How han i Interrupt an http Transmission?
void http_put() {
GPRS.print("AT+CHTTPACT=\""); //Verbindung mit HTTP server
GPRS.print(server);
GPRS.print("\",");
GPRS.println(port);
GPRS.flush();
x=0;
do{
while(GPRS.available()==0);
data[x]=GPRS.read();
x++;
}
while(!(data[x-1]=='T'&&data[x-2]=='S')); //warten auf Response "REQUEST"
String s = " ";
int b = 0;
s = String(gewicht2,DEC);
GPRS.println("Post /service/currentvalue?value=" + s + "&point=Gewicht_Volk_1&email=XX@googlemail.com&format=double&secret=1234 HTTP/1.1");
GPRS.println("Host:nimbits-02.appspot.com"); //here is your app engine url - app id with appspot.com
GPRS.println("Accept-Language:en-us,en;q=0.5");
GPRS.println("Accept-Encoding:gzip,deflate");
GPRS.println("Connection:close");
GPRS.println("Cache-Control:max-age=0");
GPRS.println();
GPRS.write(0x1A);
GPRS.write(0x0D);
GPRS.write(0x0A);
void http_put() {
GPRS.print("AT+CHTTPACT=\""); //Verbindung mit HTTP server
GPRS.print(server);
GPRS.print("\",");
GPRS.println(port);
GPRS.flush();
x=0;
do{
while(GPRS.available()==0);
data[x]=GPRS.read();
x++;
}
while(!(data[x-1]=='T'&&data[x-2]=='S')); //warten auf Response "REQUEST"
String s = " ";
int b = 0;
s = String(gewicht3,DEC);
GPRS.println("Post /service/currentvalue?value=" + s + "&point=Gewicht_Volk_2&email=XX@googlemail.com&format=double&secret=1234 HTTP/1.1");
GPRS.println("Host:nimbits-02.appspot.com"); //here is your app engine url - app id with appspot.com
GPRS.println("Accept-Language:en-us,en;q=0.5");
GPRS.println("Accept-Encoding:gzip,deflate");
GPRS.println("Connection:close");
GPRS.println("Cache-Control:max-age=0");
GPRS.println();
GPRS.write(0x1A);
GPRS.write(0x0D);
GPRS.write(0x0A);
I have this ITEAD 3G shield and have had it working for a few months, just within the last few days it has decided to fail to connect to the network. I cant seem to get any connection, the board is still responsive with AT commands, just cant send receive texts, calls or try to set up emails.