How to change matter example descriminator/setup pin code

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 to comission one of the device but when I try to comission the second device, the app says that device should have unique comiisioning data (descriminator and setup pin code). I was under the impression that it should work without being unique but I am new to all this so what do I know.

Can anyone help me out here and point in the direction where I can change these hardcoded values. I tried looking for them myself but haven't managed to figure it out.


Edit 1: docs.nordicsemi.com/.../nrfconnect_factory_data_configuration.html

Edit 2: There seems to be multiple ways to update this. In nRF Kconfig GUI:> Modules > Connecthomeip > Matter Prototcol Stack: You will find the following information that can be edited. But still there seems to be something missiing and I am getting the same QR code.



Edit 3: I am using nrf connect sdk 2.6.0 and the same tool chain. Still I try to change the values for descriminator and passcode. 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.

Related