end about 20 bytes useless.
>
> And in WSN we must preserve energy consumption….
>
> Isn’t more economic method?
>
>
>
> *De :* Mehmet Akif Antepli [mailto:akifante...@gmail.com]
> *Envoyé :* vendredi 9 juillet 2010 16:07
> *À :* Omar Cheikhrouhou (yahoo)
> *Cc :*
: vendredi 9 juillet 2010 16:07
À : Omar Cheikhrouhou (yahoo)
Cc : tinyos help
Objet : Re: [Tinyos-help] TR: message structure
Hi,
You need to allocate the data array statically at maximum size (considering
your max possible message length) and note that the total payload size
should not
Hi,
You need to allocate the data array statically at maximum size (considering
your max possible message length) and note that the total payload size
should not exceed TOSH_DATA_LENGTH.
Regards,
On Fri, Jul 9, 2010 at 5:45 PM, Omar Cheikhrouhou (yahoo) <
enis01a...@yahoo.fr> wrote:
>
>
> I us
I use a struct of message with data length that depend on the type of
message
How can do that in nesC?
typedef struct riseg_msg{
nx_uint8_t type;/*the type of the riseg message*/
nx_uint8_t data[size depend on type]; /* the data is also a struct that
depend on the type of t