Hi,
Thank you Razvan,
I would like to change the data payload size dynamically according to my
application exigences.
And I am not so convinced that setPayloadLength(message_t* msg, uint8_t len)
is the right solution

Best regards,
Nahr Elk

2009/5/18 Razvan Musaloiu-E. <[email protected]>

Hi!
>
> On Sun, 17 May 2009, Nahr Elk wrote:
>
>  Hi
>> Is there any way to change DTOSH_DATA_LENGTH at run time instead of at
>> compile time ? :)
>>
>>
> No. TOSH_DATA_LENGTH is used to allocate the size of the data field from
> message_t (types/message.h) so you cannot alter it at during runtime. May I
> ask why do you want to do this?
>
> --
> Razvan ME
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to