jlennox/HeartRate

Can you the HeartRateService be run in a CLI app

Opened this issue · 2 comments

maptz commented

Hi,

I was having a look at this tool over the weekend and found it to be very interesting. I wanted to use it to record some HR data. I wanted to amend it to run in a CLI app without the UWP dependency. Do you know if this is possible?

It seems that the Windows.Devices.Bluetooth.GenericAttributeProfile is a UWP service.

This is fundamentally tied to UWP as the bluetooth APIs I'm using are from there, but it does not run as a UWP app, it's just using it as a library (and should work as far back as win8.1, from what I recall).

I could make a CLI app but it would have the UWP dependency. Curiously, what is the issue with it?

maptz commented

Ok. I thought that was the case.

I'll try referencing the UWP service from a CLI app then. I wasn't aware you could reference libraries with UWP dependencies from CLI tools.