Bluetooth App RRS feed

  • Question

  • Hi,

    I'm new and I have two questions about bluetooth. I must develop an app (c#) on windows phone that connect to device. 

    1. how can I turn on/off bluetooth? I see manuals and examples, but I didn't see how to turn on/off bluetooth

    2. how can I find bluetooth UNPAIRED devices? 

    I'm writing sample code with PeerFinder class. Are there other classes? 


    Friday, October 3, 2014 12:35 PM


  • Go into the Modern control panel to add/remove Bluetooth devices.

    Use the Bluetooth RFComm sample. Warning: there's a bug in the FindAllAsync method -put it in a Dispatcher to run on the UI thread.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Friday, October 3, 2014 7:59 PM