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.

Register Log in

GSM modem sim 900 web page content viewing problem

Status
Not open for further replies.

sneha.tm

Newbie level 6
Joined
Jul 15, 2014
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
65
hi al,
Im interfacing SIM 900 GSM Modem to microcontroller and sent GPRS AT commands.Connection is ok.But Im not able to view the webpage content in hyper terminal. I gave the following data after sending AT commands.

Code:
GET /index.html HTTP/1.1
   \r\n
  Host:[url]www.8051projects.net[/url]
   \r\n
   Connection: Keep-Alive"
   \r\n;
  Accept:*/*
  \r\n"
  Accept-Language: en-us
    \r\n
   0x1a
But It shows

Code:
HTTP/1.1 400 Bad Request
Date: Wed, 16 Jul 2014 10:49:26 GMT
Server: Apache/2
Content-Length: 226
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
                                                  <html><head>
                                                              <title>400 Bad Req
uest</title>
            </head><body>
                         <h1>Bad Request</h1>
                                             <p>Your browser sent a request that
 this server could not understand.<br />
                                        </p>
                                            </body></html>
Pls help me.
 
Last edited by a moderator:

kgshankar1980

Full Member level 3
Joined
Jul 2, 2010
Messages
164
Helped
47
Reputation
94
Reaction score
47
Trophy points
1,308
Activity points
2,235
Web page content in hyperteminal??

Use the below AT commands to view the webpage...

1. AT+HTTPINIT
2. AT+HTTPPARA="CID",1
3. AT+HTTPPARA="URL","www.google.com"
4. AT+HTTPACTION=0
5. AT+HTTPREAD
6. AT+HTTPTERM
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top