-
Notifications
You must be signed in to change notification settings - Fork 582
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
Sending the list of commands to device using RxAndroidBle #27
Comments
It is topical issue for me too. With Every connecting to ble device i need send "start" commnad and after that i can send next commands. In my case the ble device store some data for 7 days . To obtain the all data for one day I need send 3 commands. Therefore to get the data in the last 7 days, need to send a list of 21 (+ start command). Please can you give advice how solve this problem ? May be you know nice solution for commands queue that can easily integrated with rxAndroidBle lib? Thanks. |
I'm not sure if I get it correctly. Are you trying to write some data to a characteristic in a given order? If yes, you can just flatMap write operations and the order will be preserved. |
@DKKovalev @ardmn Could you follow up? |
Sorry, @uKL I will try it tomorrow :) |
@uKL Hi. I tried to find answer to this issue, but it still not work. May you give some helpful advice if it is not difficult for you :)
This code works, and writes that it was successfull, but device does't responed. |
I think this question should go to www.stackoverflow.com with #rxandroidble
And use it wherever you need in the code? |
@dariuszseweryn we have detail description of this issue on stackoverflow. |
…() with the same characteristic would overwrite BluetoothGattCharacteristic.value Summary: Related to: #27 and http://stackoverflow.com/questions/38250610/sending-the-list-of-commands-to-device-using-rxandroidble-rxjava/ Reviewers: michal.zielinski, pawel.urban Reviewed By: michal.zielinski, pawel.urban Differential Revision: https://phabricator.polidea.com/D1692
Summary
Hi, i'm trying to connect and send the list of commands, consisting of 16 bytes to BleDevice. How can i do this properly?
p.s. I'm pretty new to JavaRx
The text was updated successfully, but these errors were encountered: