Hello,
I am testing the Matter sample for a Door Lock over Wi-Fi. I could test it successfully applying a commissioning through BLE and sending commands for locking/unlocking operations through the CHIP tool and the Wi-Fi network. I used these commands:
# For Commissioning through BLE $ ./chip-tool pairing ble-wifi <node_id> <ssid> <password> <pin_code> <discriminator> # To unlock the door with an automatic lock after timeout, using a timed invoke Matter interaction ./chip-tool doorlock unlock-with-timeout <timeout> <node_id> <endpoint_id> --timedInteractionTimeoutMs <timeout_invoke>
But, in my project development, I need to follow these steps:
- Connect the device to the Wi-Fi network.
- Commission the device through DNS-SD using one of the following commands from the CHIP tool:
$ ./chip-tool pairing onnetwork <node_id> <pin_code> $ ./chip-tool pairing code <node_id> <qrcode_payload-or-manual_code> $ ./chip-tool pairing onnetwork-long <node_id> <pin_code> <discriminator>
All CHIP tool commands are here.
How can I modify the Door Lock example to disable the BLE and configure the DNS-SD advertisement, so that I can commission the device that was previously connected to the Wi-Fi network?
Thank you for all the help you could provide for this issue.
Best Regards,
Holman