Skip to content
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

Connectivity issue after a while #224

Open
remusmp opened this issue Jun 1, 2021 · 1 comment
Open

Connectivity issue after a while #224

remusmp opened this issue Jun 1, 2021 · 1 comment

Comments

@remusmp
Copy link

remusmp commented Jun 1, 2021

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?

@farfromrefug
Copy link
Member

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants