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

support for writeCharacteristic with Priority #724

Open
HunanDj opened this issue Sep 18, 2020 · 2 comments
Open

support for writeCharacteristic with Priority #724

HunanDj opened this issue Sep 18, 2020 · 2 comments

Comments

@HunanDj
Copy link

HunanDj commented Sep 18, 2020

Hello, can you support sending data according to priority? Sometimes for some tasks that have been added to the queue, because the amount of data is relatively large and not important, we hope that it can be sent with a lower priority. Maybe we can have such an interface:
Single<byte[]> writeCharacteristic(@nonnull UUID characteristicUuid, @nonnull byte[] data,Priority priority);

Or can you provide other suggestions, I noticed that there are custom solutions
Observable queue(@nonnull RxBleCustomOperation operation);
But it is too difficult for me.
Thank you very much :)

@okbean
Copy link

okbean commented Dec 23, 2020

yes strongly recommend supporting priority queue , suggest that ,there is an incoming call , the app should tell the device as soon as possible!

@MarekMacko
Copy link

+1

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

3 participants