Murray, Ben wrote:
as an aside... am I correct in thinking that
Radiotimestamping.transmittedSFD timestamps (or updates the timestamp field
for ) each successive LPL (re)transmission during the CC2420 "preamble"?
async event void RadioTimeStamping.transmittedSFD(uint16_t time, message_t
*p_msg) {
offset=time - (call PowerCycle.getLastWakeUp());
call CC2420Transmit.modify( m_len -1 , (uint8_t * )&offset, 2 );
t[6]=call Alarm.getNow();
}
Cheers,
Ben
yes, we have to have this time information up to date with every packet.
it seems to work quite well.
p.s. I wonder how the official devel offering of a timestamping interface is
coming along...?
me too..
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help