It is a cordova plug-in for esptouch networking with esp8266 and esp32, using the latest Espressif library, which can be used for ionic and cordova projects. Forked from coloz, added the wifi ssid and bssid fetching.
android:0.3.7.0
ios:0.3.7.0
ios 12.x android 5+
https://github.com/EspressifApp/LibEsptouchForIOS
https://github.com/EspressifApp/LibEsptouchForAndroid
https://github.com/EspressifApp/EsptouchForAndroid
https://github.com/t2wu/cordova-plugin-smartconfig
https://github.com/xumingxin7398/cordovaEsptouch
https://github.com/coloz/cordova-plugin-esptouch
Ionic capacitor
npm install git@github.com:fabus961/cordova-ionic-esptouch.git
function start(apSsid, apBssid, apPassword, deviceCountData, broadcastData, successCallback, failCallback)
function stop(successCallback, failCallback);
function getCurrentBSSID(successCallback, failCallback);
function getCurrentWiFiSsid(successCallback, failCallback);
import * as esptouch from 'cordova-ionic-esptouch'
esptouch.start(ssid, "00:00:00:00:00:00", "myPassword", "1", "1",
res => { console.log(res) },
err => { console.log(err) });
esptouch.stop(res => { console.log(res) }, err => { console.log(err) });
{"bssid":"ffffffffffff","ip":"192.168.1.123"}
https://github.com/web-brandings/cordova-ionic-esptouch/wiki/EspTouch
When there are too many AP signals in the environment, the network pairing may fail, but this is not an issue with this plugin