<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>OpenThread IPv6 TTL</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63470/openthread-ipv6-ttl</link><description>Dear Support, 
 I have a question about the IPv6 networking with OpenThread. I do have an mesh network with about 50 nodes (PCA10059) and implemented CoAP servers and clients to communicate with each other. 
 My question is: I need to know how much hops</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 12 Jul 2020 10:22:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63470/openthread-ipv6-ttl" /><item><title>RE: OpenThread IPv6 TTL</title><link>https://devzone.nordicsemi.com/thread/259578?ContentTypeID=1</link><pubDate>Sun, 12 Jul 2020 10:22:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93300b70-b62c-42b4-9ddd-859813a69903</guid><dc:creator>Rouben</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry for the question. I opened an new case fot that:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/63670/openthread-coap-multicast-message-id"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/63670/openthread-coap-multicast-message-id&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OpenThread IPv6 TTL</title><link>https://devzone.nordicsemi.com/thread/259116?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 09:09:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:511e16d6-77fd-47b6-97f8-dd77ed96fc62</guid><dc:creator>Rouben</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;J&amp;oslash;rgen,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;that works perfectly with the otMessageInfo structure, thank you. I found an other mistake, I have made. I subscribed and sent the CoAP message to a Link-Local IPv6 address (ff02::4). I changed that and I can know read out the number of hops the message has taken.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have another question to you. I read out the message ID from the CoAP message ( otCoapMessageGetMessageId(p_request) ). If I send the message to the Link-Local IPv6 (ff02::4) address the ID was valid. But if I send it to a Mesh-Local address (ff03::4) the ID is&amp;nbsp;always 0. Is it possible to get the message ID with the Mesh-Local address?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you very much.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rouben&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OpenThread IPv6 TTL</title><link>https://devzone.nordicsemi.com/thread/258823?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2020 14:03:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c8ddd70-7c43-4070-9fac-9da98309ce90</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/structot_message_info.html"&gt;otMessageInfo&lt;/a&gt; structure has a&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/structot_message_info.html#a6f2c260a3babcee555f67ac4c5feccc7"&gt;mHopLimit&lt;/a&gt;&amp;nbsp;member. This is decremented by each router that forwards the message. By default, this is set to &lt;a href="https://github.com/openthread/openthread/blob/master/src/core/config/ip6.h#L65"&gt;OPENTHREAD_CONFIG_IP6_HOP_LIMIT_DEFAULT&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note that Thread has a maximum path cost of 16. The path cost for a single hos may be between 1 and 4 depending on the link quality. Thread uses proactive routing calculation, you can get the path cost to another router from&amp;nbsp;&lt;span&gt;otThreadGetRouterInfo::mPathCost (have a look at the &lt;a href="https://github.com/openthread/openthread/blob/c6a258e3a5bd90aa26d8245c435c0ae5797027f4/src/cli/cli.cpp#L2887-L2913"&gt;CLI source code&lt;/a&gt; on how this is implemented).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you search the Thread specifications for &amp;quot;hop count&amp;quot;, you will find more details on how hop count works.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>