2009/7/30 Rémi Villé <[email protected]>

> Hi,
>
> I try to exactly know the size of messages I use in a distributed
> application. One parameter in this message is an enum type and I don't know
> if it will be a 8,16 or 32 bit integer on a mote.
> Is there a way to know the size of an enum variable? I use enum because
> it's practical, but maybe I shouldn't use it in a network message.
>
> Regards,
>
> Rémi
>

Sorry for this useless question :s, I use a nx_uint8_t parameter and when I
affect an enum variable to  it there's no ambiguity.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to