<div dir="ltr"><div><div><div>Thank you Alex, it was interest expiration issue.<br></div>Also, Thanks for sharing the new NFD docs (<a href="http://named-data.net/techreport/ndn-0021-3-nfd-developer-guide.pdf">http://named-data.net/techreport/ndn-0021-3-nfd-developer-guide.pdf</a>).<br><br></div><div>Do we have an ndnSIM IRC where we all can actively chat?<br></div><div><br></div>Cheer,<br></div>Hitesh<br><div><div><div><div><div> <br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 9, 2015 at 5:15 PM, Hitesh Wadekar <span dir="ltr"><<a href="mailto:hitesh.wadekar@gmail.com" target="_blank">hitesh.wadekar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thank you Alex for the information. Let me increase the interest lifetime and check whether that could be a problem or not. <br><br></div><div>Regards,<br></div><div>Hitesh<br></div><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 9, 2015 at 4:42 PM, Alex Afanasyev <span dir="ltr"><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank">alexander.afanasyev@ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Hi Hitesh,</div><div><br></div><div>There are several reasons why data packet be not propagated along the interest path.  Most likely it mistmatches the interest or interest expires before data packet is retrieved.</div><div><br></div><div>To help more, you need to give us a reproducible scenario/example.  You can enable more NFD logging to see what is going on with the data packet (look for loggers starting “nfd.” in <a href="http://ndnsim.net/2.0/doxygen/LogComponentList.html" target="_blank">http://ndnsim.net/2.0/doxygen/LogComponentList.html</a>)</div><div><br></div><div>—</div><div>Alex</div><br><div><blockquote type="cite"><div><div><div>On Feb 9, 2015, at 1:37 PM, Hitesh Wadekar <<a href="mailto:wadekahn@clarkson.edu" target="_blank">wadekahn@clarkson.edu</a>> wrote:</div><br></div></div><div><div><div><div dir="ltr"><div dir="ltr"><div><div>Hello Guys,<br><br></div>I started to porting my code to ndnSIM2.0, however, I am facing a weired issue, It would be really helpful for me if you guys pointed out some suggestion and the steps/tips to debug or identify the reason why it so.<br><br></div><div></div><div>I have my code working on old version of ndnSIM, we thought that since recently we launched ndnSIM2.0, we have started to port the code on it. The issue is I am not able to receive the data packet on the other node. However, I am able to send interest packet on the all node. The code logic and everything is same as sample example given for Consume and Producer App. Also, I have verified the route as well along with signature/ wireEncode.<br><br></div><div>Since I am receiving 'Interest Packet"  hence looks like FIB entries (routes) could not be a problem.<br></div><div><br></div><div>Here is sample code that I am using,<br><br></div><div>void ConsumerApp::SendDataPacket(shared_ptr<const Interest> interest) {<br>    if (!m_active)<br>        return;<br>    NS_LOG_FUNCTION(this << interest);<br>    std::cout<< "ConsumerApp: Sending a Data Packet -> "<< interest->getName() << std::endl;<br>    <br>    Name dataName(interest->getName());<br>    auto dPacket = make_shared<Data>();<br>    dPacket->setName(dataName);<br>    dPacket->setFreshnessPeriod(ndn::time::milliseconds(3000));<br>    dPacket->setContent(make_shared< ::ndn::Buffer>(m_virtualPayloadSize));<br><br>    Signature signature;<br><br>    SignatureInfo signatureInfo(static_cast< ::ndn::tlv::SignatureTypeValue>(255));<br><br>    if (m_keyLocator.size() > 0) {<br>        signatureInfo.setKeyLocator(m_keyLocator);<br>    }<br><br>    signature.setInfo(signatureInfo);<br>    signature.setValue(Block(&m_signature, sizeof(m_signature)));<br><br>    dPacket->setSignature(signature);<br>    dPacket->wireEncode();<br>    std::cout << "\n ConsumerApp: Data packet- > " << dPacket->getName () << " is sending from face -> " << m_face << std::endl;<br><br>    m_transmittedDatas(dPacket, this, m_face);<br>    m_face->onReceiveData(*dPacket);<br>    std::cout << "\n";<br>} <br></div><div><br></div><div>I am looking forward to hear from you back.<br></div><div> <br></div><div></div><div>Thank you.<br><br></div><div>Regards,<br></div><div>Hitesh Wadekar</div></div></div></div></div>
_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br></div></blockquote></div><br></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>