You can write a provisioner without persisting your credentials to NVS. But to what end? Using #Preferences.h gives you greater control over how your credentials are stored and used, and it's pretty easy to implement.
For more on "All Things IoT" — 🔔 *Subscribe*
🛠️ *What You'll Learn In This Video:*
- How to save your credentials across boots without #Preferences.h.
- How to save your credentials with #Preferences.h.
- How to clear credentials
⏱️ *Chapters:*
0:00 - Intro & Last Week's Code
2:02 - Storing Creds Without Preferences.h
4:33 - Storing Creds WITH Preferences.h
9:57 - Clear Creds Out
11:39 - Wrap-It Up
🖥️ *Code Examples:*
- Starting Point:
https://github.com/OhioIoT-ESP32-Provisioning-Examples/Captive-Portal.git- Ending Point:
https://github.com/OhioIoT-ESP32-Provisioning-Examples/Store-Creds.gitOhioIoT is an IoT platform designed and built for small-scale IoT projects (
https://www.ohioiot.com). #provisioning #puppeteer #softAP #IoT #WiFi #ESP32 #C #ArduinoIDE #InternetofThings #IoT #Arduino #Firmware #EmbeddedSystems #OhioIoT #Platformio #smarthome