SiliconLabs / arduino

Arduino Core for Silicon Labs devices
85 stars 16 forks source link

Not able to commission lightbulb_color example code #44

Open yogeshiggalore opened 7 months ago

yogeshiggalore commented 7 months ago

I followed the following steps for matter_lightbulb.

Erased the flash chip using Simplicity Studio. ( to erase previously stored commission data ) update bootloader code using burn bootloader. programmed matter_lightbulb example code. commissioned matter device using alexa mobile app and echo 4th gen. Tested with alexa mobile app and echo, worked as expected. for matter_lightbulb_color example

Followed step 1 and step 2. programmed matter_lightbulb_color example code. commissioned failed, in alexa app it is asking to select thread border router to commission but in the device serial print says "device commissioned". Not able to understand the issue. repeated above mentioned steps multiple times. same result.

TomInIowa commented 7 months ago

erase the chip ... I've used their Commander app to do it.

silabs-bozont commented 7 months ago

Hi yogeshiggalore, As TomIniowa said - please erase your device to get rid of the old commissioning data.

The easiest method is with a chip erase - the current version of the core doesn't give you the option to erase from the Arduino IDE - but the next release will introduce the option. Until then - you can erase you chip with Simplicity Commander or Studio if you have them installed. Your Arduino Core installation also comes bundled with Simplicity Commander - you can find it in the Arduino15 folder at Arduino15/packages/SiliconLabs/tools/simplicitycommander. It's a GUI tool, just launch the executable.

You could also try calling nvm3_eraseAll(nvm3_defaultHandle); to erase the NVM contents.

Let me know if these worked for you!

lboue commented 6 months ago

@yogeshiggalore Can you try with the 2.0.0 release?

silabs-bozont commented 3 months ago

Hello @yogeshiggalore, Did you have any luck with the steps mentioned above?