[Tinyos-help] Help: SplitControl

polastre at EECS.Berkeley.EDU polastre at EECS.Berkeley.EDU
Fri Jan 23 04:09:10 PST 2004


SplitControl is for when your module must do something asynchronously before returning that it has, in fact, started/stopped/init'd.  A perfect example of this is turning on a sensor.  The sensor takes time to warm up, so a Timer event is scheduled for when the sensor will be ready and the call to start() is returned.  When the timer goes off, startDone() is signalled indicating that you may now use the component (sensor).

-Joe
Content-Type: multipart/alternative; boundary="0-1426168562-1074194347=:60735"


--0-1426168562-1074194347=:60735
Content-Type: text/plain; charset=us-ascii

When is it more preferrable to use SplitControl over StdControl?  Is SplitControl meant to be used to signal other components when something is initDone, startDone, or stopDone?  Can you include the "event initDone" code within the same module file in which the SplitControl interface is defined?  Thanks.
 
Jason Kipp
 


---------------------------------
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
--0-1426168562-1074194347=:60735
Content-Type: text/html; charset=us-ascii

<DIV>When is it more preferrable to use SplitControl over StdControl?&nbsp; Is SplitControl meant to be used to signal other components when something is initDone, startDone, or stopDone?&nbsp; Can you include the "event initDone" code within the same module file in which the SplitControl interface is defined?&nbsp; Thanks.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jason Kipp</DIV>
<DIV>&nbsp;</DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
Yahoo! Hotjobs: <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus">Enter the "Signing Bonus" Sweepstakes</a>
--0-1426168562-1074194347=:60735--
-------------- next part --------------
_______________________________________________
Tinyos-help mailing list
Tinyos-help at Millennium.Berkeley.EDU
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-help


More information about the Tinyos-help mailing list