<?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>Cannot build zigbee template example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91441/cannot-build-zigbee-template-example</link><description>I&amp;#39;m following this guide to add On/Off switch to the template example. 
 https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/nrf/ug_zigbee_adding_clusters.html#add-on-off-switch-device 
 I have added the on/off switch code, but it does not build</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Aug 2022 12:56:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91441/cannot-build-zigbee-template-example" /><item><title>RE: Cannot build zigbee template example</title><link>https://devzone.nordicsemi.com/thread/383926?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 12:56:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6b05814-26c8-413b-90af-78463454a948</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The HA device definitions were removed in nRF Connect SDK v2.0.0, see&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.0.2/nrfxlib/zboss/CHANGELOG.html#removed"&gt;v2.0.0 changelog&lt;/a&gt;&amp;nbsp;for more information.&amp;nbsp;This means that&amp;nbsp;you have to create the file yourself. You can&amp;nbsp;use the light switch sample as an example, just look at the file&amp;nbsp;light_switch/include/zb_dimmer_switch.h.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot build zigbee template example</title><link>https://devzone.nordicsemi.com/thread/383775?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 06:01:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0f67da2-63e5-4ac6-a153-df5707183cfc</guid><dc:creator>JnRF</dc:creator><description>&lt;p&gt;Should these folders contain header files defining the ZB_HA_ macros?&lt;/p&gt;
&lt;p&gt;C:\Users\&amp;lt;username&amp;gt;\ncs\v2.0.2\nrfxlib\zboss\production\include\ha\&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;C:\Users\&amp;lt;&lt;span&gt;username&amp;gt;&lt;/span&gt;\ncs\v2.0.2\nrfxlib\zboss\development\include\ha&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&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/pastedimage1661838975435v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I installed everything using this guide:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_assistant.html"&gt;developer.nordicsemi.com/.../gs_assistant.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot build zigbee template example</title><link>https://devzone.nordicsemi.com/thread/383764?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 01:28:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd883c25-825b-43b2-9663-fec14d9036d4</guid><dc:creator>mytzyiay</dc:creator><description>&lt;p&gt;Weird that&amp;nbsp;it throws an error for&amp;nbsp;ON_OFF_SWITCH_ENDPOINT even though it&amp;#39;s defined at the top of the file.&amp;nbsp; Maybe try replacing it with 11 and see if you get the same error?&amp;nbsp; I&amp;#39;d also wonder if there are any non-ASCII characters in the source file that are confusing the compiler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>