[Tinyos-help] Bit-field Struct
Ittipong Khemapech
ik.tinyos at googlemail.com
Thu Apr 2 07:36:15 PDT 2009
Hi,
I've been trying to use bit-field struct:
typedef nx_struct MyMsg {
unsigned int type: 1;
nx_uint8_t id;
...
} MyMsg;
I've got "field 'type' must be a network type" error.
Any idea how to get it right?
I'm using TinyOS 2.0.2 and cygwin.
Thanks,
Ittipong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090402/54f7904c/attachment.htm
More information about the Tinyos-help
mailing list