mazen82
Joined: 10 Sep 2009 Posts: 22
|
PIC18f97j60 reading data from webpage will pay $ |
Posted: Thu Oct 01, 2009 8:49 am |
|
|
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? |
|