This is a fork of the ESPProvision repository. It has been re-structured into an SPM package and updated to use iOS' CryptoKit & CommonCrypto frameworks. It is now written in 100% Swift.
Note: In contrast to the original library, this SPM package supports iOS 13.0+
- iOS 13.0+ / macOS 10.15.4+
- Xcode 11.4+
- Swift 5.2+
- Enable Hotspot Configuration capability in Xcode.
- Enable Access WiFI Information capability in Xcode.
- File -> Add Packages...
- Search or enter Package URL: https://github.com/GCX-HCI/esp-idf-provisioning-ios
Please visit the original repository for documentation & usage.
The example application relies on SwiftUI completely and is targeted at iOS >= 14.7
A few notes:
- manual provisioning for SoftAP mode is not implemented (yet?)
- not every edge case is handled
- some unexpected behaviour is due to firmware implmentation details (eg. you have to restart the ESP32 if you provide wrong WiFi credentials in SoftAP mode)
ESPProvision is released under the Apache License Version 2.0.