Project

General

Profile

Bug #5102

jNDN incompatible with new NFD

Added by Anders Plymoth 11 months ago. Updated 14 days ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Start date:
04/15/2020
Due date:
% Done:

0%

Estimated time:
5.00 h

Description

Current version of jNDN is incompatible with the TLV new wire format, NFD drops all incoming interests from jNDN.

#1

Updated by Jeff Thompson 11 months ago

  • Status changed from New to Feedback

I updated jNDN to add support for wire format v0.3. See the release announcement here:
https://www.lists.cs.ucla.edu/pipermail/ndn-lib/2020-April/000524.html

Quoting from the announcement:

To make jNDN send packets with wire format v0.3, put the following in your application’s main method:

WireFormat.setDefaultWireFormat(Tlv0_3WireFormat.get());

Alternatively, to change the default for all applications, in the following line:
https://github.com/named-data/jndn/blob/master/src/net/named_data/jndn/encoding/TlvWireFormat.java#L27

public class TlvWireFormat extends Tlv0_2WireFormat {

change Tlv0_2WireFormat to Tlv0_3WireFormat and rebuild jNDN.

Let me know if it solves the issue.

#2

Updated by Davide Pesavento 16 days ago

Calling setDefaultWireFormat works for me. Moreover, jNDN v0.25 uses Tlv0_3WireFormat by default now. I think this issue can be closed.

#3

Updated by Jeff Thompson 14 days ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF