[Tinyos-devel] Set interface

Philip Levis pal at cs.stanford.edu
Tue Jun 3 09:32:51 PDT 2008


TEP 114 presents the Set interface:

interface Set<val_t> {
   command void set( val_t val);
}

After review, a point was brought up that this command returns void.  
This could be problematic, if the parameter passed is invalid.

Does anyone object to making this change? My cursory search of the  
TinyOS tree did not find this interface being used anywhere in tos/ or  
apps/, but I am concerned with contrib.

There would be a similar change to GetSet.

Phil


More information about the Tinyos-devel mailing list