Hi,

is Packet.clear() called when I create a new message_t variable (like  
a constructor would be)? I am working on an implementation of the DSR  
protocol and since DSR headers are not of a fixed length I have a  
little trouble with the Packet interface. I don't see how  
Packet.getPayload() can return a pointer to a received packet's  
payload as well as to a newly created one's if I can't store a  
predefined header for a newly created empty packet.

David
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to