mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
examples: Minor doc fixes and added onboarding codes in generic_switch
Closes https://github.com/espressif/esp-matter/issues/372
This commit is contained in:
+12
-7
@@ -229,13 +229,12 @@ However, if you want to continue using the BLE even after the commissioning proc
|
||||
``CONFIG_USE_BLE_ONLY_FOR_COMMISSIONING``. This will ensure that the memory allocated to the BLE functionality
|
||||
is not released after the commissioning process, and the free RAM won't go up.
|
||||
|
||||
A1.10 How to generate Matter Onboarding Codes, QR Code and Manual Pairing Code
|
||||
------------------------------------------------------------------------------
|
||||
A1.10 How to generate Matter Onboarding Codes (QR Code and Manual Pairing Code)
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
When creating a factory partition using ``mfg_tool.py``, both a QR code and manual pairing code will be generated.
|
||||
However, generating the entire factory partition is necessary to obtain these codes.
|
||||
When creating a factory partition using ``mfg_tool.py``, both the QR code and manual pairing codes are generated.
|
||||
|
||||
There are two methods for generating Matter onboarding codes:
|
||||
Along with that, there are two more methods for generating Matter onboarding codes:
|
||||
|
||||
- Python script: `generate_setup_payload.py <https://github.com/project-chip/connectedhomeip/tree/master/src/setup_payload/python>`__.
|
||||
|
||||
@@ -249,14 +248,20 @@ There are two methods for generating Matter onboarding codes:
|
||||
|
||||
::
|
||||
|
||||
// Generate the QR Code
|
||||
chip-tool payload generate-qrcode --discriminator 3131 --setup-pin-code 20201111 \
|
||||
--vendor-id 0xFFF1 --product-id 0x8004 \
|
||||
--version 0 --commissioning-mode 0 --rendezvous 2
|
||||
|
||||
// Below command generates the 11 digit code, for generating 21 digit code provide
|
||||
// --vendor-id and --product-id parameters as well
|
||||
// Generates the short manual pairing code (11-digit).
|
||||
chip-tool payload generate-manualcode --discriminator 3131 --setup-pin-code 20201111 \
|
||||
--version 0 --commissioning-mode 0
|
||||
|
||||
// To generate a long manual pairing code (21-digit) that includes both the vendor ID and product ID,
|
||||
// --commissioning-mode parameter must be set to either 1 or 2, indicating a non-standard commissioning flow.
|
||||
chip-tool payload generate-manualcode --discriminator 3131 --setup-pin-code 20201111 \
|
||||
--vendor-id 0xFFF1 --product-id 0x8004 \
|
||||
--version 0 --commissioning-mode 1
|
||||
|
||||
To create a QR code image, copy the QR code text and paste it into
|
||||
`CHIP: QR Code <https://project-chip.github.io/connectedhomeip/qrcode.html>`__.
|
||||
|
||||
Reference in New Issue
Block a user