Hi time gives you the value of the 32khz counter register at the time the sfd had been sent.
i cc this email to the tinyos-help mailing list, maybe this is also helpful for others. Roman Mehedi Bakht wrote: > Hi Roman, > > Thanks a lot for your detailed reply. I am having a hard time > understanding the "time" value obtained from the event > RadioTimeStamping.transmittedSFD. Can you please explain what does the > "time" value denote? > > It is great to know that you will be putting the code in CVS. I am sure > many people like me will benefit from it. > > Thanks ! > > --Mehedi > > On 6/27/07, * Roman Lim* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi Mehedi > > The interfaces that you need (in TOS2) are RadioTimeStamping and > CC2420Transmit. > When the event RadioTimeStamping.transmittedSFD is signaled, you can > modify the packet content during transmission with the command > CC2420Transmit.modify. > However, this modification has to be done in a very short time window or > else, the packet gets fully transmitted without your changes. > > You can find more details concerning the interfaces in the nesdoc > reference. > > In the near future, we will publish some code with this mechanism in the > tos-2 contrib repository on sourceforge under > /tinyos-2.x-contrib/ethz/snpk > > The size of the packet in section 3.3.2.2 <http://3.3.2.2> was 16 > bytes payload plus > header (11 bytes). > > I hope this helps. > > Roman > > >Hi, > > > >I have across your Master's Thesis "Wireless Fire Sensor Network > >Demonstrator". I am also working with tmotes and need some > >suggestion/help in this regard. > > > >You have mentioned in your thesis - "A special feature of the packet > >based CC2420 supports timestamping of sent packets. The transceiver > >allows to modify a packet in the radio FIFO even when the process of > >transmitting already has started. Therefore, a packet can be > >timestamped with the measured time at start of the transmission." > > > >Can you please tell me how can the packet be timestamped at such a low > >level? What are the interfaces that you used? Can you share some code? > > > >In doing Power Consumption analysis of CC2420 (Section 3.3.2.2 > <http://3.3.2.2> of your > >thesis), what was the size of the packets that you sent? > > > >Thanks, > > > >--Mehedi > > > _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help