Hi!
Im using the EtherCard lib for interfacing my atmega328P (think Arduino Uno) with an ENC28J60 ethernet module, making a webb server.
I define the send and receive buffer, and a BufferFiller like this:
byte Ethernet::buffer[1200]; // tcp/ip send and receive buffer
BufferFiller bFill;
And then I write my html code in a function like this:
From the loop() I make this call ether.httpServerReply(getPage());
My problem is that my page is too large to fit inside the buffer[1200], and I cant push my send and receive buffer above 1200, because then Im out of memory. Is there a way to send half the html code first, and then refill the buffer and send the rest?
The EtherCard was created for small web pages.
Perhaps you can make a workaround by pushing text out of the webpage. For example with a javascript-file or css-file that are available online.
That example looks exactly like what I'm trying to achieve, can't wait till I can try it out. Thanks a lot!
Also thanks for directing me to that forum.