<?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>matter: Modify devicetypellist in descriptor cluster of root node</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101598/matter-modify-devicetypellist-in-descriptor-cluster-of-root-node</link><description>Hello, I&amp;#39;m new with matter protocol and api provided with nrf connect sdk 5. 
 I worked with zap to describe end point and select all the culster i want to implemented. 
 My application is working well but in the root node i have to specify in the devicetypelist</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Jul 2023 12:15:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101598/matter-modify-devicetypellist-in-descriptor-cluster-of-root-node" /><item><title>RE: matter: Modify devicetypellist in descriptor cluster of root node</title><link>https://devzone.nordicsemi.com/thread/437466?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2023 12:15:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59cfc87b-afbd-41dd-8198-a3f57ddde8c7</guid><dc:creator>samrou</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;Thank you for your answers. Everything is clearer. I&amp;#39;ve the same behavior in my board. &lt;/p&gt;
&lt;p&gt;Best regards.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: matter: Modify devicetypellist in descriptor cluster of root node</title><link>https://devzone.nordicsemi.com/thread/437444?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2023 11:17:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d960ddf7-0388-46a5-9d8c-63b452b35332</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am not sure I understand what your end goal is.&lt;/p&gt;
[quote user="samrou"]&amp;quot;The PartsList of the Descriptor cluster on the root node endpoint SHALL list all endpoints on the node, except the root node endpoint&amp;quot;. In my case i have two more endpoint that rootnode endpoint.[/quote]
&lt;p&gt;This is already done automatically. If you add more endpoints to the device, the endpoints will automatically be added to the PartsList of the Root Node descriptor. For example, on this device I have added two additional endpoints, endpoint 1 and 2:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:400px;max-width:200px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/400x800/__key/communityserver-discussions-components-files/4/pastedimage1689851561734v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;If I read the PartsList attribute of the root node, e.g. using chip-tool, I get the following:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:100px;max-width:400px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/800x200/__key/communityserver-discussions-components-files/4/pastedimage1689851642602v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;As you can see, endpoint 1 and 2 shows up there.&lt;/p&gt;
&lt;p&gt;If you want more information about a specific endpoint, you can read the attributes from the Descriptor cluster of the specific endpoint.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: matter: Modify devicetypellist in descriptor cluster of root node</title><link>https://devzone.nordicsemi.com/thread/436830?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2023 16:09:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8304b96e-4ed8-4750-8683-15aaa4b5947c</guid><dc:creator>samrou</dc:creator><description>&lt;p&gt;of course it&amp;#39;s done autamtically, but the Matter Specification Version 1.0 document say that p450 &amp;quot;The PartsList of the Descriptor cluster on the root node endpoint SHALL list all endpoints on the node, except the root node endpoint&amp;quot;. In my case i have two more endpoint that rootnode endpoint.&lt;/p&gt;
&lt;p&gt;So i need to specify that in the descriptor cluster of the root node, and i can&amp;#39;t.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: matter: Modify devicetypellist in descriptor cluster of root node</title><link>https://devzone.nordicsemi.com/thread/436788?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2023 14:13:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f20e98a1-716c-4e64-9925-280c80788023</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Maria is out of the office, so I have taken over your ticket.&lt;/p&gt;
&lt;p&gt;The DeviceTypeList attribute contains a list of supported device types, not clusters, and it shows the supported device types on that specific endpoint.&lt;/p&gt;
&lt;p&gt;When adding the Power Source cluster, did you do this by adding a Matter Power Source device on an endpoint, or by adding the cluster to a different device? If you create an endpoint with a Matter Power Source device, then you can use the descriptor on that endpoint instead.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: matter: Modify devicetypellist in descriptor cluster of root node</title><link>https://devzone.nordicsemi.com/thread/436656?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2023 07:55:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04c38956-036d-4689-a854-40d04ea19a51</guid><dc:creator>samrou</dc:creator><description>&lt;p&gt;Hello, i have already done that but i want to modify devicetypelist attribute of descriptor cluster, and i can&amp;#39;t.&lt;/p&gt;
&lt;p&gt;Neither by zap no by code.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Selection_5F00_765.png" /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Zap doesn&amp;#39;t allow array, return invalid integer out of range.&lt;/p&gt;
&lt;p&gt;by code :&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;const EmberAfDeviceType PowerSourceDeviceTypes[] ={{0x0016,1},{0x0011,1}}; 
emberAfSetDeviceTypeList(0, (Span&amp;lt;const EmberAfDeviceType&amp;gt;(PowerSourceDeviceTypes,2)));

//also try
//emberAfSetDeviceTypeList(0, Span&amp;lt;const EmberAfDeviceType&amp;gt;(PowerSourceDeviceTypes));&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;in chip-tool-debug :&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;chip-tool-debug descriptor read device-type-list 1 0&lt;/pre&gt; well return an array of 2 devicetypestruct (with devicetype and revision), but the value are not 0x16 and 0x1, there are the max value 0xFFFF and 0xFF for the 2 devicetype in the list.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: matter: Modify devicetypellist in descriptor cluster of root node</title><link>https://devzone.nordicsemi.com/thread/436643?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2023 07:22:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:633cd183-e7bc-4a3e-9f93-c5fd11d29430</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can add new endpoints with their own device type by using the ZAP tool. Is this what you are trying to do?&lt;/p&gt;
&lt;p&gt;One step which is not included in the documentation is that the ZAP tool should be opened with the &lt;a href="https://github.com/nrfconnect/sdk-connectedhomeip/blob/master/scripts/tools/zap/run_zaptool.sh"&gt;run_zaptool.sh&lt;/a&gt; script found at &amp;lt;ncs-installation&amp;gt;/modules/lib/matter/scripts/tools/zap.&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><item><title>RE: matter: Modify devicetypellist in descriptor cluster of root node</title><link>https://devzone.nordicsemi.com/thread/435721?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2023 12:24:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3be054f0-a15e-47ae-989e-f36609f36fd7</guid><dc:creator>samrou</dc:creator><description>&lt;p&gt;So is there any solution to modfify the array to have 2 or more devicetype struc element in the list ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: matter: Modify devicetypellist in descriptor cluster of root node</title><link>https://devzone.nordicsemi.com/thread/435298?ContentTypeID=1</link><pubDate>Fri, 07 Jul 2023 14:47:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d481331-4bba-484f-98b6-1d2dea204a51</guid><dc:creator>samrou</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;i use the nRF Connect SDK v2.2.0 for matter 1.0.&lt;/p&gt;
&lt;p&gt;I begin with nrf/mattet/template&amp;nbsp; after having try to modify /mnrf/matter/lock.&lt;/p&gt;
&lt;p&gt;Even if all part of my matter application work, i try to compare with other example lock, light_bulb, light_switch to see if they have a devicetypelist&amp;nbsp; greater than 1.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m successfully use zap to modify all my need (create 2 more endpoint that root, with cluster) and all is well working.&lt;/p&gt;
&lt;p&gt;But impossible to add more than one devicetype in the list in the descriptor cluster of the root node&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: matter: Modify devicetypellist in descriptor cluster of root node</title><link>https://devzone.nordicsemi.com/thread/435280?ContentTypeID=1</link><pubDate>Fri, 07 Jul 2023 14:07:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac500a0a-a1ec-40bd-9b11-9742dda5f96a</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I will help you with this. Please provide the following information:&lt;/p&gt;
&lt;p&gt;Which nRF Connect SDK version are you using?&lt;/p&gt;
&lt;p&gt;Are you using a Matter sample as a basis?&lt;/p&gt;
&lt;p&gt;Have you read our &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/protocols/matter/getting_started/tools.html#zap-tool"&gt;documentation on the ZAP tool&lt;/a&gt;, and how to &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/protocols/matter/getting_started/adding_clusters.html#ug-matter-creating-accessory"&gt;add&lt;/a&gt; and &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/protocols/matter/getting_started/adding_clusters.html#ug-matter-creating-accessory-edit-zap"&gt;edit&lt;/a&gt; clusters in your Matter application?&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>