CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PIC18f97j60 reading data from webpage will pay $

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
mazen82



Joined: 10 Sep 2009
Posts: 22

View user's profile Send private message

PIC18f97j60 reading data from webpage will pay $
PostPosted: Thu Oct 01, 2009 8:49 am     Reply with quote

Hi,

I am using the tcp/ip stack from CCS on a PicDem.net 2 demo board. I was able to config the board in a network comprised of a modem, a switch, a PC, and the pic pcb. I can use the web browser to see data sent from the pic pcb. I am trying to read a webpage from the modem.

The http command I want to use is: http://192.168.0.1/cgi/getsignalstrength.bin

The output of that is:
[Header] ResultCode=0 Version=3 [DATA] SignalStrength=15 LowerLimit=0 UpperLimit=99 NetworkSatLongitude=0 NetworkSatFrequency=0 NetworkSatHemisphere=0 CurrentLockMode=0 LCDMode=0 ACPResult=1 IRUState=3 ITUState=6 Flags=0 LastACPIsolation=000 [EOF] Lines=19

I want to be able to capture it into a string.
How do I use this command into C?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group