Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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 getting no response from server after SEND OK

Status
Not open for further replies.

dpmjoshi

Newbie level 3
Joined
May 6, 2011
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,305
hi ,
i ve made the gprs connection using SIM300 but not getting any response from server, i want to open google home page on hyperterminal.
i ve used following commands:

AT+CGATT=1
OK
AT+CIPMODE=0
OK
AT+CGDCONT=1,"IP","aircelwap"
OK
AT+CSTT="aircelwap"
OK
AT+CIICR
OK
AT+CIFSR
10.182.152.119
AT+CDNSORIP=1
OK
AT+CIPHEAD=1
OK
AT+CDNSCFG="202.148.202.3","202.148.202.4"
OK
AT+CIPSTART="TCP","www.google.com",80
OK

CONNECT OK
AT+CIPSEND
ccept-Language: en-usxt/html /1.1
SEND OK

CLOSED

i think i am having problem while sending the http request , the problem is with <CR> <LF> .
please tell me if any have any sort of solution to it.
 

dpmjoshi

Newbie level 3
Joined
May 6, 2011
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,305
i ve already read that threat.
i have tried all the things written over there ,
but still not getting any response from server,
after SEND OK
10 min no response
and then CLOSED appears on my screen ,
i know that it is time out ,
but in between i should at least get error or some header from google .
 

horace1

Advanced Member level 5
Joined
Nov 18, 2008
Messages
2,123
Helped
596
Reputation
1,188
Reaction score
573
Trophy points
1,393
Location
Norwich, UK
Activity points
13,071
have you check signal quality with AT+CSQ? can you send a SMS text message?
 

ckshivaram

Advanced Member level 5
Joined
Apr 21, 2008
Messages
5,070
Helped
2,149
Reputation
4,304
Reaction score
2,089
Trophy points
1,393
Location
villingen (Germany) / Bangalore
Activity points
30,097
hi ,
i ve made the gprs connection using SIM300 but not getting any response from server, i want to open google home page on hyperterminal.

you cannot open a webpage on hyperterminal..... it does not support http forrmat...
it gives some special characters which you need to save as .htm file and open it in explorer
 

dpmjoshi

Newbie level 3
Joined
May 6, 2011
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,305
have you check signal quality with AT+CSQ? can you send a SMS text message?

no i have not checked it , but it is around 14 -19 but i am able to send the SMS.
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
48,168
Helped
14,196
Reputation
28,651
Reaction score
12,887
Trophy points
1,393
Location
Bochum, Germany
Activity points
279,103
you cannot open a webpage on hyperterminal..... it does not support http forrmat...
it gives some special characters which you need to save as .htm file and open it in explorer
It's actually an ASCII based protocol, so it could be (in principle) send in Hyperterminal, at least for test.

But I can't recognize a valid HTTP command in your test. The CIPSEND text should start with GET.
 

horace1

Advanced Member level 5
Joined
Nov 18, 2008
Messages
2,123
Helped
596
Reputation
1,188
Reaction score
573
Trophy points
1,393
Location
Norwich, UK
Activity points
13,071
using a WISMO228 if initialise the modem and the TCP/IP stack and then send
Code:
at+wipcreate=2,1,"www.google.com",80
at+wipdata=2,1,2
GET x
I receive
Code:
'<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">'
'quested URL could not be retrieved</title>'

etc etc
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top