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

After a few connection established, device stays connected. #75

Open
ferhat-hayriya opened this issue Oct 1, 2019 · 0 comments
Open

Comments

@ferhat-hayriya
Copy link

Hello

I have disconnection problem. After a few connection it stays connected and do not effect IAdapter. It changed mobile device to another.

For IOS dont have problem but for android, device stays connected after a few reconnection. I can solve issue by disable and enable tablet bluetooth. But its taking too much time, almost 1 minute.

    BleMan = (BluetoothManager) Android.App.Application.Context.GetSystemService(Android.Content.Context.BluetoothService);
    public void DeviceBluetoothOnOff()
    {
        BleMan.Adapter.Disable();
        System.Threading.Thread.Sleep(100);
        BleMan.Adapter.Enable();
        System.Threading.Thread.Sleep(100);
    }
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

1 participant