[Tinyos-devel] Current status of the message buffer discussion

David Gay dgay42 at gmail.com
Fri May 8 08:31:26 PDT 2009


On Thu, May 7, 2009 at 5:59 PM, Vlado Handziski
<handzisk at tkn.tu-berlin.de> wrote:
>     // for every byte a component wants to reserve in the
>     // metadata buffer it would declare a unique(METADATA_BYTE)
>     uint8_t metadata[uniqueCount(METADATA_BYTE)];

Not a comment on the discussion itself, but I'd like to remind people
that there's a
uniqueN(METADATA_BYTE, k) "function" that will reserve k (a constant
expression) contiguous bytes. And that k separate calls to
unique(METADATA_BYTE) are *not* guaranteed to return contiguous
values...

David



More information about the Tinyos-devel mailing list