Okay.. this means wat i am doing is rite.. I am sending pkts from a node every 100 ms and collecting it at the basestation. I am accessing the localtime and converting it to global and this value is sent in the packet. this is done at both sender and receiver.
So if the nodes are in sync then i should be able to use the difference in the time values of sender and receiver for some calculation... However, there seems to be some problem and the nodes are not synchronised...Do u know how frequently the sync msgs are exchanged and where it can be modified??? > no, you don't need to start ftsp explicitly. you do, however, need to wire > the proper SoftwareInit and Boot interfaces in the main application file. > you can find an example in apps/tests/TestFtsp/Ftsp/TestFtspAppC.nc > > brano > > > On 11/05/10 2:04 PM, "Deeksha Rao Sahib" <[email protected]> > wrote: > >> Hi, >> >> I had a similar question... I have already included the directory and >> also >> the TimeSyncC component. Does this ensure that ftsp is running in the >> background of my application code? I do not have to explicitly begin or >> activate ftsp rite?? >> >>> Hi Wafa, >>> >>> You should use the ftsp library from the tos/lib/ftsp directory of the >>> tinyos-2.x tree. Look at the TestFTSP application to see how to use >>> it. >>> >>> Best, >>> Miklos >>> >>> On Mon, May 10, 2010 at 7:18 PM, wafa jaballah >>> <[email protected]> >>> wrote: >>>> Hi all, >>>> >>>> My application needs synchronised nodes in order to have correct >>>> results. >>>> To do this, I have to synchronise nodes with a Time Synchronization >>>> Protocol >>>> like FTSP. >>>> How can I integrate FTSP in my application or on any application in >>>> WSN.? Is >>>> there a general method to do it? >>>> >>>> Best Regards, >>>> >>>> -- >>>> Wafa Ben Jaballah >>>> >>>> >>> _______________________________________________ >>> Tinyos-help mailing list >>> [email protected] >>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>> >>> -- >>> This message has been scanned for viruses and >>> dangerous content by MailScanner, and is >>> believed to be clean. >>> >> >> >> --Deeksha > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
