ray007

Results 119 comments of ray007

I got the same problem here.

Anyone any idea what needs to be done to read serviceUUIDs again or filter by some on android 12+ ?

Hmm, I followed things down to `ScanCallBackImpl.prototype.onScanResult` (around line 475 in bluetooth.android.js). The property `mServiceUuids` of the ScanRecord is `null`. Ignoring this and trying to read the characteristic anyway also...

Yes, but when dumping a `ScanRecord` with `console.log`, you can see the `mServiceUuids` property. The funny things also is, I can see a serviceUUID there from one garmin device. Talking...

Looking at https://docs.particle.io/reference/device-os/api/bluetooth-le-ble/blepeerdevice/#blescanresult, there seems to be a `scanResponse` separate from the `advertisingData`, which needs an extra request but no connect. And starting with api level 31 on android, this...

Unfortunately no. But on my test device, the code path does not seem to go through this `onLeScan` function, but through a similar method [ScanCallBackImpl#onScanResult](https://github.com/nativescript-community/ble/blob/70545002b3b9f8ae0d749aec912dc6d9ec092e0b/src/bluetooth.android.ts#L573). The `stateObject` check there is...

My [question on stackoverflow](https://stackoverflow.com/questions/74629617/android-12-missing-ble-serviceuuids) hasn't got any responses so far. Maybe we need to file a bugreport somewhere with the android project...

@erik777 Thanks for trying, but no luck so far. But I tried to call `discoverServices({peripheralUUID:peripheral.UUID})` in my `onDiscovered` callback during the scan, not in `onConnected` like you did. Calling `discoverServices`...

@erik777 thanks for trying to help. I don't think permissions are the problem. I know those have changed but updating for that was quite easy. I also do find our...

Is this not something for `SharedArrayBuffer`?