c++windows-8.1bluetooth-lowenergy

How to disconnect bluetooth LE device on Windows 8.1


I'm developing an application with bluetooth low energy under Windows 8.1 and working with microsoft bluetooth le stack. I almost finish with all routines, I implemented: connection, reconnection, detection connection/disconnection notifications, connection state check... but one thing left - disconnection.

So, how to disconnect connected device using C++?


Solution

  • You cannot, they didn't implement this function in windows sdk saying that it's better (in power consumption sense) to maintain connection than reconnect.