I am working with a pic32 ethernet starter kit. I have the TCPIP "Demo App" in microchip solutions v2013-06-15 working OK but there are a few things I don't understand, particularly the .cgi file in the demo example.
AN1107 explains the CGI and the %xx string and that has also been referred to on the mchip forum, but the CGI in the example I am looking at does not contain the %xx string.
One discussion mentioned the CGI containing un-important dummy data.
I have found that dynamic variables in the CGI file are picked up by the MPFS utility and will appear in the auto generated HTTPPrint.h file, (provided the HTTPPrint.idx file has been deleted before running MPFS utility). However the function call generated for the unused dynamic variable used in the CGI file does not seem to serve any purpose and I can delete it in the HTTPPrint.h file and the server and client still work fine. However the CGI file must exist, must have a name associated with the server/client GET data link and must have a dynamic variable which gets picked up by the MPFS utility otherwise there is problem with server/client link.
Although apart from that the file can contain any rubbish.
This does not seem consistent with the AN1107 explanation, is this a completely different use of the CGI file ?
I am having problems with the GET method (client to server) upsetting TCPPut() (server to client) if there is too much data in GET which I think might be connected with the cgi that I don't understand.
Does anyone understand how the microchip .cgi is used. I dont think this has much in connection with the .cgi in a normal server client system. I can't find consistent explanation anywhere.
I would like to post this on the mchip forum but I can't find how to get a ticket. I asked on an dead thread about cgi but no response.
Anyone know how to get mchip ticket ?
Paul