<?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>how to add new endpoint with zap?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100684/how-to-add-new-endpoint-with-zap</link><description>Hi: 
 If i want add a new endpoint in my samples proj,wha should i do? 
 Only use the zap tool open the path:samples/src/.zap file.and then add a new endpoint, 
 But it seem need generate a new cluster file by ZCL tool? 
 Are there any references for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Jun 2023 07:36:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100684/how-to-add-new-endpoint-with-zap" /><item><title>RE: how to add new endpoint with zap?</title><link>https://devzone.nordicsemi.com/thread/430369?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2023 07:36:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16df1d40-4396-44e7-81dc-497436c18b93</guid><dc:creator>askabu</dc:creator><description>&lt;p&gt;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f44d.svg" title="Thumbsup"&gt;&amp;#x1f44d;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to add new endpoint with zap?</title><link>https://devzone.nordicsemi.com/thread/430362?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2023 07:22:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2faeb74-4bdb-4b8d-b9b1-f392414d780f</guid><dc:creator>ChuckRui</dc:creator><description>&lt;p&gt;I tried to build the application without any problems, I also compared the zap file of the source template project, and my changes to it were successful.&lt;/p&gt;
&lt;p&gt;Thank you~&lt;/p&gt;
&lt;p&gt;I think I can move on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to add new endpoint with zap?</title><link>https://devzone.nordicsemi.com/thread/430357?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2023 07:15:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9887ad71-1b3d-4c19-ac79-858daa851930</guid><dc:creator>askabu</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/chuckrui"&gt;ChuckRui&lt;/a&gt;&amp;nbsp;-&amp;nbsp;clang-format error will not affect the zap build. Try building the application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to add new endpoint with zap?</title><link>https://devzone.nordicsemi.com/thread/430356?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2023 07:07:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3610b438-e65d-4313-9ff3-418dc07ff377</guid><dc:creator>ChuckRui</dc:creator><description>[quote userid="115832" url="~/f/nordic-q-a/100684/how-to-add-new-endpoint-with-zap/430334"]If I understand it right, you&amp;#39;ve having trouble in generating the zap file?[/quote]
&lt;p&gt;Hi askabu~&lt;/p&gt;
&lt;p&gt;Yes,i run the generate.py and it&amp;nbsp;occurred an error.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;chuckrui@chuck MINGW64 /e/ncs/v2.3.0/modules/lib/matter ((v2.3.0))
$ python ./scripts/tools/zap/generate.py /e/my_prj/v2.3.0/sensor_matter/src/template.zap
Searching for zcl file from E:/my_prj/v2.3.0/sensor_matter/src/template.zap
Error: E:\Nordic\NCS\SDK\tag\v2.3.0\modules\lib\matter\src\app\zap-templates\zcl\zcl.json does not exists or is not a file.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But i accorded this case&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/100251/matter-template-sample---fails-to-build-after-touching-with-zap-tool"&gt;Matter template sample - fails to  build after touching with ZAP tool&lt;/a&gt;&amp;nbsp;,modified the path:&lt;/p&gt;
&lt;p&gt;E:\my_prj\v2.3.0\sensor_matter\src\template.zap file.&lt;/p&gt;
&lt;p&gt;And then i modified the line 20 and line 29.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686553484568v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#line 21
&amp;quot;path&amp;quot;: &amp;quot;..\\..\\..\\..\\Nordic\\NCS\\SDK\\tag\\v2.3.0\\modules\\lib\\matter\\src\\app\\zap-templates\\zcl\\zcl.json&amp;quot;,
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&amp;quot;path&amp;quot;: &amp;quot;E:\\ncs\\v2.3.0\\modules\\lib\\matter\\src\\app\\zap-templates\\zcl\\zcl.json&amp;quot;,

#line 29
&amp;quot;path&amp;quot;: &amp;quot;..\\..\\..\\..\\Nordic\\NCS\\SDK\\tag\\v2.3.0\\modules\\lib\\matter\\src\\app\\zap-templates\\app-templates.json&amp;quot;,
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&amp;quot;path&amp;quot;: &amp;quot;E:\\ncs\\v2.3.0\\modules\\lib\\matter\\src\\app\\zap-templates\\app-templates.json&amp;quot;,&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I found&amp;nbsp;generate.py seems to work.&lt;/p&gt;
&lt;p&gt;But the last line show an error show that:&lt;/p&gt;
&lt;p&gt;&amp;quot;The specified file cannot be found by system&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1686553364202v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Can you tell me that this makes me successful?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;chuck&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to add new endpoint with zap?</title><link>https://devzone.nordicsemi.com/thread/430334?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2023 04:37:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d17f7bd-27ae-4aaf-8cb5-823315542274</guid><dc:creator>askabu</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/chuckrui"&gt;ChuckRui&lt;/a&gt;&amp;nbsp;- What you&amp;#39;ve asked is pretty straight forward I hope. If I understand it right, you&amp;#39;ve having trouble in generating the zap file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>