<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hello Anders,</div>
<div><br>
</div>
<div>I updated jNDN to add support for wire format v0.3. See the release announcement here:</div>
<div><a href="https://www.lists.cs.ucla.edu/pipermail/ndn-lib/2020-April/000524.html">https://www.lists.cs.ucla.edu/pipermail/ndn-lib/2020-April/000524.html</a> </div>
<div><br>
</div>
<div>Quoting from the announcement:</div>
<div><br>
</div>
<div>
<div>
<div>To make jNDN send packets with wire format v0.3, put the following in your application’s main method:</div>
<div><br>
</div>
<div>    WireFormat.setDefaultWireFormat(Tlv0_3WireFormat.get());</div>
<div><br>
</div>
<div>Alternatively, to change the default for all applications, in the following line:</div>
<div><a href="https://github.com/named-data/jndn/blob/master/src/net/named_data/jndn/encoding/TlvWireFormat.java#L27">https://github.com/named-data/jndn/blob/master/src/net/named_data/jndn/encoding/TlvWireFormat.java#L27</a> </div>
<div></div>
<div><br>
</div>
<div>    <span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-en">TlvWireFormat</span> <span class="pl-k">extends</span> <span class="pl-e">Tlv0_2WireFormat</span> {</div>
<div><br>
</div>
<div>change Tlv0_2WireFormat to Tlv0_3WireFormat and rebuild jNDN.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>- Jeff T</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Ndn-interest <<a href="mailto:ndn-interest-bounces@lists.cs.ucla.edu">ndn-interest-bounces@lists.cs.ucla.edu</a>> on behalf of Anders Nilsson Plymoth <<a href="mailto:anders@telhoc.se">anders@telhoc.se</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, April 14, 2020 at 16:06:00<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:ndn-interest@lists.cs.ucla.edu">ndn-interest@lists.cs.ucla.edu</a>" <<a href="mailto:ndn-interest@lists.cs.ucla.edu">ndn-interest@lists.cs.ucla.edu</a>><br>
<span style="font-weight:bold">Subject: </span>[Ndn-interest] jNDN wire format<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Hi all,
<div><br>
</div>
<div>I have tried using jNDN and trying out a couple of examples but none of them work. It seems that jNDN is still using the old TLV-0.2 wire format while the NFD is now using TLV-0.3 and is refusing any connections. Does anyone have any idea how to fix this?
 I tried to compile an older version of the NFD (like 0.6.6), but that doesn't compile on my system, only master seems to work.</div>
<div><br>
</div>
<div>Any suggestions?</div>
<div><br>
</div>
<div>Thanks!</div>
<div>Anders</div>
</div>
</div>
</div>
</span>
</body>
</html>