We are working on an IoT based application for ECG monitoring with 10 leads and have connected ADAS1000 chipset with our single board computer through SPI. The device driver has been ported on the custom Android Nougat ROM as /sys/bus/spi/drivers/adas1000/spi0.0/iio:device0.
I'm writing an Android application with native JNI (using Android NDK) but not able to find the package I need to include in my JNI C++ file. It would be great if I can get a documentation for the JNI implementation. Also, a sample JNI code would help.
manishsingh said:single board computer
SBC is powered by Qualcomm® SnapdragonTM 212 application processor.
JNI Implementation? As far as I can tell, there is no such thing.
There is the IIO driver and libiio nothing else.
To add to Michael, yep: you need to use libiio to control the driver via Java.
We don't have any JNI interfaces yet; we have these so far:
We may add some Java bindings at some point, but that isn't on our roadmap yet.