[Tinyos Core WG] non-TEP code
Joe Polastre
joe at polastre.com
Tue Nov 28 08:11:25 PST 2006
> Good points. My thought is that if the interface name "Button" is
> being used, then it needs to be the general interface. But if it's
> that, it doesn't seem like what we're talking about is a button,
> rather a contact sensor. So while the component might be named
> "TelosResetButtonC", its interface might be ContactSensor.
Phil, now we're really going down a rathole. It is a button, and it
is as generic as buttons go. It is NOT a contact sensor--a contact
sensor would encompass capacitive sensors as well, which is a whole
different rathole I don't want to get into.
Button is a very well defined concept and I don't know why you're
making up new names for "button". Definition 3a of "button" according
to Merriam-Webster is a "Push Button" defined to be "a small button or
knob that when pushed operates something especially by closing an
electric circuit".
> I think these distinctions come from the differences between
> maintaining a platform-specific software base (Boomerang) and a cross-
> platform software base (2.x).
I completely disagree. This is not a platform-specific argument!
I believe Gil has had the most reasonable discussion here and I agree
with his points. I'm content with a Get/Notify interface (can you
expand on exactly what this would look like?) that would be a generic
in chips/button, with a specific mapping that exists in each platform
or sensor/sensorboard that has buttons.
I'm happy to work with Gil to proceed with the above proposal and
ignore this silly discussion of "contact sensors"
-Joe
More information about the Tinyos-2.0wg
mailing list