Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft band get data real time without the use of a mobile

I have purchased microsoft band. My scope is to use that device in order to track information such as steps and heart rate real time. I am wandering is there a way to get those data real time without 3rd device directly to a pc, using for example a bluetooth device? Is there a filesystem in order to store data in Band device? How can I store my data when for example I am outside and I dont having a mobile support?

Edit: I downloaded the sample code from the site. Now I am having problems running the project using either the device of the emulator. In both cases I am receiving bootstrapping device failed. Device not found. In case of the emulator I got the following error:

Error   2   Error : DEP6200 : Boostrapping 'Emulator 8.1 U1 qHD 5 inch' failed. Device cannot be found. The configuration data for this product is corrupt. Contact your support personnel.
Personalization.WindowsPhone

How can I pair the device with my app? I have already pair the device with pc using the microsoft sync app.

Edit2: I create a windows runtime app and I followed instruction from the link mentioned. I manage to found the paired device from the code. How can I read heart rate using the paired device?

My code is the following:

     IBandInfo[] bandsPaired = await BandClientManager.Instance.GetBandsAsync();
     IBandClient bandClient = await BandClientManager.Instance.ConnectAsync(bandsPaired[0]);

      if (bandClient.SensorManager.HeartRate.GetCurrentUserConsent() != UserConsent.Granted)
      {

         await bandClient.SensorManager.HeartRate.RequestUserConsentAsync();
      }

What should I do to get the heart rate as a integer value? Is there a way to import the project to unity?

like image 600
Jose Ramon Avatar asked Sep 10 '15 08:09

Jose Ramon


2 Answers

For running and workouts you don't need a mobile. But if your ideia is use the Band indefinitely, for days, and then sync with a storage will not work. The Microsoft Band is like a aggregate of sensors, not a device that works alone.

like image 61
egomesbrandao Avatar answered Nov 13 '22 11:11

egomesbrandao


You can pair the Band directly to a Bluetooth-enabled (e.g. Windows) PC, then use the Band SDK to connect to the Band and stream real-time data from a Windows application.

like image 5
Phil Hoff -- MSFT Avatar answered Nov 13 '22 11:11

Phil Hoff -- MSFT