Hello, 

     I'm writing a drive for mda320 in Tinyos 2.x. A stdcontrol interface is 
provided in the driver. However, I don't know which component should use the 
interface. What I wrote is 

     
//-------------------------------------------------------------------------------------------------
     components new StdControlPowerManagerC() as PowerManagerformda320;
     PowerManagerformda320.StdControl -> Mda320DeviceP;

     
//-------------------------------------------------------------------------------------------------
     However,the error is : 
    
    /opt/tinyos-2.x/tos/lib/power/PowerManagerP.nc: In function 
'SplitControl.startDone':
    
/opt/tinyos-2.x/tos/lib/power/powermanagerP.nc<Mda320DeviceC.PowerManagerformad230.PowerManager>:93
 ResourceDefaultOwner.isOwner not connected
    
/opt/tinyos-2..x/tos/lib/power/PowerManagerP.nc<Mda320DeviceC.PowerManagerformad320.PowerManager>:94
 ResourceDefaultOwner.release not connected

    I didn't use Splitcontrol interface. 
    I don't know why there is a PowerManager in 
Mda320DeviceC.PowerManagerformad320. In StdControlPowerManager, there is no 
PowerManager interface. 


   Is there anyone who can explain this for me? I really need your help. 

   Any help will be appreciated.  


Thanks,
Haixia Li
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to