Skip to content

Commit

Permalink
Update mbed docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ATmobica committed Jan 20, 2022
1 parent 7f20fae commit 65f47cb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 22 deletions.
23 changes: 5 additions & 18 deletions docs/guides/mbedos_commissioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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

Expand Down
4 changes: 2 additions & 2 deletions examples/lighting-app/mbed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,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.
Expand Down
4 changes: 2 additions & 2 deletions examples/lock-app/mbed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,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.
Expand Down

0 comments on commit 65f47cb

Please sign in to comment.