Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant