[Tinyos-help] a question about memory allocation

Philip Levis pal at cs.stanford.edu
Tue Jan 16 14:03:54 PST 2007


On Jan 16, 2007, at 1:07 PM, Tao Wu wrote:

> Hi,
>
> I am interested to know how memory  is allocated /released  in   
> message receive/sending.  For example,  when one  node  receives a  
> message from radio,  which function is responsible for allocation  
> memory, and whether the allocated memory will be overridden if a  
> new message coming from radio again? Any information will be  
> appreciated. Thanks a lot in advance.
>

For TinyOS 2.0, Please read TEP 116: Packet Protocols. While the  
TinyOS 1.x is different in a few ways, the memory allocation is for  
the most part the same.

Phil



More information about the Tinyos-help mailing list