KW88 heart rate in my custom app

Hello.

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

I found a similar solution for no1 d5: 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

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

It makes a load beep