View previous topic :: View next topic |
Author |
Message |
macglance Guest
|
Posted: Mon Oct 03, 2005 5:52 pm Post subject: persistently save the pin code |
|
|
Hi Pz,
I want to register some info about my app like the pin code in order to request for it before performing some actions. the solution I have in my mine is to use file;being that the file is huge, can I use reg_app_data(..)? but the behavior of this function is not clear to me I don't know if something else exits.
regards! |
|
Back to top |
|
|
pz Guest
|
Posted: Mon Oct 03, 2005 6:47 pm Post subject: |
|
|
reg_app_data() is exactly what you want. See http://www.bladox.com/devel-docs/gen_getting_started.html - it should be quite clearly described there. You emalloc some struct (your data) in eeprom, store the pointer with reg_app_data() and get it with app_data(). |
|
Back to top |
|
|
|