Skip to content

Commit

Permalink
Update ble-wifi pairing documentation (#13893)
Browse files Browse the repository at this point in the history
Remove fabric id.
  • Loading branch information
lzgrablic02 authored and pull[bot] committed Feb 26, 2024
1 parent 4e1d7e6 commit 4430808
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/guides/mbedos_commissioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ 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, run the built executable and pass it
the network ssid and password, fabric id, discriminator and pairing code of the
remote device.
the network ssid and password, discriminator and pairing code of the remote
device.

Example:

$ chip-tool pairing ble-wifi network_ssid network_password 0 20202021 3840
$ chip-tool pairing ble-wifi network_ssid network_password 20202021 3840

## Sending ZCL commands

Expand Down
8 changes: 3 additions & 5 deletions examples/chip-tool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ remote device, as well as the network credentials to use.
The command below uses the default values hard-coded into the debug versions of
the ESP32 all-clusters-app to commission it onto a Wi-Fi network:

$ chip-tool pairing ble-wifi ${NODE_ID_TO_ASSIGN} ${SSID} ${PASSWORD} 0 20202021 3840
$ chip-tool pairing ble-wifi ${NODE_ID_TO_ASSIGN} ${SSID} ${PASSWORD} 20202021 3840

where:

Expand All @@ -76,16 +76,14 @@ where:
- \${SSID} is the Wi-Fi SSID either as a string, or in the form hex:XXXXXXXX
where the bytes of the SSID are encoded as two-digit hex numbers.
- \${PASSWORD} is the Wi-Fi password, again either as a string or as hex data
- The 0 is the fabric id, until more complete support for multiple fabrics is
implemented in our commissioning process.

For example:

$ chip-tool pairing ble-wifi 0x11 xyz secret 0 20202021 3840
$ chip-tool pairing ble-wifi 0x11 xyz secret 20202021 3840

or equivalently:

$ chip-tool pairing ble-wifi 17 hex:787980 hex:736563726574 0 20202021 3840
$ chip-tool pairing ble-wifi 17 hex:787980 hex:736563726574 20202021 3840

#### Pair a device over IP

Expand Down

0 comments on commit 4430808

Please sign in to comment.