<?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>Out of memory (CHIP error 0x0b) when trying to commission Window Covering sample with GHA</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92489/out-of-memory-chip-error-0x0b-when-trying-to-commission-window-covering-sample-with-gha</link><description>Hi, 
 I&amp;#39;ve been playing around with the Matter samples (in particular the window covering sample) to get them to work with the recently released Google Home Matter program. 
 I&amp;#39;ve gotten the lighting app example to work, but when I try to commission the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Oct 2022 13:28:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92489/out-of-memory-chip-error-0x0b-when-trying-to-commission-window-covering-sample-with-gha" /><item><title>RE: Out of memory (CHIP error 0x0b) when trying to commission Window Covering sample with GHA</title><link>https://devzone.nordicsemi.com/thread/389843?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2022 13:28:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9543ee9a-e929-4d32-8fe0-be9e442699eb</guid><dc:creator>abollaert</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;in the mean time I took the window covering sample from the NCS v2.1.0 and backported it to the version that gets used for the examples used by the Google Home devguide (&lt;a id="" href="https://developers.home.google.com/matter/vendors/nordic-semiconductor"&gt;https://developers.home.google.com/matter/vendors/nordic-semiconductor&lt;/a&gt;). It appears to be using NCS version&amp;nbsp;&lt;span&gt;5ea8f7fa9 (pretty speciflcally), and connected home ip version&amp;nbsp;6975d85c4.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So I patched up the CMakeLists to use said version of the connected home ip codebase in combination with said NCS version, patched up the code for missing bits and pieces, and it appears to be working (sort of, because I still see a whole bunch of 0x0b errors flying by). But at least I can set attributes from my Google Home app and Nest Hub.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So either something is broken in NCS, or GHA, I don&amp;#39;t know, seems to have something to do with the counter retransmissions I think, haven&amp;#39;t read the spec in detail yet.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Let me know what you find and have a nice weekend,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Alex&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Out of memory (CHIP error 0x0b) when trying to commission Window Covering sample with GHA</title><link>https://devzone.nordicsemi.com/thread/389840?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2022 13:20:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9cc4635-a52a-4f09-af6a-35b2ef1f0929</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt;I will check with our development team to see if they can repeat this issue with Google Nest Hub 2.&lt;/p&gt;
&lt;p&gt;Thanks for reporting this issue to us.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Out of memory (CHIP error 0x0b) when trying to commission Window Covering sample with GHA</title><link>https://devzone.nordicsemi.com/thread/389614?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 12:07:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bb3bccb-220b-4dc3-813f-be56060045e9</guid><dc:creator>abollaert</dc:creator><description>&lt;p&gt;Did a bit more digging, and I don&amp;#39;t think the memory error is the cause for the commissioning failure.&lt;/p&gt;
&lt;p&gt;The commissioning succeeds (in that it gets added to my devices in google home), but interaction with the device always fails with an error &amp;quot;operation discovery failed: 32&amp;quot;. In Google Home the device gets marked as &amp;quot;unavailable&amp;quot;.&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;D: 119459 [CSM]UpdatePeerAddress: No existing OperationalSessionSetup instance found &lt;br /&gt;D: 119467 [CTL]OperationalSessionSetup[1:0000000056E421FF]: State change 1 --&amp;gt; 2 &lt;br /&gt;I: 119475 [DIS]Resolving 0E9E8F8AAAEC283A:0000000056E421FF ... &lt;br /&gt;I: 119675 [DIS]Checking node lookup status after 201 ms &lt;br /&gt;D: 119819 [EM]Retransmitting MessageCounter:107169467 on exchange 8696r Send Cnt 2 &lt;br /&gt;I: 119827 [IN]Sending encrypted msg 0x20005134 with MessageCounter:107169467 to 0x0000000056E421FF (1) at monotonic time: 000000000001D412 msec &lt;br /&gt;D: 120474 [EM]Retransmitting MessageCounter:107169467 on exchange 8696r Send Cnt 3 &lt;br /&gt;I: 120481 [IN]Sending encrypted msg 0x20005134 with MessageCounter:107169467 to 0x0000000056E421FF (1) at monotonic time: 000000000001D6A1 msec &lt;br /&gt;D: 121500 [EM]Retransmitting MessageCounter:107169467 on exchange 8696r Send Cnt 4 &lt;br /&gt;I: 121508 [IN]Sending encrypted msg 0x20005134 with MessageCounter:107169467 to 0x0000000056E421FF (1) at monotonic time: 000000000001DAA3 msec &lt;br /&gt;E: 123124 [EM]Failed to Send CHIP MessageCounter:107169467 on exchange 8696r sendCount: 4 max retries: 4 &lt;br /&gt;D: 123133 [IN]SecureSession[0x20003670]: MarkAsDefunct Type:2 LSID:7749 &lt;br /&gt;I: 123139 [SC]SecureSession[0x20003670]: Moving from state &amp;#39;kActive&amp;#39; --&amp;gt; &amp;#39;kDefunct&amp;#39; &lt;br /&gt;I: 134475 [DIS]Checking node lookup status after 15001 ms &lt;br /&gt;E: 134480 [DIS]OperationalSessionSetup[1:0000000056E421FF]: operational discovery failed: 32&lt;br /&gt; &lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;For reference, my setup is an nRF52840 devkit for the sample, a Google Nest Hub 2 as the border router, commissioner and controller.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Alex&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Out of memory (CHIP error 0x0b) when trying to commission Window Covering sample with GHA</title><link>https://devzone.nordicsemi.com/thread/389568?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 09:59:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dec803ab-5e5c-4ce0-940a-f2136bfbdbf3</guid><dc:creator>abollaert</dc:creator><description>&lt;p&gt;I also did another test, this time using the light bulb sample, and I get the same issue. In fact the only sample I ever got working with Google Home is the one the Google developer guide points to (&lt;a id="" href="https://developers.home.google.com/matter/vendors/nordic-semiconductor"&gt;https://developers.home.google.com/matter/vendors/nordic-semiconductor&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Both samples I&amp;#39;ve tried included in the NCS itself seem to fail with CHIP error 0xb, for example this is the lighting app sample:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/log_2D00_lighting.txt"&gt;devzone.nordicsemi.com/.../log_2D00_lighting.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It first states it&amp;#39;s &amp;quot;Generating Reports&amp;quot;, and then you get an 0x0b.&lt;/p&gt;
&lt;p&gt;So there must be some difference between the sample the Google development guide points to, and the (more recent) NCS samples, perhaps just a version difference, don&amp;#39;t know.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;-Alex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Out of memory (CHIP error 0x0b) when trying to commission Window Covering sample with GHA</title><link>https://devzone.nordicsemi.com/thread/389536?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2022 07:50:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48e93470-6579-4477-8d6a-c41e14383126</guid><dc:creator>abollaert</dc:creator><description>&lt;p&gt;Hi Charlie,&lt;/p&gt;
&lt;p&gt;sorry for the somewhat late reply, was working on something else the last few days.&lt;/p&gt;
&lt;p&gt;I tested using the chiptool and that worked fine, but this test was specifically a test with Google Home.&lt;/p&gt;
&lt;p&gt;I tested using the latest NCS (v2.1.0) and I also tested using main (v2.1.99). Results were the same for both (CHIP error 0xb when retrieving data from clusters).&lt;/p&gt;
&lt;p&gt;Log file:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5125.log.txt"&gt;devzone.nordicsemi.com/.../5125.log.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Project configuration:&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;# General.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_STD_CPP14=y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_DK_LIBRARY=y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_PWM=y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;# OpenThread.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_OPENTHREAD_PANID=4660&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_OPENTHREAD_CHANNEL=15&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_OPENTHREAD_NETWORK_NAME=&amp;quot;OpenThread&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_OPENTHREAD_XPANID=&amp;quot;00:11:22:33:44:55:66:77&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;# Bluetooth overrides&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_BT_DEVICE_NAME=&amp;quot;MatterPOC&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;# CHIP configuration&lt;br /&gt;CONFIG_CHIP=y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_CHIP_PROJECT_CONFIG=&amp;quot;src/main/include/CHIPProjectConfig.h&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_CHIP_DEVICE_PRODUCT_ID=32784&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;# Enable CHIP pairing automatically on application start.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_CHIP_ENABLE_PAIRING_AUTOSTART=y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;# Disable various debug options to reduce footprint.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_SHELL=n&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_LOG_MODE_IMMEDIATE=n&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_LOG_MODE_MINIMAL=y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_ASSERT_VERBOSE=n&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_ASSERT_NO_FILE_INFO=y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_PRINTK=n&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_PRINTK_SYNC=n&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_THREAD_NAME=n&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;CONFIG_MATTER_LOG_LEVEL_INF&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;=y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Kind regards and thanks,&lt;br /&gt;&lt;br /&gt;-Alexander&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Out of memory (CHIP error 0x0b) when trying to commission Window Covering sample with GHA</title><link>https://devzone.nordicsemi.com/thread/388923?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2022 09:09:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb483d79-6824-469c-8539-6cf1f47dc96d</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Alexander,&lt;/p&gt;
&lt;p&gt;Thanks for&amp;nbsp;the feedback about your test.&lt;/p&gt;
&lt;p&gt;Have you tested with other platforms(like Apple Homekit, or the Matter development environment mentioned by the NCS document)?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you test with the latest NCS2.1.0? Can you share your modification and complete log file?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>