Page 1 of 1

MOD54415 Web Server

Posted: Tue Feb 12, 2013 6:09 am
by jediengineer
Hi All,

I'm missing something - someone point me in the right direction? I'm working on an HTML page for the 54415 unit built off one of the examples (HTMLVariables) and even though I edit the index.html file, it doesn't upload the changes to the unit. I can open the index file in explorer and it looks exactly correct, but when I retrieve the page from the netburner unit, it's the original page that came with the example. How do I update the index page on the unit??

Thanks!

Re: MOD54415 Web Server

Posted: Tue Feb 12, 2013 6:19 am
by seulater
If you are editing the file outside of Eclipse, then in Eclipse you need to right click on the project and click refresh. Or press F5.

Re: MOD54415 Web Server

Posted: Tue Feb 12, 2013 7:45 am
by jediengineer
Hey Thanks!! That did the trick - except now my variables that I'm calling are coming up with the error "htmldata.cpp:209: error: 'UNIT_NAME' was not declared in this scope"

What causes that? I tried switching between const int, char *, and #define, but nothing satisfies that error! Any ideas?

Re: MOD54415 Web Server

Posted: Tue Feb 12, 2013 8:00 am
by jediengineer
And furthermore - what's the best way to pass a 16 bit number to the index.html file?