I am working on a new project. This project is a remote temperature sensor with a web server. I want to display temperature curve on an http form with a web browser.
So I want to format an image (temperature profile)(bitmap, png or gif) and send it to web browser.
I would like to know how to send an image place in RAM. Up to now I work with the sample C:\DCRABBIT_9.41\Samples cpip\http\STATIC.c and I try to place the image in RAM (rabbit1.gif) but I don�t kown how to link it to the web page (#ximport “samples/tcpip/http/pages/static.html” index_html). Maybe I will import a blank image in flash with ximport and transfer it in RAM or create an image directly in RAM at start but after�.???
Just for information, I had found how to link the web page with my image in RAM with this code
unsigned long rabbit1_bmp; // Physical memory address to write to RAM
LenFile = xgetlong(rabbit_falsh_bmp);
// Using xalloc ensures that unused RAM is allocated
rabbit1_bmp = xalloc(LenFile);
// Copy IMAGE in flash to RAM
xmem2xmem(rabbit1_bmp, rabbit_falsh_bmp, LenFile);
sspec_addxmemfile("/rabbit1.bmp", rabbit1_bmp, SERVER_HTTP);
Hi there, i’m just started with my school project using sample files from Dynamic C, can you help me how to see the image from http? (after linking e ram to http). i’m going to die for it please teach me how? thanks alot…
yes! i made it by viewing the image in http through tcp/ip… The next problem i had and hope that it can be solve: how to view the image in http through wireless:confused: Please help me… Thanks alot