<?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 the manual pairing code of the matter sample project ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120882/how-to-change-the-manual-pairing-code-of-the-matter-sample-project</link><description>After modifying the factory data with the script generate_nrfconnect_chip_factory_data.py, the discriminator and passcode work, but how do I change the value of the Manual pairing code?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Apr 2025 12:29:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120882/how-to-change-the-manual-pairing-code-of-the-matter-sample-project" /><item><title>RE: How to change the manual pairing code of the matter sample project ?</title><link>https://devzone.nordicsemi.com/thread/532599?ContentTypeID=1</link><pubDate>Wed, 23 Apr 2025 12:29:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0174c724-8456-4133-bddb-4348b44bdd48</guid><dc:creator>paper555</dc:creator><description>&lt;p&gt;Thank you very much for solving my problem!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change the manual pairing code of the matter sample project ?</title><link>https://devzone.nordicsemi.com/thread/532558?ContentTypeID=1</link><pubDate>Wed, 23 Apr 2025 10:21:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8f8a0ec-0ef6-4bda-9fe1-7eb996fa0116</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;It looks like you are missing the argument &lt;code&gt;&lt;span&gt;--generate_onboarding&lt;/span&gt;&lt;/code&gt; in your command. Does it make a difference when you add it? &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change the manual pairing code of the matter sample project ?</title><link>https://devzone.nordicsemi.com/thread/532476?ContentTypeID=1</link><pubDate>Wed, 23 Apr 2025 05:20:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f68f3ed1-0112-44b3-867f-f9226cea0498</guid><dc:creator>paper555</dc:creator><description>&lt;p&gt;I am asking how to modify the manual pairing code on the device side instead of generating it through chiptool.&lt;/p&gt;
&lt;p&gt;I am using the script &lt;br /&gt;generate_nrfconnect_chip_factory_data.py to do this with the following command &lt;br /&gt;$ python scripts/tools/nrfconnect/generate_nrfconnect_chip_factory_data. py \ &lt;br /&gt;--sn &amp;quot;11223344556677889900&amp;quot; \ &lt;br /&gt;--vendor_id 65521 \ &lt;br /&gt;--product_id 32774 \ &lt;br /&gt;--vendor_name &amp;quot;Nordic Semiconductor ASA&amp;quot; \ &lt;br /&gt;--product_name &amp;quot;not-specified&amp;quot; \ &lt;br /&gt;--date &amp;quot;2022-02-02&amp;quot; \ &lt;br /&gt;--hw_ver 1 \ &lt;br /&gt;--hw_ver_str &amp;quot;prerelase&amp;quot; \ &lt;br /&gt;--dac_cert &amp;quot;credentials/development/attestation/Matter-Development-DAC-FFF1-8006-Cert. der&amp;quot; \ &lt;br /&gt;--dac_key &amp;quot;credentials/development/attestation/Matter-Development-DAC-FFF1-8006-Key. der&amp;quot; \ &lt;br /&gt;--pai_cert &amp;quot;credentials/development/attestation/Matter-Development-PAI-FFF1-noPID-Cert. der&amp;quot; \ &lt;br /&gt;---spake2_it 1000 \ &lt;br /&gt;---spake2_salt &amp;quot;U1BBS0UyUCBLZXkgU2FsdA==&amp;quot; \ &lt;br /&gt;--discriminator 0xF00 \ &lt;br /&gt;--generate_rd_uid \ &lt;br /&gt;--passcode 20202021 \ &lt;br /&gt;--product_ finish &amp;quot;matte&amp;quot; \ &lt;br /&gt;--product_color &amp;quot;black&amp;quot; \ &lt;br /&gt;--out &amp;quot;build&amp;quot; \ &lt;br /&gt;---schema &amp;quot;scripts/tools/nrfconnect/nrfconnect_factory_data.schema&amp;quot; \ &lt;br /&gt;--offset 0xf7000 \ &lt;br /&gt;--size 0x1000 &lt;br /&gt;Then we modified the sn, discriminator and passcode, then generated the factory data.hex, and burned this hex to the device, you can see from the uart log printed by the device, the QR code of the pairing code has changed, but the value of the Manual pairing code is not changed, what is the reason?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change the manual pairing code of the matter sample project ?</title><link>https://devzone.nordicsemi.com/thread/532378?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 13:30:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45c198e2-1fa2-4c4b-8831-a272c5cc1300</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can generate the manual pairing code with i.e.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;chip-tool payload generate-manualcode --discriminator &amp;lt;discriminator&amp;gt; --setup-pin-code &amp;lt;passcode&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;where &amp;lt;discriminator&amp;gt; and &amp;lt;passcode&amp;gt; have the values which you have after running the generate_nrfconnect_chip_factory_data.py script.&lt;/p&gt;
&lt;p&gt;Also see the full usage information for the command:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Usage:
  ./chip-tool payload generate-manualcode [--existing-payload] [--discriminator] 
[--setup-pin-code] [--version] [--vendor-id] [--product-id] [--commissioning-mode] 
[--allow-invalid-payload] [--force-short-code]&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>