I would like to trigger a HTTP Get or Post to a remote web server, the web platform being the client, when i have some certain conditions met, but, how do i go about the web client part of this, i looked through the TCPIP stack, but its wasn't clear to me!
to match my network then everything is fine, but why isnt my DHCP settings working without making these changes, this seems to be as far as the thread i found above got to too!
I have built the TCPIP Demo app for the webserver board, the board seems to boot, it gives out its IP address via UDP port 30303, but i dont get anything from my web browser. I have tried telneting in using port 80, and nothing also.
The ticker LED (LD1) flashes every second, plus the ACT LED seem to flash all the time, regardless of whether im trying to pull anything through the Ethernet port from the webserver.
However, to build i have had to comment out #define STACK_USE_HTTP_APP_RECONFIG in TCPIPConfig.h
If i leave #define STACK_USE_HTTP_APP_RECONFIG in, then i get the following compile error
Executing: "C:Program FilesMicrochipmplabc30binpic30-gcc.exe" -mcpu=33FJ128GP204 -x c -c "CustomHTTPApp.c" -o"Objects - TCPIP Demo App-C30CustomHTTPApp.o" -I"." -I"..MicrochipInclude" -I"%PROGRAMFILES%MicrochipMPLAB C30include" -D__DEBUG -g -Wall -mlarge-code CustomHTTPApp.c: In function 'HTTPPostConfig': CustomHTTPApp.c:485: error: 'NVM_VALIDATION_STRUCT' undeclared (first use in this function) CustomHTTPApp.c:485: error: (Each undeclared identifier is reported only once CustomHTTPApp.c:485: error: for each function it appears in.) CustomHTTPApp.c:587:29: error: macro "SaveAppConfig" passed 1 arguments, but takes just 0 CustomHTTPApp.c:587: error: 'SaveAppConfig' undeclared (first use in this function) Halting build on first failure as requested. ---------------------------------------------------------------------- Debug build of project `C:Microchip Solutions v2010-10-19MCstackDemoTCPIP Demo App-C30.mcp' failed. Language tool versions: pic30-as.exe v3.30, pic30-gcc.exe v3.30, pic30-ld.exe v3.30, pic30-ar.exe v3.30 Preprocessor symbol `__DEBUG' is defined. Wed Aug 03 20:52:00 2011 ---------------------------------------------------------------------- BUILD FAILED
Could commenting this out be preventing the webserver from functioning correctly?, and, what am i doing wrong to need to comment this out?