Sebastian Jastrzebski

Results 11 comments of Sebastian Jastrzebski

Hi - Thanks for following up on this. net.fs_uae.FS-UAE works for me but we will need help from Flathub ppl. I'm not sure how Flatpak and Flathub handle name changes...

Phone Model: Google Nexus 6P OS Version: Android 8.1.0 (Patch level: September 5, 2018) I'll have code snippet to repro the issue in a few minutes too.

Here is the code sample that reproduces the issue. You may have to vary the timeout based on how long it takes to establish connection with your BLE device. ```...

If timeout is > then amount of time needed to establish connection, everything works properly. Here is the corresponding log output: # Cancel Subscription after 3000ms ## App Log ```...

If timeout is < connection establishment time, then disconnect event is never received by BLE device # Cancel Subscription after 250ms ## App Log ``` 09-18 13:28:15.620 20508-20637/com.livindi.resident I/RxBle#CancellableSubscription: Scan...

The same behavior can also be reproduced with RxJava2 and latest RxAndroidBle 1.7.0. Here is isolated and standalone repro code: ``` package com.example.bletest; import android.annotation.SuppressLint; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import...

Here is application log corresponding to the most recent sample code: ``` 09-18 14:51:44.146 31075-31075/? I/zygote64: Late-enabling -Xcheck:jni 09-18 14:51:44.190 31075-31082/? I/zygote64: Debugger is no longer active 09-18 14:51:44.481 31075-31075/?...

> This seems to be an Android BLE stack issue — could you share phone model / OS @dariuszseweryn I tested this issue on another Android device and was able...

Google's bug report does indeed fit the pattern so at least on my side I will put in a workaround to mitigate this issue. It doesn't seem like Google is...

The workaround used is less than ideal but it works for my use case. Before cancelling subscription (forcing disconnect), I added an optional delay of 1-2 seconds if the connection...