Matter : unable to de-commisioning a device

Hello,

After a successfull commissioning of a Matter ble-thread device (Light Bulb example) 

i can't retry the commisioning procedure  even after a 'factoryreset' 

Config:

otb-posix : commit (17 Feb 2023)

Chip-Tool : commit (10 Feb 2023)

Matter Device Bulb : Build from SDK and toolchain (2.3.0-rc1)

With the Chip-Tool CLI :

> chip-tool pairing ble-thread 102 hex:00008848....156 20202021 3840                -> Pairing OK

> chip-tool onoff on 102 1                                                                                        -> Light on OK

> chip-tool onoff off 102 1                                                                                        -> Light off OK

> chip-tool pairing unpair 102                                                                                  -> try to unpair

> chip-tool onoff on 102 1                                                                                        -> Light on  ? why

Try a factory reset on the Matter bulb device:

> uart:~$  ot factoryreset

then i  press button 4 for re-starting commisioning   

> I: Matter service BLE advertising not started - device is already commissioned     ->        ????  Why

The only way is to reflash the firmware into the nrf52840 device

Any idea ?

Thank you

Parents Reply
  • Hi,

    I asked the developers about this. There is no CHIP Tooll command to perform a factory reset. There is, however, a command called TestEventTrigger that allows triggering some custom behavior to the device from CHIP Tool, which can be used for debugging and testing purposes. This command is not implemented by default, so the firmware would have to be modified for this to work.

    Since the device is still connected to the Thread network, you cannot pair it again using Bluetooth LE, but you can still pair it over IP. This can be done using the following CHIP Tool command:

    chip-tool pairing onnetwork <node-id> <setup-pin-code>

    Best regards,
    Marte

Children
Related