MOD54415 Web Server

Discussion to talk about software related topics only.
Post Reply
jediengineer
Posts: 192
Joined: Mon Dec 17, 2012 6:24 am

MOD54415 Web Server

Post 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!
seulater
Posts: 445
Joined: Fri Apr 25, 2008 5:26 am

Re: MOD54415 Web Server

Post 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.
jediengineer
Posts: 192
Joined: Mon Dec 17, 2012 6:24 am

Re: MOD54415 Web Server

Post 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?
jediengineer
Posts: 192
Joined: Mon Dec 17, 2012 6:24 am

Re: MOD54415 Web Server

Post by jediengineer »

And furthermore - what's the best way to pass a 16 bit number to the index.html file?
Post Reply