On May 31, 2010, at 6:04 PM, Pedro Nunes wrote: > Hi, Phil. > > Thanks for your reply. I agree with what you said. > > -- Within TossimActiveMessageC I did change the previous call of Model.send > to: > err = call Model.send((int)addr, amsg, len + sizeof(tossim_header_t) + > sizeof(tossim_footer_t)); > > -- Regarding to TossimPacketModelC, I deleted the "+ > sim_packet_header_length()": > duration = 8 * (sendingLength); // where sendingLength is > actually (len + header + footer) > > Still, I don't think this has any impact on simulation since the whole > message_t is passed whether you include footer's length or not. > For the double-count of header, the only result is that a message would take > longer to be transmitted. >
Fixed. Phil _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
