See beta/CC1000Radio.

The UCLA folks have already done this.

-----Original Message-----
From: Brano Kusy [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2003 3:40 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; Miklos Maroti; [EMAIL PROTECTED]
Subject: radio stack hooks interfaces

Hi!

We are working on time sync algorithm.Similarly to UCLA guys we had
problems
with tracking changes in CVS repository and incorporating our code into
the
new versions of radio stack. After the long summer we are finally about
to
rewrite our code with the help of hooks to the radio stack :). One
problem
with this:

The precision of our timer and resolution of our local time is 1/32768
sec -
we call this 1 jiffy ~ 30 microsecs. Our accuracy with hacks to the
radio
stack was 1-2 jiffies per hop. To achieve this we need to compensate for
the
bit offset of the receiver: currently, according to our meassurements -
depending on the bit offset of the receiver the
RadioCoordinator.startSymbol() event comes from 724 microsecs to 892
microsecs later than on the sender side (it takes ~24microsecs to
transmit/receive a bit). Therefore without the value of bit offset we
cannot
keep our error under  ~7 jiffies. So can the radio stack provide the
value
of the RxBitOffset variable? Maybe startSymbol() event can provide it.
All
the other time sync code can be pretty much transfered to the TimeSync
component with the help of hooks.

Thanks,

Brano


_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to