Project

General

Profile

Actions

Bug #5102

closed

jNDN incompatible with new NFD

Added by Anders Plymoth almost 4 years ago. Updated about 3 years 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.

Actions #1

Updated by Anonymous almost 4 years 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.

Actions #2

Updated by Davide Pesavento about 3 years ago

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

Actions #3

Updated by Anonymous about 3 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF