provisioning: update README.md

pull/6718/head
yuanjm 2021-03-02 14:57:02 +08:00 zatwierdzone przez bot
rodzic b3e384272a
commit 444f81983e
1 zmienionych plików z 2 dodań i 6 usunięć

Wyświetl plik

@ -17,17 +17,13 @@ Provisioning applications are available for various platforms:
- Source code on GitHub: [esp-idf-provisioning-ios](https://github.com/espressif/esp-idf-provisioning-ios)
* For all other platforms a python based command line tool is provided under "$IDF_PATH/tools/esp_prov"
The Andriod and iOS provisioning applications allow the user to select the device manually or by scanning a QR code. Suitable QR codes can be generated by encoding a text string containing the device name, prooof-of-posession key (if used) and transport type (BLE or softAP), for example:
The Android and iOS provisioning applications allow the user to configure the device manually or by scanning a QR code. QR codes can be generated by any online QR code generator. QR code payload is encoded with a JSON string containing the device name, proof-of-possession key (if used) and transport type (BLE or softAP), for example:
```
{"ver":"v1","name":"PROV_000318","pop":"a1000318","transport":"softap"}
```
or
```
{"ver":"v1","name":"PROV_EB15D5","pop":"abcd1234","transport":"ble"}
```
The more details about QR code format, you can refer to [QR Code Scan](https://github.com/espressif/esp-idf-provisioning-android#qr-code-scan).
## Legacy Examples