[Tinyos-devel] Resource arbitration bug in SerialP
Philip Levis
pal at cs.stanford.edu
Mon Sep 8 09:09:53 PDT 2008
On Sep 8, 2008, at 7:57 AM, Kevin Klues wrote:
> After glancing briefly at the code, it looks to me like there are more
> things wrong here than the simple fix you propose. Until now, no one
> has really arbitrated access to the serial stack i.e. it has been a
> dedicated resource on most platforms. Because of this, it seems like
> it doesn't follow the proper semantics for SplitControl.start() and
> SplitControl.stop() as outlined in TEP115. A proper fix would be to
> get it in line with these specifications so that putting a resource
> arbiter around it can work properly.
This is true: the serial stack implementation predates Resource as
well as 115, I believe, and was never intended to operate with an
arbiter. We should definitely put it in line with 115.
Phil
More information about the Tinyos-devel
mailing list