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

outdated

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
0%
popularity

Publisher

unverified uploader

Esp BLE provisioning package

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on esp_bluetooth_provisioning