Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Connect ok some html data then closed ???

Status
Not open for further replies.

izwirlee_35

Member level 1
Joined
Sep 20, 2010
Messages
33
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,288
Activity points
1,454
SIM900 GPRS Connect ok some html data then closed ???

Hi everyone
here are the commads that I use and the Problem 8-O

Code:
AT+CGATT=1
OK
AT+CGDCONT=1,"IP","internet"
OK
AT+CSTT="internet"
OK
AT+CIICR
OK
AT+CIFSR
188.XXX.XXX.XXX
AT+CIPSTATUS
OK
STATE:IP STATUS 
AT+CIPSTART="TCP","www.google.com","80"
OK

CONNECT OK

AT+CIPSEND
> GET [url=https://www.google.com.tr]Google[/url]
Connection:Keep-Alive

SEND OK 
HTTP/1.0 200 OK
Date: Tue, 05 Oct 2010 08:27:13 GMT
Expires: -1
Cache-Control: private, max-age=0
Content-Type: text/html; charset=ISO-8859-9
Set-Cookie: PREF=ID=758317c3110195c1:TM=1286267233:LM=1286267233:S=xFHrfgPfwy1ZL
kz9; expires=Thu, 04-Oct-2012 08:27:13 GMT; path=/; domain=.google.com.tr
Set-Cookie: NID=39=l3v8OBWCR3UVQ4cDFr8vnCBpw0tyAm0g8pREyw1_-8MBdeUGsTo6mrzRIsyxr
6_wY_cDal9K5I305j-aghmf79dfUpBjAACoAS6zenAWNd7MTZww-vrCpP5WRTPn1dXz; expires=Wed
, 06-Apr-2011 08:27:13 GMT; path=/; domain=.google.com.tr; HttpOnly
Server: gws
X-XSS-Protection: 1; mode=block

<!doctype html><html><head><meta http-equiv="content-type" content="text/html; c
harset=ISO-8859-9"><title>Google</title><script>window.google={kEI:"YeGqTOvpOpGU
jAft2KXGBw",kEXPI:"26614,26885,27006",kCSI:{e:"26614,26885,27006",ei:"YeGqTOvpOp
GUjAft2KXGBw",expi:"26614,26885,27006"},ml:function(){},kHL:"tr",time:function()
{return(new Date).getTime()},log:function(b,d,c){var a=new Image,e=google,g=e.lc
,f=e.li;a.onerror=(a.onload=(a.onabort=function(){delete g[f]}));g[f]=a;c=c||"/g
en_204?atyp=i&ct="+b+"&cad="+d+"&zx="+google.time();a.src=c;e.li=f+1},lc:[],li:0
,Toolbelt:{}};
              window.google.sn="webhp";window.google.timers={load:{t:{start:(new
 Date).getTime()}}};try{}catch(u){}window.google.jsrt_kill=1;
                                                             var _gjwl=location;
function _gjuc(){var e=_gjwl.href.indexOf("#");if(e>=0){var a=_gjwl.href.substri
ng(e);if(a.indexOf("&q=")>0||a.indexOf("#q=")>=0){a=a.substring(1);if(a.indexOf(
"#")==-1){for(var c=0;c<a.length;){var d=c;if(a.charAt(d)=="&")++d;var b=a.index
Of("&",d);if(b==-1)b=a.length;var f=a.substring(d,b);if(f.indexOf("fp=")==0){a=a
.substring(0,c)+a.substring(b,a.length);b=c}else if(f=="cad=h")return 0;c=b}_gjw
l.href="/search?"+a+"&cad=h";return 1}}}return 0}function _gjp(){!(window._gjwl.
hash&&
      window._gjuc())&&setTimeout(_gjp,500)};
                                             window._gjp && _gjp()</script><styl
e id=gstyle>body{margin:0}#gog{padding:3px 8px
CLOSED
0}td{line-height:.8em}.gac_m td{line-height:17px}form{margin-bottom:20px}body,td
,a,p,.h{font-family:arial,sans-serif}.h{color:#36c;font-size:20px}.q{color:#00c}
.ts td{padding:0}.ts{border-collapse:collapse}em{font-weight:bold;font-style:nor
mal}.lst{width:496px}.tiah{width:458px}input{font-family:inherit}a.gb1,a.gb2,a.g
b3,a.gb4{color:#11c !important}#gog{background:#fff}#gbar,#guser{font-size:13px;
padding-top:1px !important}#gbar{float:left;height:22px}#guser{padding-bottom:7p
x !important;text-align:right}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1
px}.gbh{height:0;position:absolute;top:24px;width:100%}#gbs,.gbm{background:#fff
;left:0;position:absolute;text-align:left;visibility:hidden;z-index:1000}.gbm{bo
rder:1px solid;border-color:#c9d7f1 #36c #36c #a2bae7;z-index:1001}.gb1{margin-r
ight:.5em}.gb1,.gb3{zoom:1}.gb2{display:block;padding:.2em .5em}.gb2,.gb3{text-d
ecoration:



this suddenly closed in you will see CLOSED in html I konw that Packet of recieve at once 1024 byte is it true that is why I got CLOSED if that is the reason how can I solve this problem ?

thanks in advence
 
Last edited:

Re: SIM900 GPRS Connect ok some html data then closed ???

is there any help ? ? ?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top