Navideck / universal_ble

A cross-platform Android/iOS/macOS/Windows/Linux/Web Bluetooth Low Energy (BLE) plugin for Flutter
https://pub.dev/packages/universal_ble
Other
19 stars 2 forks source link

Discover of custom characteristic issue on Windows #29

Closed Regular89 closed 1 month ago

Regular89 commented 1 month ago

Hi! I have created custom services with several characteristics on a other project. When I debug the repo exemple on windows, I can see the custom service but can't access it's characteristics.

Tried on Android, it work fine.

Flutter 3.19.3 universal_ble 0.9.5

fotiDim commented 1 month ago

Hi @Regular89 I confirm the issue. In the example app on Windows I am getting Failed to get characteristics for service: 8000cc00-cc00-ffff-ffff-ffffffffffff, With Status: AccessDenied. It is likely capabilities related so perhaps some configuration is missing.

fotiDim commented 1 month ago

@Regular89 on further inspection it does not seem to be a capabilities issue. Perhaps some bug in the code, not sure yet. However, can you clarify if the issue is only with Characteristic discovery? You should still be able to read/write to characteristics that you know beforehand.

fotiDim commented 1 month ago

Fixed in 0.9.6