<?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>Iterate through Matter devices on Fabric</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107232/iterate-through-matter-devices-on-fabric</link><description>Hello Devzone, 
 If I&amp;#39;m understanding correctly, if I commission a Matter device onto a Matter fabric. 
 1. That Matter device should be able to communicate with any device on that fabric? 
 2. Depending on the privilege in the access control cluster</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Jan 2024 11:59:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107232/iterate-through-matter-devices-on-fabric" /><item><title>RE: Iterate through Matter devices on Fabric</title><link>https://devzone.nordicsemi.com/thread/464157?ContentTypeID=1</link><pubDate>Mon, 15 Jan 2024 11:59:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c475238c-c9ef-4399-811e-a0fe6c77f4da</guid><dc:creator>fhfs</dc:creator><description>&lt;p&gt;Thank you for your response, I have some reading to do!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Iterate through Matter devices on Fabric</title><link>https://devzone.nordicsemi.com/thread/463750?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2024 12:55:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99a0a8c8-43dc-421c-b12d-d929c59f76c5</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;The response from a developer is summarized below.&lt;/p&gt;
[quote user=""]3. How can I request a list of nodes in the Matter Fabric, from the Matter device?[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In general, discovering devices in the same network is done by &lt;span&gt;&lt;span dir="ltr"&gt;the DNS entries registered by the nodes and commissioner. &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;You need a DNS resolver to find the other nodes in the fabric. In NCS you can use the SHELL command matter dns resolve in the connected terminal after including CONFIG_CHIP_LIB_SHELL=y into prj.conf. See &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.1/matter/nrfconnect_examples_cli.html"&gt;Using CLI in nRF Connect examples&lt;/a&gt; for more information on the Matter shell commands and usage. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;The NCS samples uses binding, which again uses a DNS resolver in a way which is not visible for the user. So the node ID is not discoverable for the user in the default NCS samples. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]What class/functions do I use on the Nordic Matter Lighting example to view/operate all the nodes in the fabric?[/quote]
&lt;p&gt;You can modify the sample to include a DNS resolver by adding the methods of Dnssd::ResolverProxy from the SHELL command implementation for &lt;a href="https://github.com/nrfconnect/sdk-connectedhomeip/blob/v2.5.1/src/lib/shell/commands/Dns.cpp"&gt;DNS resolver&lt;/a&gt; (NCS v2.5.1) .&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Best regards,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Maria&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Iterate through Matter devices on Fabric</title><link>https://devzone.nordicsemi.com/thread/463682?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2024 09:13:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a77532d0-7e90-4f7f-8ef7-5b3f2ef1c29c</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]1. That Matter device should be able to communicate with any device on that fabric?[/quote]
&lt;p&gt;Yes:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;For a fabric with a single-network topology the nodes can communicate with any other node through a single network interface. See the Matter 1.1 Core Specification Ch 2.3.1.&lt;/li&gt;
&lt;li&gt;For a fabric with several peripheral networks, communication is the same as in 1. for nodes in the same peripheral network or through a border router for communication across network boundaries. See Matter 1.1 Core Specification Ch. 2.3.2.&lt;/li&gt;
&lt;/ol&gt;
[quote user=""]2. Depending on the privilege in the access control cluster that Matter device can view/operate/manage/administer any device on the fabric?[/quote]
&lt;p&gt;Correct. See more on this in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.1/matter/access-control-guide.html"&gt;Access Control Guide&lt;/a&gt;.&lt;/p&gt;
[quote user=""]3. How can I request a list of nodes in the Matter Fabric, from the Matter device?[/quote]
&lt;p&gt;You can find the different forms of discovery in a Matter fabric in Ch. 4.3 of Matter 1.1 Core Specification. Operational discovery is covered in Ch. 4.3.2&lt;/p&gt;
&lt;p&gt;I realize this does not have any information on the actual implementation, so I will contact our developers to ask for specific information about this in NCS.&lt;/p&gt;
[quote user=""]What class/functions do I use on the Nordic Matter Lighting example to view/operate all the nodes in the fabric?[/quote]
&lt;p&gt;I will include this when contacting the developers.&lt;/p&gt;
&lt;p&gt;Edit: For us to give you the most relevant information please specify which NCS version you are using and if you are using the Matter: Light Switch or Matter: Light Bulb sample.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>