OVMS3-idf/examples/provisioning
Anurag Kar 84f094453b Examples : Added provisioning examples, tests and client tool.
* BLE and softAP provisioning examples added along with tests.
* An application specific example added for demonstrating custom provisioning scheme.
* tools/esp_prov/esp_prov.py can be used as a provisioning client for SoftAP, BLE and CLI based transports.

Co-Authored-By: Amey Inamdar <amey@espressif.com>
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com>
2018-10-02 19:07:28 +05:30
..
ble_prov Examples : Added provisioning examples, tests and client tool. 2018-10-02 19:07:28 +05:30
console_prov Examples : Added provisioning examples, tests and client tool. 2018-10-02 19:07:28 +05:30
custom_config Examples : Added provisioning examples, tests and client tool. 2018-10-02 19:07:28 +05:30
softap_prov Examples : Added provisioning examples, tests and client tool. 2018-10-02 19:07:28 +05:30
README.md Examples : Added provisioning examples, tests and client tool. 2018-10-02 19:07:28 +05:30

Provisioning Application Examples

These consist of the following examples :

  • softap_prov Provisioning involves Wi-Fi station configuration via an HTTP server running on the device, which is initially configured to be in SoftAP mode. After provisioning, device runs in Wi-Fi station mode only and connects to the AP whose credentials were provided during provisioning.

  • ble_prov Provisioning involves Wi-Fi station configuration via BLE service endpoints running on the device initially. After provisioning, BLE is turned off and device runs in Wi-Fi station mode, connecting to the AP whose credentials were provided during provisioning.

  • console_prov Provisioning involves Wi-Fi station configuration via UART console. This is intended for debugging protocomm and provisioning related features.

  • custom_config Similar to softap_prov examples, but allows for configuration of custom (device-local) information during provisioning. This is intended as an example for implementing custom provisioning schemes.

A python based utility is provided under "$IDF_PATH/tools/esp_prov" for testing the examples over a host.

Refer to the README.md files in each example directory for more information.