I'd like to access a file in the standard html folder (ex. Index.htm) on a SBL2e. Are there any examples or docs that can give me some guidance? I assume it's a bit unique compared to the other NB devices since the SBL2e device is all integrated onto one chip.
Any help is appreciated. Thanks.
SBL2e - Access a file in Flash
Re: SBL2e - Access a file in Flash
I assume you are talking about the SBL2e, not the SBL2e chip.
If you look at a few of the examples, the HTML works the same (at least in upper level code). Place the files in the html folder and StartHTTP();
If you look at a few of the examples, the HTML works the same (at least in upper level code). Place the files in the html folder and StartHTTP();
Forrest Stanley
Project Engineer
NetBurner, Inc
NetBurner Learn Articles: http://www.netburner.com/learn
Project Engineer
NetBurner, Inc
NetBurner Learn Articles: http://www.netburner.com/learn
Re: SBL2e - Access a file in Flash
What to do you mean access?
To read?
Or to Modify?
If you mean to read and it is not an HTML or XML file then you can get it out of the htmldata.cpp file.
If it is html or XLM then the function calls or variable encodings are encoded into the file record.
Take a look at htmldata.cpp and look at the structures in there.
Paul
To read?
Or to Modify?
If you mean to read and it is not an HTML or XML file then you can get it out of the htmldata.cpp file.
If it is html or XLM then the function calls or variable encodings are encoded into the file record.
Take a look at htmldata.cpp and look at the structures in there.
Paul
Re: SBL2e - Access a file in Flash
Thanks for the response guys. I should have said read instead of access. Paul you pointed me in the right direction - htmldata.cpp. Thanks.