Hello everyone,

I'm working on a TinyOS application, requiring reading noise floor from the
RSSI register on CC2420 as fast as possible. Reading RSSI register
necessitates usage of SPI bus. However, the bus is shared by read/writing
of other registers, TX/RX FIFO, strobe registers, etc. So I want to give
higher priority to reading RSSI register when accessing SPI bus. Then I
found 
TestPriorityArbiter<http://code.google.com/p/tinyos-main/source/browse/trunk/apps/tests/TestArbiter/TestPriorityArbiter/?r=2880>,
which uses 
FcfsPriorityArbiterC<http://code.google.com/p/tinyos-main/source/browse/trunk/tos/system/FcfsPriorityArbiterC.nc?spec=svn5516&r=5516>.
But it does not even compile successfully, let alone function as expected.
For instance,

In TestPriorityArbiterAppC:
TestPriorityArbiterC.HighClient -> Arbiter.HighPriorityClient;

In TestPriorityArbiterC:
interface ResourceController as HighClient;

In FcfsPriorityArbiterC
interface ResourceDefaultOwner as HighPriorityClient;

But interface ResourceController  and ResourceDefaultOwner  are
different. I'm wondering if there is any tested version of
TestPriorityArbiter available. How can I make it compile and run? Any help
is truly appreciated.

-- 
-Xiaohui Liu
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to