Tehn Yit Chin wrote:
Hi,

I am experimenting with multihop routing in the surge tutorial. While I was browsing through the source, in particular, tos/lib/Router/MultiHopRouter.nc, I noticed that it uses MultiHopRouteM or MultiHopEngineM depending on whether OLD_ROUTING is defined.

What is the difference between the MultiHopRouteM and MultiHopEngineM? It appears that MultiHopRouteM has better facilities for routining a packet.

The reason that I am looking through the multihop source is that I am not able to get the packet to multihop in the Surge tutorial.

cheers,

I did some more digging, and found that it is calling RouteSelect.selectRoute() in MultiHopLEPSM.nc, however it appears to be returning a FAIL all the time.

Does this means that the motes are not able to find a suitable route, and just drop the packet?

I also programmed the base mote with the surge application and this is the application that appears to be forwarding packets. I don't understand why the base station is forwarding any packets as the packets already reached its destination, right?

Tehn Yit Chin
Embedded System Engineer, Grey Innovation Pty. Ltd.


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

Reply via email to