<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>