On Sat, May 2, 2009 at 7:46 AM, Shucheng Liu <[email protected]> wrote: > Hi all, > I'm using Tinyos 2.0, and I'm developing a small multihop network of telosb > motes with CTP as the protocol.I based my code in the Antitheft application. > Now the sink motes can receive packets from other motes. > > In my program I want to add some functions on forwarders to get the packet > overheard, I mean to get those packets overheard and dropped by the > mote and forwarded by other ones. One possible solution is to modify > CtpForwardingEngine. I wonder whether there is any possibility to do this > without do some change to Ctp.
You can use the intercept function if you want to add/update some information to the packet on each hop. You will be able to do this without changing the forwarding engine. - om_p _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
