From 487b33bbaf6663dd1ff389b6005daec00e169657 Mon Sep 17 00:00:00 2001 From: ATmobica Date: Mon, 17 Jan 2022 15:27:20 +0000 Subject: [PATCH] Update mbed docs --- docs/guides/mbedos_commissioning.md | 23 +++++------------------ examples/lighting-app/mbed/README.md | 4 ++-- examples/lock-app/mbed/README.md | 4 ++-- 3 files changed, 9 insertions(+), 22 deletions(-) diff --git a/docs/guides/mbedos_commissioning.md b/docs/guides/mbedos_commissioning.md index 039ba64a03c9c4..773960246dcf93 100644 --- a/docs/guides/mbedos_commissioning.md +++ b/docs/guides/mbedos_commissioning.md @@ -209,7 +209,7 @@ To build and install the Python Device Controller application check the guide In order to send commands to a device, it must be paired with the client and connected to the network. -To run the commissioning process via BLE: +To run the auto commissioning process via BLE: - Run Device Controller: @@ -219,27 +219,14 @@ To run the commissioning process via BLE: chip-device-ctrl > ble-scan -- Connect the device via BLE (provide the accessory device discriminator, - setup pin code and node ID): - - chip-device-ctrl > connect -ble 3840 20202021 1234 - - Pass the Wi-Fi credentials to the device: - chip-device-ctrl > zcl NetworkCommissioning AddOrUpdateWiFiNetwork 1234 0 0 ssid=str:TESTSSID credentials=str:P455W4RD breadcrumb=0 timeoutMs=1000 - -- Enable the Wi-Fi interface: + chip-device-ctrl > set-pairing-wifi-credential ssid credentials - chip-device-ctrl > zcl NetworkCommissioning ConnectNetwork 1234 0 0 networkID=str:TESTSSID breadcrumb=0 timeoutMs=1000 - -- Close BLE connection: - - chip-device-ctrl > zcl NetworkCommissioning ConnectNetwork 1234 0 0 networkID=str:TESTSSID breadcrumb=0 timeoutMs=1000 - -- Discover IP address of the device (address is cached in the controller for - later usage). You should provide the fabric and node ID: +- Connect the device via BLE (provide the accessory device discriminator, + setup pin code and node ID): - chip-device-ctrl > resolve 5544332211 1234 + chip-device-ctrl > connect -ble 3840 20202021 1234 ## Sending ZCL commands diff --git a/examples/lighting-app/mbed/README.md b/examples/lighting-app/mbed/README.md index 146c4a74b55740..bcf717f5725a00 100644 --- a/examples/lighting-app/mbed/README.md +++ b/examples/lighting-app/mbed/README.md @@ -334,8 +334,8 @@ The following states are possible: procedure. **LEDs 1-4** blink in unison when the factory reset procedure is initiated. -- _Pressed for less than 3 s_ — Initiates the OTA software update - process. This feature is not currently supported. +- _Pressed for less than 3 s_ — Delete all fabric IDs and start BLE + advertising. **Button 1** — Pressing the button once changes the lighting state to the opposite one. diff --git a/examples/lock-app/mbed/README.md b/examples/lock-app/mbed/README.md index 55cefaa9adb926..7d5ebcee6ad4c7 100644 --- a/examples/lock-app/mbed/README.md +++ b/examples/lock-app/mbed/README.md @@ -322,8 +322,8 @@ possible: procedure. **LEDs 1-4** blink in unison when the factory reset procedure is initiated. -- _Pressed for less than 3 s_ — Initiates the OTA software update - process. This feature is not currently supported. +- _Pressed for less than 3 s_ — Delete all fabric IDs and start BLE + advertising **Button 1** — Pressing the button once changes the lock state to the opposite one.