<div dir="ltr"><div>Hello every one,</div><div>I'am trying to run ndn Stack over lr-wpan link layer, and i when i try to get Link Type of a node's face (by invoking face.getLinkType() fonction), the returned value is "point-to-point", which caused a dysfunction to the simulation scenario (i couldn't send data on the same incoming face for example). <br></div><div>My question is how can i change this Link Type value to "ndn::nfd::LINK_TYPE_AD_HOC", so that the forwarder of the NFD daimon could run correctely. In instance, this code in the forwarder.cpp file will not be checked in an ad-hoc scenario:</div><div>.........<br></div><div>if (pendingDownstream->getId() == inFace.getId() &&<br>          <b>pendingDownstream->getLinkType()</b> <b>!=</b> <b>ndn::nfd::LINK_TYPE_AD_HOC)</b> {<br>          continue;<br> }</div><div>...................  </div><div>Thanks a lot.<br></div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Mr DJAMA Adel.</div></div></div></div>