I am using the tcp/ip stack from CCS on a [url removed, login to view] 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/[url removed, login to view]
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.
The modem does not stream data using the UDP. The only way to get it is using the HTTP Get method. I can provide the project folder files, and the schematics for the pic pcb. The project is written using CCS C Compiler. I will need the code for the function to generate the above command and result.