Hello. I'm trying to get heart rate data in my custom app without success.

Hello.

I’m trying to get heart rate data in my custom app without success.

I found a similar solution for no1 d5: http://github.com/fisch92/SensorLib/. When I open “/dev/pixart_ofn”, the green led behind watch lights up, but when i try to read data, it returns me an error: “read failed: einval (invalid argument)”.

I can’t decompile system app called “HeartRateMonitor” because baksmali returns an error: “Unsupported oat version: 45”

Someone here can help me?

SOLVED

https://github.com/interfire/KW88-Heart-Rate-Sensor-Example

SensorLib developer is a member of this community.
Try to find his posts if you want to get in touch with him.

Finally I made this! Here is example if someone want: https://github.com/interfire/KW88-Heart-Rate-Sensor-Example
https://github.com/interfire/KW88-Heart-Rate-Sensor-Example