You can use the ByteEEPROM component provided in tinyos-1.x. It provides ReadData and WriteData interfaces, you can find some examples in $tosroot/apps/TestEEPROM/Byte/. Also, if you read the files corresponding to this component in $tosdir/lib/Flash/AT45DB/, you will find it useful.
Raghu
Message: 2 Date: Tue, 2 May 2006 19:22:19 +0200 From: "Sara B." <[EMAIL PROTECTED]> Subject: [Tinyos-help] Log data on micaz motes To: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Hi all, I'm developing a testbed with MicaZ motes. The idea is that each mote, in turns, sends 200 packets to each of the rest of the nodes. For example, node 1 begins and sends first 200 packets to node 2, 200 packets to node 3, and so on, and after node 1 ends is node 2 that begins to send to the rest. Basically I want to collect in each packet the source node and the number of hops of the path. With few nodes what I was doing now is to place a "sniffer" mote and retransmit the data I want using UART to a pc, but in the configuration I want to test I'm thinking on some "automated" method. So my question is: is there some way to log this data in each mote (EPROM or similar)? It would be great if someone could give me a hand on this, any example or documentation is wellcome. Thanks in advance, Sara.
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
