Skip to content

digitalfortress-dev/esp-idf-provisioning-react-native

Repository files navigation

esp-idf-provisioning-react-native

ESP IDF Provisioning for React Native

Installation

npm install @digitalfortress-dev/esp-idf-provisioning-react-native

Permissions

The permissions needed for Android:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
<uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-feature android:name="android.hardware.bluetooth_le" android:required="true"/>

Usage

import EspIdfProvisioningReactNative from '@digitalfortress-dev/esp-idf-provisioning-react-native';

...

EspIdfProvisioningReactNative.create();

Example app

Example app here

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library