On Fri, Apr 3, 2009 at 2:31 AM, Liu Shucheng <[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 between 
> forwarders receiving and forwarding packets.  One possible solution is to 
> modify CtpForwardingEngine. I wonder whether there is any possibility to do 
> this without do some change to Ctp.

If you want to be able to change the packet after reception and before
forwarding, CTP can signal Intercept to your application with the
received packet.

- om_p

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to