The BLE Device Disconnection not working on UWP C#
Hello folks,
I'm developing a UWP Application using a C# for establishing the connection between BLE devices like Connect, Read, Write, and Disconnect for that we using a "Windows.Devices.Bluetooth".
I'd successfully completed a few operations like connect, Read, and Write. But when I'm trying to disconnect that connected BLE Device, It does not disconnect the device properly, It takes more than 1.5 - 2 mins. Yeah, I had unsubscribed the notification so the data that we are receiving from the BLE Device was stopped. So, that is not a problem.
The only issue should be that the device not disconnecting from the system.
For Example:
connected_device.Dispose();
If anyone has a solution for this issue, please help me.
Thanks in advance!