Hi to all, 
I have a very problem in defining a message types to send over the radio!
I want to make they endianess-indipendent so I use the nx_ suffix with 
structures and basic types. 
However, when I compile my application I get errors like the following:

'DataMsg' defined as wrong kind of tag.

and this is the type definition:

typedef nx_struc DataMsg{
   nx_uint16_t dato;
   ControlInfo control;
} DataMsg;

typeDef nx_struct ControlInfo{
  nx_uint16_t some_info;
} ControlInfo

Is it because I use a type inside another one??
Could anyone help me??

Thanks in advance,
Flavio



_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to