<?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>Problems when integrating Matter protocol</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90682/problems-when-integrating-matter-protocol</link><description>Hi, 
 I&amp;#39;m trying to integrate Matter protocol but encounter some problems. We&amp;#39;re using nrf5340 devkit, and Zephyr. 
 1. There seems to be two repositories, what is the difference?: https://github.com/project-chip/connectedhomeip 
 and 
 https://github</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Oct 2024 15:06:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90682/problems-when-integrating-matter-protocol" /><item><title>RE: Problems when integrating Matter protocol</title><link>https://devzone.nordicsemi.com/thread/505766?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 15:06:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcb5ffa5-1e1f-4918-a0ab-0e7783416ab6</guid><dc:creator>Ognjen Cadovski</dc:creator><description>&lt;p&gt;Hello, did you figure out the way to integrate CHIP (matter) into your Zephyr project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems when integrating Matter protocol</title><link>https://devzone.nordicsemi.com/thread/380359?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 11:48:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5993d58b-9043-4455-a54e-b7cd225aad27</guid><dc:creator>Pelle</dc:creator><description>&lt;p&gt;Ok thank you, I will look into that last link you sent to figure out how to configure, that was good information!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems when integrating Matter protocol</title><link>https://devzone.nordicsemi.com/thread/380325?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 09:50:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2331c5ae-7584-4d6b-aa8b-0fd8ba67c8d9</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We only support nRF Connect SDK in our integration layer and we can&amp;#39;t really help if the customer wants to use the vanilla Zephyr. That is, all the development was with nRF Connect SDK in mind, and we cannot guarantee it will work without code changes in a different context.&lt;/p&gt;
&lt;p&gt;Another dev has started the process of adding support for the pure Zephyr platform (&lt;a title="https://github.com/project-chip/connectedhomeip/pull/19504/files" href="https://github.com/project-chip/connectedhomeip/pull/19504/files" rel="noopener noreferrer" target="_blank"&gt;https://github.com/project-chip/connectedhomeip/pull/19504/files&lt;/a&gt;), but no examples have been provided as part of this effort, so you would need to figure out on your own how to use it.&lt;/p&gt;
&lt;p&gt;What&amp;#39;s possibly the problem when adding CONFIG_CHIP to connectedhomeip is that that repository supports multiple Zephyr-based platforms so an application must explicitly select the right zephyr module: &lt;a title="https://github.com/project-chip/connectedhomeip/blob/master/examples/lock-app/nrfconnect/cmakelists.txt#l32" href="https://github.com/project-chip/connectedhomeip/blob/master/examples/lock-app/nrfconnect/CMakeLists.txt#L32" rel="noopener noreferrer" target="_blank"&gt;https://github.com/project-chip/connectedhomeip/blob/master/examples/lock-app/nrfconnect/CMakeLists.txt#L32&lt;/a&gt;. That&amp;#39;s why I strongly recommend analyzing the existing examples to understand all required configuration pieces. .&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems when integrating Matter protocol</title><link>https://devzone.nordicsemi.com/thread/380277?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 07:29:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8ecbc96-443e-468f-8e73-014d2dee29c6</guid><dc:creator>Pelle</dc:creator><description>&lt;p&gt;Hmm, impossible, this is not a hobby project..&lt;/p&gt;
&lt;p&gt;So, if I rephrase the question.&lt;/p&gt;
&lt;p&gt;1. How can I get the Matter project to build if I just download it from either of the repository?&lt;/p&gt;
&lt;p&gt;Can you get it to build just by cloning and following the steps in the guide?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems when integrating Matter protocol</title><link>https://devzone.nordicsemi.com/thread/380273?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 07:17:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8be03b94-96cd-4d92-b306-d37e6dd62cda</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="Pelle"]We&amp;#39;re not using nRF Connect SDK, we&amp;#39;re using Zephyr and have integrated sdk-nrf and sdk-nrfxlib amongs other libraries and modules.[/quote]
&lt;p&gt;Please try to use &lt;span&gt;&amp;nbsp;nRF Connect SDK.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems when integrating Matter protocol</title><link>https://devzone.nordicsemi.com/thread/380185?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 14:47:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c255953-48f7-4b0b-a134-6f1c8148d4db</guid><dc:creator>Pelle</dc:creator><description>&lt;p&gt;Hi, ok thanks for clarifying that.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried to clone both sdk-connectedhomeip and connectedhomeip and followed these steps from&amp;nbsp;&lt;a id="" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/matter/BUILDING.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/matter/BUILDING.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1. clone the project.&lt;/p&gt;
&lt;p&gt;2. Installing dependencies with:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;sudo apt-get install git gcc g++ python pkg-config libssl-dev libdbus-1-dev \
     libglib2.0-dev libavahi-client-dev ninja-build python3-venv python3-dev \
     python3-pip unzip libgirepository1.0-dev libcairo2-dev libreadline-dev&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="n"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="n"&gt;3. Prepare for building, this step works fine, bootstrap activates&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="n"&gt;&lt;pre class="ui-code" data-mode="text"&gt;source scripts/activate.sh&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="n"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="n"&gt;4. Then run this command:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="n"&gt;&lt;pre class="ui-code" data-mode="text"&gt;gn gen out/host&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="n"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="n"&gt;5.&amp;nbsp;This step fails when trying to build the Matter project, get a lot of compile errors:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="n"&gt;&lt;pre class="ui-code" data-mode="text"&gt;ninja -C out/host&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="n"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;When I use the sdk-connectedhomeip repository I build my own project and added CONFIG_CHIP=y&lt;br /&gt;and I see that the build system integrates Matter by starting to build Matter code, but eventually it fails with compilation errors.&lt;/p&gt;
&lt;p&gt;But when I use connectedhomeip and try to build my own project with CONFIG_CHIP=y in my .conf file the build system outputs an error about CONFIG_CHIP=y&lt;/p&gt;
&lt;p&gt;We&amp;#39;re not using nRF Connect SDK, we&amp;#39;re using Zephyr and have integrated sdk-nrf and sdk-nrfxlib amongs other libraries and modules.&lt;/p&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems when integrating Matter protocol</title><link>https://devzone.nordicsemi.com/thread/380181?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 14:34:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cafbbd24-1576-4ffc-8917-46522f8270d5</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The sdk-connectedhomeip is simply a fork of the connectedhomeip which contains a snapshot of the main repository. That way, a customer may only install the nRF Connect SDK and have Matter code bundled in. Alternatively, the customer can use the main connectedhomeip repo and have the newest updates to the Matter code.&lt;/p&gt;
&lt;p&gt;I would recommend starting with our samples in NCS (nrf/samples/matter) or upstream (examples/*/nrfconnect) and reading README files that describe the necessary setup to build and run these applications. The READMEs also refer to documents that describe the architecture and integration with nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problems when integrating Matter protocol</title><link>https://devzone.nordicsemi.com/thread/380174?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 14:20:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9531c63e-0512-4f01-92f6-c828899c7b4f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am checking with the internal and will reply later.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>