<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Wireless MCUのトピックThread - LastCommTime and Timestamp</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Thread-LastCommTime-and-Timestamp/m-p/617041#M1902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the THCI response to a&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;GetNeighborInfo&lt;/SPAN&gt; request, what time base does the field &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LastCommTime&lt;/SPAN&gt; have? &amp;nbsp;For instance, when I power cycle a device and begin reading neighbor info, some neighbors come back with a &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LastCommTime&lt;/SPAN&gt; of greater than 4200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see in &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;thci.c&lt;/SPAN&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LastCommTime&lt;/SPAN&gt; is defined as...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;lastCommTime = ((&lt;SPAN class=""&gt;uint32_t&lt;/SPAN&gt;)TmrMicrosecondsToSeconds(TMR_GetTimestamp()) - pThrNeighbor-&amp;gt;&lt;SPAN class=""&gt;timestamp&lt;/SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;Is &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;pThrNeighbor-&amp;gt;timestamp&lt;/SPAN&gt; restored from non-volatile memory? &amp;nbsp;I'm trying to figure out &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LastCommTime&lt;/SPAN&gt; for a neighbor comes back as a large number when the device has only been powered up for less than 60 seconds.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;How does the field &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Timeout&lt;/SPAN&gt; relate to &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LastCommTime&lt;/SPAN&gt;? &amp;nbsp;Let's consider a REED device, will a neighbor ever drop off the list? &amp;nbsp;For instance, let say we have tree devices, X, Y, and Z. &amp;nbsp;All three are REEDs (they all are routers) and X is the leader. &amp;nbsp;X can directly communicate with Y, Y can directly communicate to Z, and X can communicate to Z via Y.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;X &amp;nbsp;--&amp;gt; &amp;nbsp;Y &amp;nbsp;--&amp;gt; &amp;nbsp;Z&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;In my experience, X shows Z as a neighbor even though it can't directly communicate to it. &amp;nbsp;The reading the neighbor info out of X, Z's &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LastCommTime&lt;/SPAN&gt;&amp;nbsp;continues to grow and the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Timeout&lt;/SPAN&gt; is 0.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;Any help in understanding the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LastCommTime&lt;/SPAN&gt;&amp;nbsp;and &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Timeout&lt;/SPAN&gt; fields with respect to neighbors would be appreciated.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;Thanks,&lt;/P&gt;&lt;P class=""&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Oct 2016 19:41:33 GMT</pubDate>
    <dc:creator>ryanbryngelson</dc:creator>
    <dc:date>2016-10-31T19:41:33Z</dc:date>
    <item>
      <title>Thread - LastCommTime and Timestamp</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Thread-LastCommTime-and-Timestamp/m-p/617041#M1902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the THCI response to a&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;GetNeighborInfo&lt;/SPAN&gt; request, what time base does the field &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LastCommTime&lt;/SPAN&gt; have? &amp;nbsp;For instance, when I power cycle a device and begin reading neighbor info, some neighbors come back with a &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LastCommTime&lt;/SPAN&gt; of greater than 4200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see in &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;thci.c&lt;/SPAN&gt; &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LastCommTime&lt;/SPAN&gt; is defined as...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;lastCommTime = ((&lt;SPAN class=""&gt;uint32_t&lt;/SPAN&gt;)TmrMicrosecondsToSeconds(TMR_GetTimestamp()) - pThrNeighbor-&amp;gt;&lt;SPAN class=""&gt;timestamp&lt;/SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;Is &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;pThrNeighbor-&amp;gt;timestamp&lt;/SPAN&gt; restored from non-volatile memory? &amp;nbsp;I'm trying to figure out &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LastCommTime&lt;/SPAN&gt; for a neighbor comes back as a large number when the device has only been powered up for less than 60 seconds.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;How does the field &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Timeout&lt;/SPAN&gt; relate to &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LastCommTime&lt;/SPAN&gt;? &amp;nbsp;Let's consider a REED device, will a neighbor ever drop off the list? &amp;nbsp;For instance, let say we have tree devices, X, Y, and Z. &amp;nbsp;All three are REEDs (they all are routers) and X is the leader. &amp;nbsp;X can directly communicate with Y, Y can directly communicate to Z, and X can communicate to Z via Y.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;X &amp;nbsp;--&amp;gt; &amp;nbsp;Y &amp;nbsp;--&amp;gt; &amp;nbsp;Z&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;In my experience, X shows Z as a neighbor even though it can't directly communicate to it. &amp;nbsp;The reading the neighbor info out of X, Z's &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LastCommTime&lt;/SPAN&gt;&amp;nbsp;continues to grow and the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Timeout&lt;/SPAN&gt; is 0.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;Any help in understanding the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;LastCommTime&lt;/SPAN&gt;&amp;nbsp;and &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;Timeout&lt;/SPAN&gt; fields with respect to neighbors would be appreciated.&lt;/P&gt;&lt;P class=""&gt;&lt;/P&gt;&lt;P class=""&gt;Thanks,&lt;/P&gt;&lt;P class=""&gt;Ryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 19:41:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Thread-LastCommTime-and-Timestamp/m-p/617041#M1902</guid>
      <dc:creator>ryanbryngelson</dc:creator>
      <dc:date>2016-10-31T19:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Thread - LastCommTime and Timestamp</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Thread-LastCommTime-and-Timestamp/m-p/617042#M1903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;Yes, the neighbor table can be restored from NVM which is what I think is causing those long LastComm time values. I'll work to get some more details on that and the timeout value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Anthony&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2016 18:28:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Thread-LastCommTime-and-Timestamp/m-p/617042#M1903</guid>
      <dc:creator>anthony_huereca</dc:creator>
      <dc:date>2016-11-04T18:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Thread - LastCommTime and Timestamp</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Thread-LastCommTime-and-Timestamp/m-p/617043#M1904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; The large LastTime values are likely caused by stale neighbor entries, and will be fixed in the next release. &lt;SPAN style="font-size: 11pt;"&gt;The last time value is the difference between current timestamp and the timestamp of the last MLE packet received from that neighbor. In the neighbor table we only store the last communication timestamp and after a NVM restore all timestamps are restored to 0 as there is no other way of recreating the timestamp information.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; color: #000000;"&gt;The timeout value has multiple uses. It is used to store the timeout of a child (default 240s) and also used as a timestamp when performing a link sync with that neighbor. It is normal to have neighbors with 0 as they are other routers and for them the timeout field has no meaning. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;-Anthony&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 22:42:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Thread-LastCommTime-and-Timestamp/m-p/617043#M1904</guid>
      <dc:creator>anthony_huereca</dc:creator>
      <dc:date>2016-11-08T22:42:26Z</dc:date>
    </item>
  </channel>
</rss>

