[Tinyos-devel] Set interface
Philip Levis
pal at cs.stanford.edu
Tue Jun 3 09:39:17 PDT 2008
On Jun 3, 2008, at 9:32 AM, Philip Levis wrote:
> 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?
Whoops, I wasn't clear. The change would be to
interface Set<val_t> {
command error_t set(val_t val);
}
Phil
More information about the Tinyos-devel
mailing list