Directly reading sensor data by paring Band 2 and PC (windows 8.1) still needs an emulator

218 views Asked by At

I have to read sensor data from Band. I did search and became more confused. It seems there is a way to directly read data from Band by connecting with the desktop (windows 8.1) via Bluetooth. When I run a sample, it returns an error message like ‘deployment failure. No windows phone is detected’.

Is it possible to read sensor data from Band 2 this way?

  1. Software environment: VS2015 community-Blank App (Universal windows);
  2. Hardware environment: Band 2, desktop;
  3. Pairing Band 2 with desktop via Bluetooth;

No windows phone and windows phone emulator get involved. Microsoft Health app is not used. If yes, can I find sample code online?

Or it should be this way?

  1. Software environment: VS2015 community-Blank App (Universal Windows 8.1), windows phone emulator, Hyper-V is required as well;
  2. Hardware environment: Band 2, desktop, windows phone;
  3. Pairing Band 2 with windows phone via Bluetooth;
  4. Run the sample on the windows phone;

Both windows phone and windows phone emulator get involved.Microsoft Health app is not used.

1

There are 1 answers

4
Phil Hoff -- MSFT On

You can use the Band SDK in one of two ways:

  1. Within a Windows Phone 8.1 or 10 (Universal) application running on a Windows Phone, where the Band is Bluetooth-paired to the phone.

  2. Within a Windows Store 8.1 or 10 (Universal) application running on a Windows PC, where the Band is Bluetooth-paired to the PC.

The Band SDK is the same regardless of the hardware used, so any of the samples should be fine.

Note that you cannot use the Band SDK when your application is running in the Windows Phone emulator nor when the application is running in the Windows simulator.