Hello everybody,

I'm new to using the Flash memory of a node for configuration purposes. 
I've just read the tutorial for using ConfigStorage but am unfortunately 
left with a few question. Maybe someone out there may give some 
explanations or hints:

1.) The command write of the ConfigStorage interface has the parameter 
"addr", as e.g. CONFIG_ADDR in the following line of the BlinkConfig program

call Config.write(CONFIG_ADDR, &conf, sizeof(conf));

Is that address relative to the volume (which would make sense to me) or 
not? I couldn't find that in the tutorial and TEP.

2.) I have multiple modules that I want to provide with configurations 
from the Flash. How do I realize that? To minimize code and complexity 
of setup, I would like to have only one config volume for all 
configurations. How can I "distribute" the chunks of data to the 
appropriate modules once the data has been read from the Flash? Is there 
any comfortable way to doing that, e.g., by somehow registering a 
config-struct with the module actually writing to/reading from the Flash?


Thanks in advance!
Christian

-- 
__Christian_Renner________________________________________________________
   Hamburg University of Technology        [email protected]
   Institute of Telematics (E-17)               Tel.: (+49) 40 42878-3746
   Schwarzenbergstrasse 95                      Fax:  (+49) 40 42878-2581
   21073 Hamburg, Germany       http://www.ti5.tu-harburg.de/staff/renner
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to