Home/Support/Support Forum/Save settings to nvram?
New and improved user forum site going live on 12/6 (All users will need to reset their password when the new forum is active)
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Save settings to nvram?

0 votes
Hello,
I'm quite new to this world. I'm workiing with a Digi Connect ME with NETOS 6.0

I've developed my application, and I have it running now. But I don't now how to store my settings on nvram so the next time the digi restarts it reads those values.

Any idea how to do it or where can I look for thar information?

Thhank you very much
asked Apr 24, 2007 in NET+OS by alblurrow New to the Community (4 points)
recategorized Dec 18, 2013 by tuxembb

Please log in or register to answer this question.

4 Answers

0 votes
Just in case somebody is in the same problem as I was, you can find the solution in the files:
"boardParams.h"
"boardParams.c"
answered Apr 25, 2007 by alblurrow New to the Community (4 points)
0 votes
Hello,

use the sample naftpapp and download the File image.bin from your application with ftp into flash an restart.

Marcus
answered Apr 25, 2007 by mentzer New to the Community (25 points)
0 votes
Which settings? Ones that you created or the network settings?

If it is ones that you created, the easiest way is to use the virtual filesystem and just save a config file.

If you are talking about network settings, take a look at:

customizeGetIPParameters(&ipAddr, &subnet_mask, &default_gateway);

and

customizeSaveIPParameters(ipAddr, subnet_mask, default_gateway);

-Erik
answered Apr 25, 2007 by egawtry Veteran of the Digi Community (349 points)
0 votes
Thank you for all the answers.

I used those functions, and created my own for my values.

Thanks for the replies.
answered Apr 26, 2007 by alblurrow New to the Community (4 points)
...