locked
Connecting and disconnecting paired Bluetooth LE device

    Question

  • Hi!

    How can I connect and disconnect bluetooth low energy devices from application, not through bluetooth options?

    Everything works OK when I open the bluetooth settings, tap the paired device icon and wait till it'll change state to connected. But I would like to establish connection with already paired device pragramatically. Also to disconnect it (to allow other devices to use the device).

    Thanks!

    Patrick

    Saturday, September 13, 2014 8:39 PM

Answers

  • Hi Patrick,

    As I know there is one for phone scenario: CallControl class, EndCall is the one that can disconnect the connection between two devices, I cannot find out other API that can support programmatically end disconnection.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Monday, September 15, 2014 9:00 AM
    Moderator