Closed umuttsaltan closed 1 year ago
you need to call:
await powerDevice.connect();
List<BluetoothService> powerServices = await powerDevice.discoverServices();
theyre connected to the system, but you still need to connect your app
you need to call:
await powerDevice.connect(); List<BluetoothService> powerServices = await powerDevice.discoverServices();
theyre connected to the system, but you still need to connect your app
i tried this like that but still same problem
Ask your question
After i connect a device, i use this function to get power data from BLE device.
Function :
When i'm running the app on iphone, there's no problem with function but on android it throws error on discoverServices. Am i doing something wrong?
Error Log :