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

Possibility to specify the service as well as characteristic UUID for read, write and notify? #38

Closed
6bangs opened this issue Jun 27, 2016 · 2 comments
Assignees

Comments

@6bangs
Copy link

6bangs commented Jun 27, 2016

It's possible that a device can support multiple services that each expose a different characteristic with the same UUID; in the current API, there's no way to specify which service to use. This edge case shouldn't occur unless a device implements a custom profile, so it might make sense for the service UUID to be optional.

@dariuszseweryn dariuszseweryn self-assigned this Jul 8, 2016
dariuszseweryn added a commit that referenced this issue Jul 14, 2016
…teristic, setupNotification, setupIndication) on raw Bluetooth SDK objects (BluetoothGattCharacteristic, BluetoothGattDescriptor)

Summary:
Added / Altered testing methods to excercise newly exposed API. TODO: (read/ write)Descriptor tests.

Related #38

Reviewers: pawel.urban, michal.zielinski

Reviewed By: pawel.urban, michal.zielinski

Differential Revision: https://phabricator.polidea.com/D1697
@dariuszseweryn
Copy link
Owner

In the next SNAPSHOT release there are added interface functions to use with raw Android BluetoothGattCharacteristic and BluetoothGattDescriptor which can be obtained from RxBleDeviceServices (RxBleConnection.discoverServices())

@6bangs
Copy link
Author

6bangs commented Jul 16, 2016

That'll do it, thanks!

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