[ndnSIM] How to add vector type tag to Interest/Data?

Hussein AlOmaisi alomaisi2004 at yahoo.com
Wed Jan 6 00:54:06 PST 2021

In ndnSIM 2.8, there is a TLV type of GeoTag(as vector3d) in NDN LP which is a vector which can be add to Interest and Data packet. You can use it for your purpose or create a new one following the same logic of GeoTag.See the following links:https://ndnsim.net/current/doxygen/classndn_1_1lp_1_1GeoTag.html

I hope it helps.Best regards,

  On Wed, 6 Jan 2021 at 4:00 am, ndnsim-request at lists.cs.ucla.edu<ndnsim-request at lists.cs.ucla.edu> wrote:   Send ndnSIM mailing list submissions to
    ndnsim at lists.cs.ucla.edu

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
    ndnsim-request at lists.cs.ucla.edu

You can reach the person managing the list at
    ndnsim-owner at lists.cs.ucla.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ndnSIM digest..."

Today's Topics:

  1. How to add vector type tag to Interest/Data? (Zhongxiang Zhu)


Message: 1
Date: Mon, 4 Jan 2021 20:02:10 +0000
From: Zhongxiang Zhu <zzxfisher at gmail.com>
To: ndnsim at lists.cs.ucla.edu
Subject: [ndnSIM] How to add vector type tag to Interest/Data?
    <CAKtiKCEdM=f=19kgPAhzuJcRYVJJEorEKGjHgY+ftrBrGz1JLg at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"


I have attached uint64_t and string types as tags to Interest/Data, but I'm
trying to add a vector type tag as well.
In field-decl.hpp, DecodeHelper and EncodeHelper don't know about vector
type and there's no method defined for vector in block-helpers too.
Please help that how can I define my own in order to attach a vector tag.

Many Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210104/9ddbd21f/attachment-0001.html>


Subject: Digest Footer

ndnSIM mailing list
ndnSIM at lists.cs.ucla.edu


End of ndnSIM Digest, Vol 98, Issue 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210106/8298de7d/attachment.html>

More information about the ndnSIM mailing list