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++?
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.