<div><div dir="auto">Hi Arash</div></div><div dir="auto"><br></div><div dir="auto">Interest interest("/A"); // create Interest</div><div dir="auto">interest.setParameters("C0C1C2C3"_block); // add payload</div><div dir="auto">face.expressInterest(interest, onData, onNack, onTimeout); // send Interest</div><div dir="auto">std::cout << interest.getParameters(); // examine payload</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div><div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 2, 2018 at 08:25 Arash Daneshmand <<a href="mailto:arash.outline@gmail.com">arash.outline@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Greetings,</div><div><br></div><div>I want to create a custom interest packet with my custom payload and send it through the consumer. I want to be able to examine the interest and response packets in the consumer and producer. <br></div><div>I was hoping you could help me with some examples or pieces of c++ codes.</div><div><br></div><div>Thank You In Advance,</div><div>Arash Daneshmand<br></div></div><br>
</blockquote></div></div>