[Tinyos-help] Forwarding messages on TOSSIM

Pedro Nunes pmrnunes at gmail.com
Wed Nov 10 13:50:27 PST 2010


But the purpose here is to get a message A from node 1 to node 10, so that
node 10 can see that A.src = 1 (i.e., all other nodes would just receive the
message and forward it). Is this feasible?

Regards,
Pedro Nunes

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

>
>
> but in case of chain forwarding, it has to overite the src and dest fields
> at each node. This is always done like i mentioned
>
>
> On Wed, Nov 10, 2010 at 9:04 PM, Pedro Nunes <pmrnunes at gmail.com> wrote:
>
>> Hi.
>>
>> 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?
>>
>> Regards,
>> 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
>>>
>>>
>>
>
>
> --
> Wasif Masood
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20101110/42f7af7d/attachment.htm 


More information about the Tinyos-help mailing list