New Bluetooth features in Windows 10 Creators Update

  1. Brink's Avatar
    Posts : 34,492
    64-bit Windows 10 Pro build 18290
       13 Jan 2017 #1

    New Bluetooth features in Windows 10 Creators Update

    This release is big on Bluetooth. If you’re familiar with Windows Bluetooth APIs, have been meaning to try them out, or if you’re just starting to dabble in IoT and wearables, this is a great time to take a fresh look at all things Bluetooth. To ensure the APIs we built out are functional and performant, we are working directly with Fitbit, Garmin and other device manufacturers and we would love your feedback as well.

    There are three main features in this month’s Insider preview:

    • GATT Server
    • Bluetooth LE Peripheral
    • Unpaired Bluetooth LE device connectivity

    A lot of the improvements are focused on Bluetooth LE, but we have improved Bluetooth audio functionality as well. While we made a lot of changes under the hood to ensure that all your devices talk nicely with each other, we also added a couple of new features.

    Call Control API support comes to desktop. This means your VoIP apps can natively take advantage of Bluetooth headset functionality like pick up, hang up, hold, call waiting, etc. You will also experience higher-quality audio for voice, thanks to Wideband speech – coming soon to desktop. Now, Cortana will sound more lifelike and your Skype sessions will sound better than ever over Bluetooth.

    Now, let’s break down the LE portions of this feature set.

    GATT Server

    GATT (or Generic ATTribute) logically describes how data is structured and must function in a Bluetooth LE device. The device that has the interesting data is the Server, and the device that uses that data to perform a function is known as the Client. For example, a Windows Phone (Client) reads data from a heart rate monitor (Server) to track that a user is working out optimally. Windows has traditionally been a GATT Client but with the Windows 10 Creators Update, Windows can operate as the Server as well. The hierarchy of classes in the example heart rate service is described below, but you can pick and choose any logical set of characteristics and descriptors to make your custom GATT service.

    Your phone or PC has notification/user credential information that a wearable device does not have. For instance, when an incoming text message comes in, Windows can act as the GATT Server and notify a nearby wearable of the text’s arrival. Diagram 1 shows a sample service structure using Bluetooth classes implemented in this release.

    Diagram 1: Sample Heart Rate GattDeviceService

    For a more thorough discussion of GATT and all of its intricacies, take a look at the Bluetooth SIG page or the GATT tutorial on Adafruit.

    Bluetooth LE Peripheral Role

    In addition to GATT roles which determine the structure of the data, Bluetooth defines Generic Access Profile (GAP) roles as well.

    These GAP roles specify which device advertises as connectable and which device does the connecting. To connect a device, Windows users generally go to the Settings page, find the device they want to connect and tap to connect. This action of connecting to remote devices implies that Windows is operating in the GAP Central role. However, there are often cases where remote devices such as smart locks need to be aware of Windows, or where you’re trying to connect two Windows devices. In such cases, we need to make sure that Windows can advertise as connectable. With the new Insider preview, apps can put the system in a state to advertise support for Bluetooth LE services. With Peripheral role and GATT Server combined, Windows can operate in all four combinations of GATT and GAP roles (color choices arbitrary, of course):

    Diagram 2: Windows operating in all GATT and GAP roles

    Unpaired Bluetooth LE device connectivity

    Traditionally, Bluetooth LE devices needed to be paired with Windows to be accessed. This either forced the user to switch context to the Settings page, or caused developers to implement in-app pairing logic within the app. Unfortunately, there were even devices that didn’t support pairing, which necessitated ugly workarounds for the developer. All that is going to change now with the new Async GATT APIs.

    In the new APIs, take a look at BluetoothLEDevice.GetGattServicesAsync(), GattDeviceService.GetCharacteristicsAsync() as well as GattCharacteristic.GetDescriptorsAsync() to get an idea for how to query a remote device without pairing.

    What you need to get started

    It’s all in the release preview Build and SDK, available to download here. Once you install the build, take a look at the classes that were described in the previous sections and have at it. We’re a little light on the documentation right now, but we will remedy that soon.

    Does this mean my <insert wearable here> can get notifications?

    GATT Server will open up a myriad of Bluetooth LE device-to-device scenarios that we think are super exciting! Why limit yourself to “Notifications”? Think remote authentication, smart locks, proximity and IoT! The world is your (wireless) oyster. But yes, developers can start enabling notifications now. However, consumers will only see this functionality lit up once Windows 10 Creators Update is released and their updated app is in the store.

      My ComputersSystem Spec

  2.    13 Jan 2017 #1

    I'd just like it to work one time, that's all. Reliably connect every time, like a Zippo lighter. Think you could manage that? Oh and how about unattended file transfer, like mounting your phone as a drive? Who wants to sit there and marshall every file? But go ahead, waste years getting it to take your heart rate, yeah, that would be great.
      My ComputerSystem Spec


Related Threads
"Redstone 2" is officially Windows 10 Creators Update version 1703 Source: Empowering a new wave of creativity with the Windows 10 Creators Update and Surface Studio | Windows Experience Blog See also: How to follow along with...
Can someone explain what this is all about. Windows 10 Creators Update expected to arrive in April - The Verge How about just a plain ole everyday system that works.
i'm missing good features from my Bluetooth for example i can use my smartphone to directly stream music to the laptop or use smartphones modem to access communication text and call i tried using windows 8.1 and windows 7 suite windows 8 won't...
Read more: The Other New Features Coming With The Windows 10 Creators Update -
Source: Windows 10 Creators Update Will Enable Any Gamer to Broadcast - Xbox Wire
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:42.
Find Us