ah, I thought you also need to mark the forwarded path. normally its changed by MAC and I am not sure how far you can access MAC layer in TOSSIM.
On Wed, Nov 10, 2010 at 10:50 PM, Pedro Nunes <[email protected]> wrote: > 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 <[email protected]> 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 <[email protected]> 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 <[email protected]>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 <[email protected]>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 >>>>> [email protected] >>>>> >>>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>>>> >>>> >>>> >>>> >>>> -- >>>> Wasif Masood >>>> >>>> >>> >> >> >> -- >> Wasif Masood >> >> > -- Wasif Masood
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
