[Tinyos Core WG] non-TEP code

Philip Levis pal at cs.stanford.edu
Tue Nov 28 09:17:26 PST 2006


On Nov 28, 2006, at 8:11 AM, Joe Polastre wrote:

>> 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".

Joe, the question isn't "what is a button?" It's "do we need a  
special interface for buttons, and if so, how does it relate to other  
similar sensors?"

Phil


More information about the Tinyos-2.0wg mailing list