Open fughilli opened 1 year ago
https://github.com/OpenBluetoothToolbox/SimpleBLE/blob/a567f791339396885b3d50c35c410160b69147e7/simpleble/src/backends/macos/AdapterBaseMacOS.mm#L21
This implementation masks permissions issues as Bluetooth being disabled on MacOS. There should probably be two separate accessors that expose permissions/enablement separately, such that higher layers can report more accurate error codes.
https://github.com/OpenBluetoothToolbox/SimpleBLE/blob/a567f791339396885b3d50c35c410160b69147e7/simpleble/src/backends/macos/AdapterBaseMacOS.mm#L21
This implementation masks permissions issues as Bluetooth being disabled on MacOS. There should probably be two separate accessors that expose permissions/enablement separately, such that higher layers can report more accurate error codes.