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.

sim300 modem problem with not receiving data

Status
Not open for further replies.

medievil

Newbie level 2
Joined
Nov 1, 2012
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,297
Hi all,

My intention is to communicate with a web server type: **broken link removed** my modem sim300 open that web site and this is scheduled so that answers a "0" or a "1" simply without any tables, titles, bold, italics ...

First of all I try to open the website google.com using HyperTerminal as follows, but I do not receive anything, I would like to receive the html of the site google.com but he stands:

at [pulse enter]
OK
at+cgatt=1 [pulse enter]
OK
at+cgdcont=1,"IP","tuenti.com" [pulse enter]
OK
at+cdnscfg="0.0.0.0","0.0.0.0" [pulse enter]
OK
at+cstt="tuenti.com","tuenti","tuenti" [pulse enter]
OK
at+ciicr [pulse enter]
OK
at+cifsr [pulse enter]
10.156.147.65
at+cipstatus [pulse enter]
OK

STATE: IP STATUS
at+cdnsorip=1 [pulse enter]
OK
at+cipstart="tcp","www.google.com","80" [pulse enter]
OK

CONNECT OK
at+cipsend
> GET / HTTP/1.1 [pulse Ctrl+Z because if you press enter the cursor returns to "G" to get and does nothing]
SEND OK

After "SEND OK" does nothing I can not get anything to wait minutes not send the html of the google site

thanks
 

try this:
Code:
AT+CIPSHUT
SHUT OK
AT+CGATT=1
OKAT+CGDCONT=1,"IP","mcinet"
OK
AT+CSTT="mcinet",,
OK
AT+CIICR
OK
AT+CIFSR
10.101.83.153
AT+CIPSTATUS
OKSTATE: IP STATUS
AT+CDNSCFG="208.67.222.222","208.67.220.220"
OK
AT+CDNSORIP=1
O
KAT+CIPHEAD=1
OK
AT+CIPSTART="TCP","www.google.com","80"
OKCONNECT OK
AT+CIPSEND
>
GET / HTTP/1.1
Host: www.google.com
Connection: Keep-Alive\nAccept: */*
Accept-Language: en-us

SEND OK

and this will be responsed:
Code:
+IPD1418:HTTP/1.1 200 OKDate: Sat, 01 Dec 2012 10:09:05 GMTExpires: -1Cache-Control: private, max-age=0Content-Type: text/html; charset=ISO-8859-1Set-Cookie: PREF=ID=3d33ca2546820ee0:FF=0:TM=1354356545:LM=1354356545:S=sA-WeOWvZtQLRcU0; expires=Mon, 01-Dec-2014 10:09:05 GMT; path=/; domain=.google.comSet-Cookie: NID=66=Eyfd5DKzoXjggs3CLO4C504opEmXURUj3TSFeF6pZDeiXe3GPNFXyACrWacUE_DQjfndeSeabApopi7PhcXBOLj1urOxmW-tw7sXcnBzcGkwi95NHKvFEGoFeGCICdNz; expires=Sun, 02-Jun-2013 10:09:05 GMT; path=/; domain=.google.com; HttpOnlyP3P: CP="This is not a P3P policy! See http://www.google.com/support/accounts/bin/answer.py?hl=en&answer=151657 for more info."Server: gwsX-XSS-Protection: 1; mode=blockX-Frame-Options: SAMEORIGINTransfer-Encoding: chunked8000<!doctype html><html itemscope="itemscope" itemtype="http://schema.org/WebPage"><head><meta content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for." name="description"><meta content="noodp" name="robots"><meta itemprop="image" content="/images/google_favicon_128.png"><title>Google</title><script>(function(){
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top