What sort of functionality are you looking for? Retry calls to start / stop if they don't return success the first time? i.e. continuously post a task until these calls return successfully?
Kevin On Wed, Apr 30, 2008 at 2:53 PM, Dimas Abreu Dutra <[EMAIL PROTECTED]> wrote: > Hello all, > > I've been recently using the SplitControlPowerManagerC component to > automatically control the Accelerometer and Photometer power for the tmote > invent and encountered a problem, possibly a bug. The component calls > SplitControl.start() and SplitControl.stop(), on PowerManagerP, but doesn't > check the return value, assuming it always is SUCCESS. > > In my code, I have a condition where the stop command returns EBUSY and the > SplitControlPowerManagerC freezes my logic. Also, my code is fully compliant > with TEP115. I believe that the error return should be checked for > SplitControlPowerManagerC to be fully compliant to the TEP115, since it > defines the behaviour and errors that the SplitControl interface should > return. It also does not check errors on the startDone and stopDone events. > > I am working on a fix, if needed I can share my code. > > ~Dimas~ > -- ~Kevin _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help