esp_bluetooth_provisioning 1.0.1 copy "esp_bluetooth_provisioning: ^1.0.1" to clipboard
esp_bluetooth_provisioning: ^1.0.1 copied to clipboard

Esp BLE provisioning package

esp_bluetooth_provisioning #

A cross platform package for flutter to provision device.

Getting Started #

Installation #

dependencies:
  esp_bluetooth_provisioning:

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" />

Also, use io.flutter.embedding.android.FlutterActivity as your FlutterActivity

Bluetooth Permission #

Ask permission

    EspBleProvisioning().requestPermission();

Bluetooth Adapter State #

Scanning #

Start Scanning on foreground.

    EspBleProvisioning().scanBluetoothDevice()

Connecting to device #

   EspBleProvisioning().connectToBluetoothDevice()

Provisiong device #

    EspBleProvisioning().startProvisioning()
1
likes
30
pub points
12%
popularity

Publisher

unverified uploader

Esp BLE provisioning package

Homepage

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on esp_bluetooth_provisioning