[Tinyos-help] Is it possible?

Eric Decker cire831 at gmail.com
Tue Apr 14 00:30:51 PDT 2009


To obtain what instance of a generic module i being generated?

I've implemented logging into the Arbiter module so I can do some run time
debugging of what is going on with resource arbritration.  But I have
multiple levels of arbiters implemented and I need to differentiate which
arbiter has been invoked.

In app.c  one arbiter is ArbiterP$0 and the other one is ArbiterP$1.  I
would like to use the 0 and 1 as appropriate in the trace entry so I can
tell which arbiter has been invoked.

The most straight forward way is to obtain the instance.

Is there a way to do this?

-- 
Eric B. Decker
Senior (over 50 :-) Researcher
Autonomous Systems Lab
Jack Baskin School of Engineering
UCSC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090414/0e1dedf8/attachment-0001.htm 


More information about the Tinyos-help mailing list