On Wed, Sep 30, 2009 at 10:13 PM, sivagami amirthalingam <[email protected]> wrote: > > Hello > I would like to change the routing decision of CTP protocol based on > residual energy. I counted the number of received packets and PRR(packet > reception rate) for the original CTP protocol. I got the values as 1518 and > 92.8% respectively. I have added one field uint8_t energy in the > ctp_routing_header_t of ctp.h . Now, I simulated the program with out > changing any other part of the program. Now I got values as 1215 and 85% prr. > > How to add extra field in the routing header without affecting the routing > performance.
You might look into things that might have changed such as random number seed, use of different noise traces, termination times, etc. Adding a field should not increase or decrease the PRR unless you are somehow corrupting the header and sequence number. - om_p _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
