SmartConfig
SmartConfig ESP8266 with Swift language(Swift 语言编写的 Smart Config UDP 广播给 ESP WiFi 芯片入网程序)
Install / Use
/learn @lou-lan/SmartConfigREADME
SmartConfig
SmartConfig is an ESP board auto connect WiFi demo written in Swift.
Requirements
- iOS 8.0+
- Xcode 8.0+
- Swift 3.0
Bridge ESPtouch lib
1.Xcode -> Create a new Xcode project -> Single View App.
2.Download lib https://github.com/EspressifApp/LibEsptouchForIOS.
3.Move libEsptouch_v0.3.5.3.a, ESPTouchTask.h, ESPTouchResult.h, ESPTouchDelegate.h to your new project.
4.In project group finder, create a new fire, select Objecttive-C file, then select Create Bridging Header.
5.In Demo-Bridging-Header.h file, import lib.

#import "ESPTouchTask.h"
#import "ESPTouchResult.h"
#import "ESPTouchDelegate.h"
Hardware ESP8266 NodeMCU Code init.lua Test
print("Start SmartConfig ...")
wifi.setmode(wifi.STATION)
wifi.startsmart(0,
function(ssid, password)
print(string.format("Success. SSID:%s ; PASSWORD:%s", ssid, password))
print("Back init.lua")
dofile("init.lua")
end
)
TODO
[] SwiftUI
[] WiFi 5G
Related Skills
node-connect
335.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
335.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.7kCommit, push, and open a PR
