stratosfy_esp_ble_provisioning

Creator: coderz1093

Last updated:

0 purchases

stratosfy_esp_ble_provisioning Image
stratosfy_esp_ble_provisioning Images

Languages

Categories

Add to Cart

Description:

stratosfy esp ble provisioning

esp_bluetooth_provisioning #
A cross platform package for flutter to provision device.
Getting Started #
Installation #
dependencies:
esp_bluetooth_provisioning:
copied to clipboard
Android Configuration
Make use you have flutter_embedding v2 enabled. Add the following code on the manifest file inside <application> tag to enable embedding.
<meta-data
android:name="flutterEmbedding"
android:value="2" />
copied to clipboard
Also, use io.flutter.embedding.android.FlutterActivity as your FlutterActivity
Bluetooth Permission #
Ask permission
EspBleProvisioning().requestPermission();
copied to clipboard
Bluetooth Adapter State #
Scanning #
Start Scanning on foreground.
EspBleProvisioning().scanBluetoothDevice()
copied to clipboard
Connecting to device #
EspBleProvisioning().connectToBluetoothDevice()
copied to clipboard
Provisiong device #
EspBleProvisioning().startProvisioning()
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.