Spamming my own thread with an update.
I now have a Lantronix XPORT with Beta firmware tunneling the HTTP requests directly to it's serial output, connected to USART2 on a pic 18F87J10.
The pic parses the GET string and gets the files from an SD card (attached to the SPI port) and serves them up, to make a web server.The dynamic nature and variable length data means that the HTTP data is output in chunked format.
The files on the SD card are a combination of pre-made headers, and some dynamic files comprising data collected from a zigbee network, received via USART1
Only serving pages at 56k for the time being, until I get the appropriate crystal, but I've finally got my gateway working, which is pleasing :-)
The ready made HTML pages are made in Frontpage, saved to the root directory on the SD card, along with any images, and the card then plugs into the server.
I need to include the PUT method now, so that I can upload pages to the SD card, then I've got the full server working !
Bookmarks