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
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to