-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Exception when trying await device.discoverServices() at https://github.com/vovagorodok/ble_backends/blob/main/packages/flutter_web_bluetooth_backend/lib/flutter_web_bluetooth_connector.dart#L48
DartError: SecurityError Tried getting blocklisted UUID (getPrimaryServices). https://goo.gl/HxfxSQ
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 274:3 throw_
package:flutter_web_bluetooth/src/bluetooth_device.dart 423:9 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 623:19 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 648:23 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 598:5 <fn>
dart-sdk/lib/async/zone.dart 1854:54 runBinary
dart-sdk/lib/async/future_impl.dart 237:22 handleError
dart-sdk/lib/async/future_impl.dart 960:46 handleError
dart-sdk/lib/async/future_impl.dart 981:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 738:5 [_completeErrorObject]
dart-sdk/lib/async/future_impl.dart 742:5 [_completeError]
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 511:7 completeError
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 582:12 _asyncRethrow
package:flutter_web_bluetooth/web/native_bluetooth_remote_gatt_server.dart 154:47 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 623:19 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 648:23 <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 598:5 <fn>
dart-sdk/lib/async/zone.dart 1854:54 runBinary
dart-sdk/lib/async/future_impl.dart 237:22 handleError
dart-sdk/lib/async/future_impl.dart 960:46 handleError
dart-sdk/lib/async/future_impl.dart 981:13 _propagateToListeners
dart-sdk/lib/async/future_impl.dart 738:5 [_completeErrorObject]
dart-sdk/lib/async/future_impl.dart 832:7 <fn>
dart-sdk/lib/async/schedule_microtask.dart 40:34 _microtaskLoop
dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 118:77 tear
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 188:69 <fn>
Starting by
flutter run -d chrome --debug --web-browser-flag "--enable-experimental-web-platform-features"
Peripheral
Same issue with both:
- ESP32 dev board with https://github.com/vovagorodok/ArduinoBleOTA software
- Arduino Nano 33 IoT board
Hardware Information:
- Hardware Model: Lenovo ThinkPad T14 Gen 5
- Memory: 48.0 GiB
- Processor: Intel® Core™ Ultra 5 135U × 14
- Graphics: Intel® Graphics (MTL)
- Disk Capacity: (null)
Software Information:
- Firmware Version: N47ET26W (1.15 )
- OS Name: Fedora Linux 42 (Workstation Edition)
- OS Build: (null)
- OS Type: 64-bit
- GNOME Version: 48
- Windowing System: Wayland
- Kernel Version: Linux 6.16.9-200.fc42.x86_64
Metadata
Metadata
Assignees
Labels
No labels