I would like to ask you some questions regarding the Surge application.
1)
In the Source.nc file it is written:
configuration Surge {
}
implementation {
components Main, SurgeM, ..., MultiHopRouter as multihopM,...
...
}
The MoultiHopRouter refers to corresponding file of the
C:\tinyos\cygwin\opt\tinyos-1.x\tos\lib\Route? (Because I have read in
another post that the Surge application is using the MintRoute.. However
inside the MintRoute folder there is no MultiHopRouter.nc file.)
2)
I am using messages of type SurgeMsg. I have modified the SurgeMsg in
order to include one more field: uint16_t counter (in addition to the
already defined: type, reading, parentaddr).
I send this SurgeMsg via the SurgeM.Send -> multihopM.Send[AM_SURGEMSG];
My requirement is not to forward again a packet with a "counter" that has
been already forwarded. For example, if a SurgeMsg with counter=10 has
already reached the base station via a certain path, a SurgeMsg with
counter=10 should not reach the base station via another path as well.
In order to accomplish this I should apply changes in the Route (Or
MintRoute) directory?
I am looking forward to your reply.
Thank you very much in advance for your very precious help.
Niki.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help