[Tinyos-help] How to change forwarding in CTP
Omprakash Gnawali
gnawali at usc.edu
Fri Apr 3 02:40:01 PDT 2009
On Fri, Apr 3, 2009 at 2:31 AM, Liu Shucheng <lshucheng at gmail.com> 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
More information about the Tinyos-help
mailing list