[Tinyos-devel] Proposed patch to TinyOS C SDK
David Gay
dgay42 at gmail.com
Tue Jun 17 08:54:26 PDT 2008
On Wed, May 28, 2008 at 4:57 AM, Dima Kogan <dkogan at cds.caltech.edu> wrote:
> I found an error in message.[ch] in the TinyOS C SDK.
>
> Currently the definition of the tmsg structure is in message.c:
>
> struct tmsg {
> uint8_t *data;
> size_t len;
> };
>
> It really should be in message.h instead, in order to make this
> structure available to external programs that want to use messages. In
> particular, mig-generated C code needs to do this. Objections?
Yes - it was placed in message.c as it's supposed to be an abstract
data type. The methods in message.h should be giving you all the
access you need.
David, answering slowly.
More information about the Tinyos-devel
mailing list