<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On Oct 9, 2017, at 11:27 AM, Adhy Satya <<a href="mailto:adhysatya820@gmail.com" class="">adhysatya820@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><p class="MsoNormal">Hi,<span class=""></span></p><div class=""><span class=""> </span><br class="webkit-block-placeholder"></div>

I am looking on the TODOs from the code and have a few questions.<br class=""><div class=""><span class=""> </span><br class="webkit-block-placeholder"></div><p class="MsoNormal">1. In the first TODO in the `doSend() ` -<a href="https://github.com/4th-ndn-hackathon/ndnSIM-Mobile-Simulation-Package/blob/master/model/ndn-v2v-net-device-transport.cpp#L92" class="">here</a>-
 where we need to remove the previous tag
if it exists, does `lpPacket.get<::ndn::lp::GeoTagField>();` work like
the PeekPacketTag()? i.e., does it search for a matching tag and calls deserialize()? I don't understand why line 95 is commented out.</p></div></div></blockquote><div><br class=""></div><div>You always need to attach the latest GeoTag to the Interests that you send. That is why you have to remove an out-dated tag if that exists. lpPacket.get<::ndn::lp::GeoTagField>() fetches a GeoTag object. Then you can do whatever you want with it. line 95 is commented out because we did not get to finish the implementation.</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><p class="MsoNormal"><span class=""></span></p><p class="MsoNormal">2. What is the reason of setting isLocal to true if geo tag
field exists? (Line #98)</p></div></div></blockquote>Take a look at the computeWaitingTime method.<br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><p class="MsoNormal"><span class=""></span></p><p class="MsoNormal">3. On Line #112, what the reason for checking the HopCount after computing the WaitingTime? There's no reference to hopCount in the Rapid Traffic Dissemination... paper.</p></div></div></blockquote><div>I am not sure why there is a TODO for that.</div><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><p class="MsoNormal">4. How do I associate the v2v-net-device-transport to my link type? Or how do I hardcode my simulation to use the v2v-net-device?</p><div class=""><br class=""></div></div></div></blockquote><div><br class=""></div><div>Well, it would be better to create a helper that selects the right transport. The transport is created in the stack-helper:</div><div><br class=""></div><div><a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/helper/ndn-stack-helper.cpp#L273-L285" class="">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/helper/ndn-stack-helper.cpp#L273-L285</a></div><div><br class=""></div><div>Hope that this helps,</div><div><br class=""></div></div></div><div class=""><div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div><div class=""><span class="" style="float: none; display: inline !important;"><br class=""></span></div></div></div></div></body></html>