Current collected state Current
Observed since 20 Oct, 16:04 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
used to configure ESP devices to connect to target AP - forked version
Used to configure ESP devices to connect to target AP
This is a Unofficial project. The official demo is below:
Install the module from npm
npm install @lorenzovecchi/react-native-esptouch-2
Add permissions in AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" />
cd ios && pod install
import * as ESPTouch2 from "react-native-esptouch-2";
/**
* Start the configuration broadcasting the informations to the device
* @param {string} ssid
* AP SSID
* @param {string} bssid
* AP BSSID
* @param {string} password
* AP Password (null if open network)
* @param {string} customData
* Additional data to send (nullable)
* @param {string} aesKey
* Encrypt the data to send (if not null, it must be 16 byte) (nullable)
*
* @resolve {object} res
* Object containing the successfully configured device address and bssid
* @reject {Exception} err
* Error exception
*/
ESPTouch2.start(ssid, bssid, password, customData, aesKey).then(res => {
//On success
console.log(res.address, res.bssid);
}).catch(err => {
//On error
console.log(err);
});
/**
* Stop the configuration broadcasting
*/
ESPTouch2.stop();
/**
* Function called on broadcasting start
*/
ESPTouch2.onStart(() => {console.log('Starting broadcast')};
/**
* Function called on broadcasting stop
*/
ESPTouch2.onStop(() => {console.log('Stopping broadcast')};
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.18 | 31 Jul 2023 | 19 | |
| 0.1.17 | 31 Jul 2023 | 19 | |
| 0.1.16 | 31 Jul 2023 | 19 | |
| 0.1.15 | 31 Jul 2023 | 19 | |
| 0.1.14 | 31 Jul 2023 | 19 | |
| 0.1.13 | 31 Jul 2023 | 19 | |
| 0.1.12 | 28 Jul 2023 | 19 | |
| 0.1.11 | 28 Jul 2023 | 19 | |
| 0.1.10 | 28 Jul 2023 | 19 | |
| 0.1.9 | 28 Jul 2023 | 19 | |
| 0.1.8 | 28 Jul 2023 | 19 | |
| 0.1.7 | 28 Jul 2023 | 19 | |
| 0.1.6 | 28 Jul 2023 | 19 | |
| 0.1.5 | 28 Jul 2023 | 19 | |
| 0.1.4 | 28 Jul 2023 | 19 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 16:04 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:653baf279d08e7f4f2435d7263658993937cf2b08bd6dcd9d4c76c157a679bdb