alexsunday / flutter_smartconfig

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flutter_smartconfig

Quick network config for esp8266/esp32 modules~

This a basically a plain port of react-native-smartconfig with latest esptouch native implements from ESP Touch APP

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Usage

Just put your ssid, bssid and pass word to Smartconfig.start and wait the async return.

void main() async {
  Smartconfig.start("Kittenbot", "78:44:fd:72:7e:68", "kittenbot123").then((onValue){
    print("sm version $onValue");  
  });
}

The bssid is necessary so you may want to use connectivity plugin

About

License:Other


Languages

Language:Objective-C 54.4%Language:Java 42.7%Language:Ruby 1.6%Language:Dart 1.3%