dotintent / FlutterBleLib

Bluetooth Low Energy library for Flutter with support for simulating peripherals
Apache License 2.0
535 stars 197 forks source link

Add unsafe way of creating peripherals #502

Closed mikolak closed 4 years ago

mikolak commented 4 years ago

Resolves #295

VinciShark commented 4 years ago

I test this function with:

var peripheral = bleManager.createUnsafePeripheral({MY_ID_HERE});
await peripheral.connect();
bool connected = await peripheral.isConnected();
print("!!!!" + connected.toString());

Works fine! LGTM