Building Compelling Bluetooth Apps in Windows 10

Download this episode

Download Video

Download captions

Download Captions

Description

Windows 10 converges functionality provided in Windows and Windows Phone and extends it to enable exciting new Bluetooth scenarios such as broadcast and proximity. In this discussion, we’ll highlight those scenarios and provide guidance on how to use new APIs for advertising and background triggers.

Day:

3

Session Type:

Breakout

Code:

3-739

Room:

Room 3022

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      dalgundal

      Thank you for good session.

      And I have a question.

      As I know, scan response is in BLE spec.

      How can I do a scan response with customize response data?

      I try to search windows BLE API to do it, but I can't find it.

    • User profile image
      kpathakota

      Hi @dalgundal.  Thanks for your question!  In windows 10, we currently only support writing to the manufacturer specific data section.  We are looking to enable scan response in a future release and are keen on delivering it as soon as it's available.  

    • User profile image
      dalgundal

      Thank you for your reply :)

    • User profile image
      Tom T

      Does the new API set in Windows 10 allow unpaired communication with devices? Previously, this was not possible. Thanks!

    • User profile image
      kpathakota

      Hey Tom, it depends on what you want to do.  If you only need to parse the advertisement packet, then Windows 10 will work well but if you also want to read characteristics that don't require authentication, that is still not possible (you must pair first). 

    • User profile image
      Maxwell

      I am trying to pair a BLE mouse without using connect button.
      Do any windows 10 latest APIs allow the user to connect/pair the device programmatically?
      if not, Can I expect in the latest windows 10 releases?
      I'm using windows 10 pro insider preview evaluation build 10114.

      Thanks,

    • User profile image
      Jimmie

      Will it ever be possible to communicate with unpaired devices? In our use case a single phone may connect to 100 different devices over the course of a couple of days, requiring paring is virtually impossible. It also seems like a strange limitation when even Apple supports it.

    • User profile image
      kpathakota

      @Maxwell and Jimmie -  connecting with unpaired devices is not possible with our current APIs.  However, we are working hard to deliver this in a future release as soon as possible. 

      However, communicating with unpaired devices is possible over the ADV packet (which is available now). The only limitation is reading characteristic values that don't require auth. 

    • User profile image
      inode

      Hi! I have tried to run this project (https://github.com/Microsoft/Windows-universal-samples/tree/master/bluetoothadvertisement) on Lumia 435 Dual Sim with Windows 10 Mobile Insider Preview installed and found that scenarios 3 and 4 are not working. There is a system error Acces is denied - 0x80070005 and suggestion that is a problem with manifest - background task has not rights to access bluetooth. Scenarios 1 and 2 are working properly.

      Pawel

    • User profile image
      Raymond Dillon

      Hi Pawel,

      Have you added the bluetooth device capability in the manifest file?

      Raymmond

    • User profile image
      inode

      Yes, bluetooth device capability has been added but effect is the same. See a file https://github.com/Microsoft/Windows-universal-samples/blob/master/bluetoothadvertisement/cs/package.appxmanifest

      Pawel

    • User profile image
      Ramana

      Hi Kiran,

      I know you have in-built pairing mechanism, but if we want to develop our own pairing app, how can I develop it? I mean is there any documentation? well, you might ask why do we have to write again pairing app? Windows10 builds for IOT ( for Rasperry PI ), they do not support in-built pairing but they do have windows BT stack loaded when I attach BT dongle..

    • User profile image
      Presekal

      Hi do you have sample code how to get UUID.
      Instead of get Manufacture data, I want to get UUID from advertisement.

    • User profile image
      Riccardo

      Hi there!
      I was wondering if active scan for Bluetooth LE has been made available for windows app, and if so how to find a use-guide.

      (if I understand correctly, that's the way to have a small 2-way communication without estabilishing a connection:
      - advertisement: includes few bytes of user data
      - response ad request for another packet: includes few bytes of user data
      - last bits of user data from original advertiser to Windows App
      )
      is this correct?

      Thanks :)

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.