ble icon indicating copy to clipboard operation
ble copied to clipboard

Connectivity issue after a while

Open remusmp opened this issue 4 years ago • 1 comments
trafficstars

Hello,

I have the following setup: a BLE device and a tablet with Android 10. The tablet is programmed to scan, connect, grab some data and disconnect from the BLE device in an infinite loop. Everything works fine for some time and then all of a sudden scanning shows 0 devices and the tablet is no longer able to connect to the device. If I restart the app everything works again. I don't see any crashes in the logs. Is there a way to restart or reset the BLE stack like an app restart would do?

remusmp avatar Jun 01 '21 09:06 remusmp

@remusmp cant really help with so few details. You need to look if everything is correctly released. If you can create a simple repro example (using an app test and the [ble_server_test](https://github.com/nativescript-community/ble/tree/master/ble_server_test) to simulate a device) then i can fix it

farfromrefug avatar Jun 01 '21 11:06 farfromrefug