Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setPhy support in ScanSettings.Builder #771

Open
jimboboliver opened this issue Nov 16, 2021 · 1 comment
Open

setPhy support in ScanSettings.Builder #771

jimboboliver opened this issue Nov 16, 2021 · 1 comment

Comments

@jimboboliver
Copy link

Is your feature request related to a problem? Please describe.
On new BLE 5.0+ devices can advertise long range using coded PHY. RxAndroidBle does not currently seem to have a way to configure for discovery over coded PHY. The RxAndroidBle ScanSettings.Builder only offers a subset of what is available in the Android ScanSettings.Builder.

Describe the solution you'd like
I'd like to be able to configure a device scan to use all supported PHY using the RxAndroidBle ScanSettings.Builder.
Here is a link to the ScanSettings.Builder setPhy

Additional context
My development is actually using the RxAndroidBle through react-native-ble-plx -> MultiPlatformBleAdapter -> RxAndroidBle. I've managed to successfully setPreferredPhy once connected using a RxBleCustomOperation in MultiPlatformBleAdapter (thank you for making this possible).

Please let me know if there is currently a way to setPhy myself or whether this is a possible feature.

@jimboboliver
Copy link
Author

Additionally, is there any plan to add onPhyUpdate to the RxBleGattCallback's nativeCallbackDispatchers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant