<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 7, 2017, at 8:31 PM, Lixia Zhang <<a href="mailto:lixia@cs.ucla.edu" class="">lixia@cs.ucla.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class=""><blockquote type="cite" class="">On Apr 7, 2017, at 5:26 PM, Aboodi Ahed Hussein Ali <<a href="mailto:aboodi@student.usm.my" class="">aboodi@student.usm.my</a>> wrote:<br class=""><br class="">Hi Junxiao,<br class=""><br class="">Thanks for clarifying that I should use the broadcast-channel for the MAC layer to broadcast a message and for informing me to consider the frame size when I send the interest. Yet, I still need to know how to advertise a service or send a command to all neighbor nodes. An example of CCNx's Service Naming Conventions is "%C1.serv/", which should be received by all neighbor nodes, where "C1" is the special name component and "serv" is the advertised service.<br class=""><br class="">From your answer, I understand that NDN has no service naming conventions" yet like CCNx, any advice, guide or suggestion that might help me do something similar to service naming convention of CCNx or do advertise a service?<br class=""></blockquote><br class="">as I mentioned in the prev msg: you could just code a service name like <br class="">.../serv/service-name<br class=""><br class="">given you are playing with it, your code at both ends know how to construct the name and parse it<br class=""></div></div></blockquote><div><br class=""></div><div>Dear Aboodi,</div><div><br class=""></div><div>I think you're misunderstanding the role of the naming conventions.  The naming conventions are required when you have multiple applications that wants to inter-operate with a similar goal in mind.  Given that you're designing a way you can advertise your service, you just need to define a naming structure for your application (in the future, this can become a convention).</div><div><br class=""></div><div>A few things that you want to consider:</div><div><br class=""></div><div>- If you want to advertise within a single hop domain, your naming structure should start with "/localhop", ensuring that such interests will not cross 1-hop boundary (see <a href="https://redmine.named-data.net/projects/nfd/wiki/ScopeControl" class="">https://redmine.named-data.net/projects/nfd/wiki/ScopeControl</a> for more information)</div><div><br class=""></div><div>- You should include some form of identification of your application in the name, e.g., "/localhop/APP"</div><div><br class=""></div><div>- Anything else after that, would be up to you to define.  You can put any data as part of the name components, including any binary data (or compressed data) that your application understand how to interpret.</div><div><br class=""></div><div>Ideally, you want to design your name so that packets are not fragmented within 802.15.4's MTU.  If not possible, you can rely on some form of fragmentation.  One option is to implement (use) NDNLPv2 (<a href="https://redmine.named-data.net/projects/nfd/wiki/NDNLPv2" class="">https://redmine.named-data.net/projects/nfd/wiki/NDNLPv2</a>) or, if NDNLPv2 overhead is not acceptable, you can define an alternative way to do fragmentation.  Our NDN-RIOT implementation (<a href="https://github.com/named-data-iot/ndn-riot" class="">https://github.com/named-data-iot/ndn-riot</a>) defines and realizes a more space-efficient way to fragment packets.</div><div><br class=""></div><div>--</div><div>Alex</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class=""><br class=""><blockquote type="cite" class="">From: Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" class="">shijunxiao@email.arizona.edu</a>><br class="">Sent: Saturday, April 8, 2017 6:33:01 AM<br class="">To: Aboodi Ahed Hussein Ali<br class="">Cc: <a href="mailto:ndn-interest@lists.cs.ucla.edu" class="">ndn-interest@lists.cs.ucla.edu</a><br class="">Subject: Re: [Ndn-interest] Broadcast message<br class=""><br class="">Hi Ahed<br class=""><br class=""><blockquote type="cite" class="">In a network scenario where every node is equipped with IEEE 802.15.4-based NDN:<br class="">1 - Is it possible to send a broadcast message (to send command or to advertise a service) to all the neighbor nodes.<br class=""></blockquote>Yes, 802.15.4 MAC supports broadcast addressing. NDN packets can be transmitted over broadcast channel.<br class=""><br class=""><blockquote type="cite" class="">2-  How can I get information on how to structure a broadcast message.<br class=""></blockquote>The main concern is that 802.15.4’s MTU is 127 octets. You may send regular Interests with NDNLPv2 fragmentation and reassembly, but each Interest would use many lower layer frames.<br class=""><br class=""><blockquote type="cite" class="">3- I have also read about "extensible command markers" of CCNx which might use "%C1.M.S.neighborhood" to broadcast a message/invoke services (correct me if I am wrong), does NDN has similar extension, and how to do it (a reference or example should help).<br class=""></blockquote>The NDN equivalent of “extensible command markers” is MarkedComponent. It’s not yet approved and not implemented.<br class=""><br class="">Yours, Junxiao<br class="">_______________________________________________<br class="">Ndn-interest mailing list<br class=""><a href="mailto:Ndn-interest@lists.cs.ucla.edu" class="">Ndn-interest@lists.cs.ucla.edu</a><br class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest<br class=""></blockquote><br class="">_______________________________________________<br class="">Ndn-interest mailing list<br class=""><a href="mailto:Ndn-interest@lists.cs.ucla.edu" class="">Ndn-interest@lists.cs.ucla.edu</a><br class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest<br class=""></div></div></blockquote></div><br class=""></body></html>