Task #4925
closedPossible Bug in jNDN's interest
0%
Description
I've found that the interest generated by jNDN has a TLV block with TLV type 0x09; according to the NDN TLV-TYPE number assignment page (https://named-data.net/doc/NDN-packet-spec/current/types.html), this was formerly for selectors but is now reserved.
Is this an actual bug in jNDN, or am I doing something incorrectly? I have double checked that I am using the latest version of jNDN in my project (version 0.21).
I have attached a screenshot of my code.
Files
Updated by Edward Lu over 5 years ago
Ah, I found that this isn't a bug and is actually just a problem with the ndn-lite library's implementation. As I understand it, the flag day for adding the NDN packet v3 support hasn't come yet, so it is okay for the jndn library to still have the old packet format.
Updated by Anonymous over 5 years ago
- Status changed from New to Closed
That's right. Thanks for figuring it out. jNDN still emits v02 encoding. However, if you set the Interest application parameters field (which is only in v03), then it will emit v03 encoding.