Closed Shunt22 closed 5 months ago
Now this plugin doesn't support create peripheral without scan. Create peripheral without scan is not a normal way in BLE, I know we can create BluetoothDevice with MAC address on Android, but this method still scan for the device, so why not just scan and filter the device with the address(UUID)? Also the MAC address maybe a random address and change every few minutes, it's not a good idea to create peripheral with MAC address.
There is a breaking change in the latest bluetooth_low_enregy_interface
now, you need add the last version to make the plugin to work.
bluetooth_low_energy_platform_interface: 6.0.0-dev.18
I will fix this issue soon.
Indeed, I can scan first and filter by UUID. I've done it this way. Will wait for 6.0.0 stable release. Thanks for the package!
Hi! I was looking for a way to connect without scanning, by creating my own Peripheral with known UUID (I know you can't do this on IOS etc), I need this for Windows.
It looks likes on 6.0.0 version I can do it with Peripheral class so I switch to 6.0.0 version and got this error when building on Windows: