-
Notifications
You must be signed in to change notification settings - Fork 581
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
Observable
emitted from RxBleConnection.setupNotification()
/RxBleConnection.setupIndication()
does not complete
#231
Comments
dariuszseweryn
changed the title
Jun 23, 2017
Observable
emitted from RxBleConnection.setupNotification()
/RxBleConnection.setupIndication()
does not comObservable
emitted from RxBleConnection.setupNotification()
/RxBleConnection.setupIndication()
does not complete
dariuszseweryn
changed the title
Jun 23, 2017
Observable
emitted from RxBleConnection.setupNotification()
/RxBleConnection.setupIndication()
does not completeObservable
emitted from RxBleConnection.setupNotification()
/RxBleConnection.setupIndication()
does not terminate
Haven't thought this through, but will this fix require any changes to |
@RobLewis No. |
dariuszseweryn
changed the title
Jun 26, 2017
Observable
emitted from RxBleConnection.setupNotification()
/RxBleConnection.setupIndication()
does not terminateObservable
emitted from RxBleConnection.setupNotification()
/RxBleConnection.setupIndication()
does not complete
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Currently when the user will unsubscribe from
.setupNotification()
/.setupIndication()
the notification/indication is teardown but the (possibly) emittedObservable<byte[]>
does not complete.Similarly when the
RxBleConnection
terminates the emittedObservable<byte[]>
does not throw an error.Library version
1.3.1
Steps to reproduce actual result
1. Connect to a device
2. Setup notification (or indication)
3. Wait for it being setup
4. Get emitted
Observable<byte[]>
5. Un-subscribe from the
.setup*()
6. Observe that emitted
Observable<byte[]>
has not completedMinimum code snippet reproducing the issue
Actual result
SHOULD COMPLETE
is not logged after 15 seconds from the notification setup.Expected result
SHOULD COMPLETE
should be logged after 15 seconds from the notification setup.The text was updated successfully, but these errors were encountered: