[Tinyos-help] Can i declare a struct field with message_t type in tinyos 2.x

Boni Chick boni.chick at yahoo.de
Mon Oct 29 05:28:17 PDT 2007


Hello, 

I am having problem when building a struct in tinyos 2.x :

typedef nx_struct MsgBuff{
    nx_uint16_t status;
    nx_struct message_t mssg;
} __attribute__((packed)) MsgBuff;

it raises the error:  field `mssg' has incomplete type, field `mssg' must be a network type

Is there any suggestion to solve this prob?

Thanks in advance, 

Boni.




       __________________________________ Ihr erstes Fernweh? Wo gibt es den schönsten Strand? www.yahoo.de/clever
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20071029/6d160dfa/attachment.html


More information about the Tinyos-help mailing list