Bug #5102
closedjNDN incompatible with new NFD
0%
Description
Current version of jNDN is incompatible with the TLV new wire format, NFD drops all incoming interests from jNDN.
Updated by Anonymous over 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.
Updated by Davide Pesavento almost 4 years ago
Calling setDefaultWireFormat
works for me. Moreover, jNDN v0.25 uses Tlv0_3WireFormat
by default now. I think this issue can be closed.