-
Notifications
You must be signed in to change notification settings - Fork 588
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
Mock setupNotification overwrites Gatt value #160
Comments
Hello @blakopf |
Because it messes up my values. I setup my mock with various services and characteristics with values.
I think this is a bug and the value should not be overwritten. |
…ue on setting notification. Summary: #160 Reviewers: michal.zielinski, pawel.urban Reviewed By: michal.zielinski, pawel.urban Differential Revision: https://phabricator.polidea.com/D2288
It seems so. The fix has just been landed and should be available shortly in |
That was fast, thank you very much. |
Summary
Why does the setupNotification(...) method overwrite the value of the BluetoothGattCharacteristic?
In detail, look at https://github.com/Polidea/RxAndroidBle/blob/master/mockrxandroidble/src/main/java/com/polidea/rxandroidble/mockrxandroidble/RxBleConnectionMock.java#L430
The text was updated successfully, but these errors were encountered: