SIM900 - HTTP / extreme data ratio
hello,
i tested transmit data serve http. tested 4 hours maybe , posted request. data traffic sim card time 300 mb!
i sent body content "xxxxxxx,dd.dddddd,x,d.ddddddd" , response "xdd,d.dx". know header data weight, extreme data traffic small data.
is problem sapr or inithttp? call commands (down) in loop every 30-60s.
thanks help. use module http://www.geeetech.com/wiki/index.php/arduino_gprs_shield
i tested transmit data serve http. tested 4 hours maybe , posted request. data traffic sim card time 300 mb!
i sent body content "xxxxxxx,dd.dddddd,x,d.ddddddd" , response "xdd,d.dx". know header data weight, extreme data traffic small data.
is problem sapr or inithttp? call commands (down) in loop every 30-60s.
code: [select]
//simply code without delay , reading buffer
gprs_com.println("at+cgatt?");
gprs_com.println("at+sapbr=3,1,\"contype\",\"gprs\"");
gprs_com.println("at+sapbr=3,1,\"apn\",\"internet.t-mobile.cz\"");
gprs_com.println("at+sapbr=1,1");
gprs_com.println("at+httpinit");
gprs_com.println("at+httppara=\"url\",\""+string(device_api)+"/incominghandler.ashx?data=" + data + "\"");
gprs_com.println("at+httpaction=0");
gprs_com.println("at+httpread");
gprs_com.println("at+httpterm");
gprs_com.println("at+sapbr=0,1");
thanks help. use module http://www.geeetech.com/wiki/index.php/arduino_gprs_shield
you need check see if 1 data byte being sent in each data packet. might happening using "print" function.
Arduino Forum > Using Arduino > Networking, Protocols, and Devices (Moderator: fabioc84) > SIM900 - HTTP / extreme data ratio
arduino
Comments
Post a Comment