<?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のトピックRe: Can I influence the Thread network topology?</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Can-I-influence-the-Thread-network-topology/m-p/703380#M3569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Router selection is done in a distributed way,&amp;nbsp;each Router and REED chooses whether to change state based on its information about the local network topology.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;A REED requests to become a Router if either:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;•&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;The number of Routers is below ROUTER_UPGRADE_THRESHOLD&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;•&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;A Node that is attempting to attach the network attempts to use the REED as its parent.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;A Router requests to become a REED if it determines that all of the following conditions are met:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;• &lt;/SPAN&gt;&lt;SPAN class=""&gt;The number of Routers in the Thread Network Partition is above&amp;nbsp;ROUTER_DOWNGRADE_THRESHOLD.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;• &lt;/SPAN&gt;&lt;SPAN class=""&gt;It has at least one neighbor Router with at least comparable connectivity.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;• &lt;/SPAN&gt;&lt;SPAN class=""&gt;It has a relatively small number of MTD Children&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't modify the network values to modify the link costs, this is handled within the Thread library.&lt;/P&gt;&lt;P&gt;The closest control you may get is to decide when to promote a REED to be a Router, if the above conditions are met. This is merely to speed up the process, see "THR_PromoteAsRouter()".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another possible approach could be using MAC filtering (See shell demo &amp;amp; documentation) or make use of End Devices (Not REEDs) to get control of how the topology is distributed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, keep in mind that if you use battery-operated devices for Routers, the fact that they are always listening to packets (RX ON when idle) will impact the battery usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See Chapter 11.5 - "Router Selection" from Thread Specificacion for more details about how the Routers are selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-JC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Aug 2017 22:05:47 GMT</pubDate>
    <dc:creator>jc_pacheco</dc:creator>
    <dc:date>2017-08-21T22:05:47Z</dc:date>
    <item>
      <title>Can I influence the Thread network topology?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Can-I-influence-the-Thread-network-topology/m-p/703379#M3568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thread automatically manages the network topology via MLE. Children choose optimal parents, routers establish optimal links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I influence how Thread decides what is "optimal" in the MCUXpresso SDK for KW41Z? Specifically, I want to prefer connections over wired devices rather than connections over battery-powered devices. Are there callbacks I can implement, variables I can set, anything to influence how Thread chooses network topology and routing paths?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 10:07:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Can-I-influence-the-Thread-network-topology/m-p/703379#M3568</guid>
      <dc:creator>thomasblank</dc:creator>
      <dc:date>2017-08-21T10:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can I influence the Thread network topology?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Can-I-influence-the-Thread-network-topology/m-p/703380#M3569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Router selection is done in a distributed way,&amp;nbsp;each Router and REED chooses whether to change state based on its information about the local network topology.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;A REED requests to become a Router if either:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;•&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;The number of Routers is below ROUTER_UPGRADE_THRESHOLD&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;•&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;A Node that is attempting to attach the network attempts to use the REED as its parent.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;A Router requests to become a REED if it determines that all of the following conditions are met:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;• &lt;/SPAN&gt;&lt;SPAN class=""&gt;The number of Routers in the Thread Network Partition is above&amp;nbsp;ROUTER_DOWNGRADE_THRESHOLD.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;• &lt;/SPAN&gt;&lt;SPAN class=""&gt;It has at least one neighbor Router with at least comparable connectivity.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;• &lt;/SPAN&gt;&lt;SPAN class=""&gt;It has a relatively small number of MTD Children&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't modify the network values to modify the link costs, this is handled within the Thread library.&lt;/P&gt;&lt;P&gt;The closest control you may get is to decide when to promote a REED to be a Router, if the above conditions are met. This is merely to speed up the process, see "THR_PromoteAsRouter()".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another possible approach could be using MAC filtering (See shell demo &amp;amp; documentation) or make use of End Devices (Not REEDs) to get control of how the topology is distributed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, keep in mind that if you use battery-operated devices for Routers, the fact that they are always listening to packets (RX ON when idle) will impact the battery usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See Chapter 11.5 - "Router Selection" from Thread Specificacion for more details about how the Routers are selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-JC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 22:05:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Can-I-influence-the-Thread-network-topology/m-p/703380#M3569</guid>
      <dc:creator>jc_pacheco</dc:creator>
      <dc:date>2017-08-21T22:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can I influence the Thread network topology?</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Can-I-influence-the-Thread-network-topology/m-p/703381#M3570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 07:29:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Can-I-influence-the-Thread-network-topology/m-p/703381#M3570</guid>
      <dc:creator>thomasblank</dc:creator>
      <dc:date>2017-08-22T07:29:50Z</dc:date>
    </item>
  </channel>
</rss>

