A couple of options: 1) You could update the mote with a valid timestamp every now and then, from a BS mote connected to a PC host, with a script running on the PC updating the timestamp value through the serial port.
2) Add a RTC to your mote (I use a RTC with a I2C interface and an external battery to keep the time if the mote is powered off) 3) Same as above, but only add the RTC to one mote within your network, so it will act as in a NTP server kind of way. Surely there are other ways, more simpler or complex than the ones presented, basically it depends on how much are you willing to implement/spend, skills, and your whole scenario. Regards, --Antonio On Tue, Apr 23, 2013 at 2:11 PM, Sean Dekker <[email protected]> wrote: > Hi all, > > > > I am doing some measurements on RSSI with telosb. I want to know at which > time the packets are being recived. > > > > Is there a way to add current time of day to a packet? I mean in the > message struct, what type of data type (nx_uint32_t or ...) I have to use, > and when creating and sending packet, is there an interface to use for > generating time of day? > > > > As far as I know there is no clock chip on TelosB, so it might not be > possible. Is there any workaround? > > > > If not, any other ideas? > > > > > > Regards, > > Sean. > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- -- Antonio LiƱan Colina R+D+I Engineer @: [email protected] @: [email protected] ------------------------------ Advancare T: +34 93 582 02 70 http://www.advancare.com http://www.zolertia.com http://zolertia.sourceforge.net http://webshop.zolertia.com
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
