[Tinyos-devel] problems with
tinyos-2.x/tos/platforms/telosa/chips/sht11/HplSensirionSht11C.nc
Razvan Musaloiu-E.
razvanm at cs.jhu.edu
Fri Jun 9 13:49:53 PDT 2006
Hi!
There is a small problem with the HplSensirionSht11C component for Telos.
When I tried to use it I got the following error:
In component `HplSensirionSht11C':
/home/tinyos2/local/src/tinyos-2.x/tos/platforms/telosa/chips/sht11/HplSensirionSht11C.nc:85: cannot find `ArbiterInfo'
The relevant part from HplSensirionSht11C.nc is this:
81 components new SplitControlPowerManagerC();
82 Init = SplitControlPowerManagerC;
83 SplitControlPowerManagerC.SplitControl -> HplSensirionSht11P;
84 SplitControlPowerManagerC.ArbiterInit -> Arbiter.Init;
85 SplitControlPowerManagerC.ArbiterInfo -> Arbiter.ArbiterInfo;
86 SplitControlPowerManagerC.ResourceController -> Arbiter.ResourceController;
In tinyos-2.x/tos/lib/power/SplitControlPowerManagerC.nc the
SplitControlPowerManagerC is defined this way:
57 generic configuration SplitControlPowerManagerC() {
58 provides {
59 interface Init;
60 }
61 uses {
62 interface SplitControl;
63
64 interface PowerDownCleanup;
65 interface Init as ArbiterInit;
66 interface ResourceController;
67 }
68 }
So the ArbiterInfo is indeed missing.
For now I just commented the line 85 from HplSensirionSht11C.nc. :-)
A good weekend to everyone!
Razvan ME
More information about the Tinyos-devel
mailing list