Synchronizing the nodes might be hard... Couldn't you use hop count and estimate the average delay as a function of distance? With hop count + average delay, you can estimate the total delay... A workaround for this is to have the motes start a oneShot time with interval of 0xFFFFFFFF ms, then try to turn the motes on at the same time; But you have to check how desynchronized the nodes get.
2007/11/30, antonio gonga <[EMAIL PROTECTED]>: > > > Hey all, > > I'd like to use timeStamp while sending a message. > The Sender insert the time on which the message was sent, and the Base > Station also inserts the time when the message is received. On the > application layer (java Application, the system converts and subtracts these > values, so that a delay can be calculated. > Using this strategy it's possible to calculate the delay between two > sensor. It's important because I want to use it to send messages over 1Km( > i.e Wide area Wireless Sensor Network) using intermediate node. If some > data sensitive to delay has to be carried in the packets this could be the > first step to evaluate the possibility or impossibility to use WSN > > I think there should be a function that enables to insert packet > timestamps like in RTP. > > thanks in advance > > > ------------------------------ > You keep typing, we keep giving. Download Messenger and join the i'm > Initiative now. Join > in!<http://im.live.com/messenger/im/home/?source=CRM_WL_joinnow> > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- "The truth shall set you free"
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
