Provisioning ESP32 on a Wi-Fi network
Provisioning is a standard feature in almost every IoT solution. It is usually the first thing to do during the installation of an IoT device, and for IoT devices, the easier the installation, the happier the user. The key issue here is how to share the credentials of a Wi-Fi network in a secure way. Luckily, ESP-IDF supports several methods for Wi-Fi provisioning:
- Unified provisioning from Espressif: With this provisioning method, we can select BLE or Wi-Fi as the transport layer to share the credentials of the Wi-Fi network to be joined. If BLE is selected, the device to be provisioned runs a GATT server to receive the credentials. When Wi-Fi SoftAP is the transport scheme, the device starts a Soft Access Point (softAP) and HTTP server to receive the credentials. A client application, e.g., a mobile application, connects to the device and shares the credentials.
- SmartConfig from Texas Instruments: This provisioning method is...