On Dec 29, 2004, at 11:35 AM, Yogesh Iyer wrote:

Hi,

I am trying to understand the multihop routing implemented by Surge. Surge uses�the MultiHopRoute.nc for routing.

Now, In the implementation section of the MultiHopRoute.nc file, there are preprocessor directives defined on the OLD_ROUTING identifier. I wanted to know whether the Surge application executes the Old_routing�(the MultiHopRouteM module) or the else part (the MultiHopLEPSM module).

Can someone please help me�understand how to figure that out?

Thanks,
Yogesh.

Three ways:

1) Make docs and look at the component graph
2) take a look at build/*/app.c (the generated C file) and see which is there
3) Run it in TOSSIM and use gdb


Phil

---------------

"We shall not cease from exploration
And the end of all our exploring
Will be to arrive where we started
And know the place for the first time."

- T. S. Eliot,  'Little Gidding'

_______________________________________________
Tinyos-users mailing list
[email protected]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to