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
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to