Hi I would like to use BlockStorage for logging data in Telosb.
Since I want to log data from 4 different sources, I have wired 4 different instances for BlockRead, BlockWrite and Mount interfaces as shown below: SensorNodeM.BlockRead1 -> BlockStorageC.BlockRead [BLOCKSTORAGE_1]; SensorNodeM.BlockWrite1 -> BlockStorageC.BlockWrite[BLOCKSTORAGE_1]; SensorNodeM.Mount1 -> BlockStorageC.Mount[BLOCKSTORAGE_1]; SensorNodeM.BlockRead2 -> BlockStorageC.BlockRead [BLOCKSTORAGE_2]; SensorNodeM.BlockWrite2 -> BlockStorageC.BlockWrite[BLOCKSTORAGE_2]; SensorNodeM.Mount2 -> BlockStorageC.Mount[BLOCKSTORAGE_2]; SensorNodeM.BlockRead3 -> BlockStorageC.BlockRead [BLOCKSTORAGE_3]; SensorNodeM.BlockWrite3 -> BlockStorageC.BlockWrite[BLOCKSTORAGE_3]; SensorNodeM.Mount3 -> BlockStorageC.Mount[BLOCKSTORAGE_3]; SensorNodeM.BlockRead4 -> BlockStorageC.BlockRead [BLOCKSTORAGE_4]; SensorNodeM.BlockWrite4 -> BlockStorageC.BlockWrite[BLOCKSTORAGE_4]; SensorNodeM.Mount4 -> BlockStorageC.Mount[BLOCKSTORAGE_4]; Is there any other easier way to do that? Now I should to call in my application to: Mount(1); Mount(2); Mount(3); Mount(4); What do I have to do to assign the memory initial positions in order to share the 4 volumes with 256 kb each one without interferences? Do I have to format them before? Thanks in advance I am using TInyOS 1.x -- David Conde Baena CITIC Centro Andaluz de Innovación y Tecnologías de la Información y las Comunicaciones Edificio CITIC, C/ Marie Curie, 6 Parque Tecnológico de Andalucía 29590 - Campanillas (MÁLAGA) Tfno.: +34 952028610 Fax: +34 951231029 <mailto:usua...@citic.es> Email: dco...@citic.es <http://www.citic.es/> Web: www.citic.es
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help