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

Force a discoverServices refresh #861

Open
xvrh opened this issue Sep 30, 2024 · 1 comment
Open

Force a discoverServices refresh #861

xvrh opened this issue Sep 30, 2024 · 1 comment

Comments

@xvrh
Copy link

xvrh commented Sep 30, 2024

The method RxBleConnection.discoverServices caches the result.

How do we force the refresh of the service list?

For example, my device will expose a different set of bluetooth Services/Characteristics after we've send a special permission code.

Thanks a lot

@dariuszseweryn
Copy link
Owner

You can use a custom operation, like this

Then you can use the functions that accept BluetoothGattCharacteristic instead of the UUID

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

2 participants