On May 8, 2007, at 8:30 PM, Fangming Zhang wrote:

Hi,

I have been confused by power and resource in Tinyos2.0. There is an erro (in 'AccelConfigP.nc') said AccelConfigP.nc:33: cannot find `ResourceDefaultOwner''. This code line is:

PowerManager.ResourceDefaultOwner -> Arbiter;

When I get rid off this line, it gave following errors:
In component `AccelConfigP.PowerManager.PowerManager':
/opt/tinyos-2.x/tos/lib/power/PowerManagerP.nc: In function `SplitControl.startD
one':
/opt/tinyos-2.x/tos/lib/power/PowerManagerP.nc (AccelConfigP.PowerManager.PowerMa
nager):93: ResourceController.release not connected

I am confused that why a AD transforming need so much component and interface? It become very difficult to use it.


To make sure that when an ADC client acquires the lock on the ADC (via Resource.granted()), it is powered on and configured properly.

Phil

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

Reply via email to