[Tinyos-help] DTOSH_DATA_LENGTH
Nahr Elk
nahrelk at gmail.com
Mon May 18 12:47:00 PDT 2009
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. <razvanm at cs.jhu.edu>
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090518/f7ff333f/attachment.htm
More information about the Tinyos-help
mailing list