---------- Forwarded message ---------- Hi, I am having problems with the LogStorage and its driving me crazy. I am sending this email to you to see if you're available to help me. Bellows follows my question, if you have the desire and time to help me, I would greatly appreciate it.
I am working on a pratical simulation of an opportunistic network and I am having problems with the LogStorage as I said above. The objective is to store a lot of records and periodically read and send them to another mote. When I am making the LogRead, I always read the last record inserted. Did you came across this error already? I am using a telosb mote. In attachement follows the code. Thank you in advance, João Alves.
#ifndef TEST_SERIAL_H
#define TEST_SERIAL_H
typedef nx_struct test_serial_msg {
nx_uint32_t timestamp;
nx_uint16_t temperature;
nx_uint16_t humidity;
nx_uint16_t NodeId;
nx_uint16_t luminos;
nx_uint16_t packetCounter;
} test_serial_msg_t;
enum {
AM_TEST_SERIAL_MSG = 0x89,
};
#endif
TestSerialAppC.nc
Description: Cdf file
TestSerialC.nc
Description: Cdf file
<volume_table> <volume name="SYNCLOG" size="1048576" type="log" circular="false"/> </volume_table>
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
