Microsoft Band SDK for Windows 8.1

I may be crazy, but how do I access the group on a Windows 8.1 machine?

Any calls to BandClientManager return 0 paired devices and I'm not sure how to "connect" the group to the Windows 8.1 machine.

I can obviously get Microsoft Band Desktop to sync easily on any desktop, but none of the bluetooth on any of my Surface devices ever even registered an available band.

The code samples obviously show the connection in Windows 8.1. What am I missing to show the group?

+3


source to share


5 answers


A few things to try and have an effect:

Disable power saving on PC BT adapter

  • On your PC, launch Device Manager (for example, by right-clicking the Windows 8.1 Start button and selecting Device Manager).
  • In Device Manager go to Bluetooth → and right click and select Properties.
  • Click the Power Management tab of the Properties dialog box and make sure the Allow the computer to turn off this device to save power check box is cleared.


Reinstall the group on the PC:

  • On the strip, go to the settings panel and tap the Bluetooth icon, then change the Bluetooth status from "On" to "Pairing."
  • On PC go to Bluetooth "Show Bluetooth Devices" and disconnect the Band (if it was previously connected to PC) and then start a new connection.
+6


source


The latest SDK contains examples of Windows 8.1 and Windows Phone 8.1. You can find the SDK here: http://developer.microsoftband.com/



+1


source


Have you already installed the Band Sync app on Windows and paired with a band?

I have not tried this scenario on a Windows 8.1 machine yet, but I have had no issues with BandClientManager on Windows Phone 8.1 in a Windows Store app.

Windows Sync Application for Windows 8.1 http://www.microsoft.com/en-us/download/details.aspx?id=44579

0


source


I just quickly checked my machine on Windows 10 (desktop). I connected my band to the machine via Bluetooth - since they have an older machine, I have a Bluetooth USB adapter, and created a new Blank project, Windows 8.1 Store in Visual Studio 2013. I applied the latest Band SDK NuGet (v1.3.10417. 1). I added a button to MainPage and added the following click handler:

private async void Button_Click(object sender, RoutedEventArgs e)
{
    var bands = await BandClientManager.Instance.GetBandsAsync();
    var band = bands.FirstOrDefault();

    if (band != null)
    {
        var client = await BandClientManager.Instance.ConnectAsync(band);

        string name = await client.GetFirmwareVersionAsync();
    }
}

      

I started the application in the debugger on my local machine (not the simulator) and was able to list, connect, and get the firmware version from my group.

I only have an old Surface RT machine (which doesn't run Visual Studio) and I am running Windows 10 on all my desktops at the moment, so I cannot replicate your exact scenario. However, if it works on an old machine with an external bluetooth adapter on a pre-installed OS, I would be surprised that it doesn't work on a much newer machine (like on a surface) with a built-in bluetooth adapter, released and stable OS.

One thing to keep in mind is that the Band will only "remember" (ie connect) to the last device it was paired with Bluetooth, regardless of whether all those devices indicate that the Band is paired (and vice versa). If you switch between testing the Band with your phone apps and your Store (desktop) apps, you need to reassemble (not factory reset) the Band to a new device.

0


source


I have the same problem, I have a laptop running 8.1 Dell and it sees the group in bluetooth connections etc, but when I try to connect in my app it doesn't see the group. I even tried to connect my group to the window and my app crashes on the connection.

The weird thing I noticed when it connects with my iPhone, it connects as if it were 2 devices. There are 2 entries in my bluetooth settings. When connected to laptop and phone window, it shows as 1, but sometimes another device appears, then disappears and you cannot connect to it. It might be a red herring, but it's a little weird ...

the code does nothing special: var pairedBands = waits for Microsoft.Band.BientClientManager.Instance.GetBandsAsync (); if (pairedBands.Length <1) {// display an error message return; }

pairedBands always returns at 0.

Windows Phone dll is 8.1.0.0 .... help! It drives me crazy.

0


source







All Articles