X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fnet%2FDisseminationValue.nc;h=27a5da46cdf74509e601621308a2048d40567ba7;hb=d199b394f37c001ea8085aa6580bfb315e6557cb;hp=854d9ad12ec58a0331e96faba8c1aa76cf43fd7c;hpb=28f8792264e3ea04689f8551e65b5ad6f6de653f;p=tinyos-2.x.git diff --git a/tos/lib/net/DisseminationValue.nc b/tos/lib/net/DisseminationValue.nc index 854d9ad1..27a5da46 100644 --- a/tos/lib/net/DisseminationValue.nc +++ b/tos/lib/net/DisseminationValue.nc @@ -46,6 +46,15 @@ interface DisseminationValue { */ command const t* get(); + /** + * Set the variable to a new value. The provider of this interface + * will copy the value from the pointer. NOTE: This command does + * not cause the new value to begin disseminating. It is intended to + * be used for setting default values. + */ + + command void set( const t* ); + /** * Signalled whenever variable may have changed. */