<?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 change matter example descriminator/setup pin code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113852/how-to-change-matter-example-descriminator-setup-pin-code</link><description>I am trying to test the light switch and light bulb example with google home app and google nest device as a border router. I have flashed the bulb example into a nrf52840dk and the switch example onto another nrf52840dk. The problem is that I was able</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Aug 2024 13:54:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113852/how-to-change-matter-example-descriminator-setup-pin-code" /><item><title>RE: How to change matter example descriminator/setup pin code</title><link>https://devzone.nordicsemi.com/thread/498087?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2024 13:54:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c47b0467-3723-418b-ad0b-47d55dd06823</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Great to hear that you solved the issue with the QR code!&lt;/p&gt;
[quote user="waqarrashid33"]Any idea how to do the ACL stuff in the google eco system. I now want to bind the switch and bulb.[/quote]
&lt;p&gt;Unfortunately, Google and many other commercial ecosystems do not currently support binding. Instead, you can set up an automation that controls the light when the light switch is pressed.&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: How to change matter example descriminator/setup pin code</title><link>https://devzone.nordicsemi.com/thread/498057?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2024 12:54:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9e191f7-2e35-4544-852a-d6e36bcb71b8</guid><dc:creator>waqarrashid33</dc:creator><description>&lt;p&gt;Thanks for the answer. So just changing these parameters in Kconfig or prj.conf files were not enough. Somehow it was not generating the new factory data. I deleted the build directory and was able to get the device have the new factory data, including the QR code which was visible on the uart.&lt;br /&gt;&lt;br /&gt;Any idea how to do the ACL stuff in the google eco system. I now want to bind the switch and bulb.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change matter example descriminator/setup pin code</title><link>https://devzone.nordicsemi.com/thread/498018?ContentTypeID=1</link><pubDate>Tue, 13 Aug 2024 11:59:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:681c8da6-38ca-46ff-87e6-9dbe0768e700</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Edit 1: &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/matter/nrfconnect_factory_data_configuration.html#enabling_factory_data_support"&gt;docs.nordicsemi.com/.../nrfconnect_factory_data_configuration.html&lt;/a&gt;[/quote]
&lt;p&gt;This is the correct way to configure the discriminator and passcode.&lt;/p&gt;
[quote user=""]The descriminator change seems to take effect and I see the new value on uart of the device but the passcode remains the same and the QR-Code also remains the same.[/quote]
&lt;p&gt;You can generate a new QR code using chip-tool:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;./chip-tool payload generate-qrcode [--existing-payload] [--discriminator] [--setup-pin-code] [--version] [--vendor-id] [--product-id] [--commissioning-mode] [--allow-invalid-payload] [--rendezvous] [--tlvBytes]&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;For example:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;$ ./chip-tool payload generate-qrcode --discriminator 1234 --setup-pin-code 13243546 --vendor-id 0x123 --product-id 0x123&lt;/code&gt;&lt;br /&gt;&lt;code&gt;[1723550244.756316][2136306:2136306] CHIP:TOO: QR Code: MT:GWQS0POG02A48B1OA00&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;So from this we get the manual pairing code MT:GWQS0POG02A48B1OA00, which corresponds to the QR code found here: &lt;a href="https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%GWQS0POG02A48B1OA00"&gt;https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%GWQS0POG02A48B1OA00&lt;/a&gt;.&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></channel></rss>