[Tinyos-help] Forwarding messages on TOSSIM

Pedro Nunes pmrnunes at gmail.com
Wed Nov 10 12:04:40 PST 2010


Thank you for your fast reply, but that way I will be adding 1 byte of
redundant information. I thought there would be some mechanism that would
allow me to send a message exactly as I received it. Is there any?

Pedro Nunes

On Wed, Nov 10, 2010 at 7:37 PM, wasif masood <rwmasood at gmail.com> wrote:

> its the usual way how things should work. For your particular case, define
> a custom Forward msg with control and data fields and within the control
> field declare a field as origin and populate it by the time of initail send
> out.
> On Wed, Nov 10, 2010 at 8:05 PM, Pedro Nunes <pmrnunes at gmail.com> wrote:
>> Hello all.
>> Does anyone know how to forward messages on TOSSIM? I was trying to
>> achieve this by using Snoop interface and then call AMSend.send again, but
>> this will overwrite existing headers (i.e. source address), and therefore
>> when a third node receives it, it can't tell where the message came from
>> initially.
>> Regards,
>> Pedro Nunes
>> _______________________________________________
>> Tinyos-help mailing list
>> Tinyos-help at millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> --
> Wasif Masood
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20101110/425c1846/attachment.htm 

More information about the Tinyos-help mailing list