Hey All!
Brand new tinkerer here. I’m trying to figure out how to get this Grove NFC Tag working with the Dragonboard 410c on Android to read/write data. Feel free to stop me here if that’s the wrong way to go - there are other NFC chips that I’ve come across and I’m honestly not sure if I’m barking up the wrong tree. The tag has some reference code on github geared towards use on Arduino. I’ve built an app using the Android SDK NfcAdapter / NfcManager that works from my Android phone and would like to install it on the Dragonboard.
I was able to work through the documentation for building Android from source and was able to flash my locally built version onto the board. My build env:
Debian 8.5
Linux kernel 3.16.0-4-amd64
gcc 4.8.4
In trying to use the NFC chip via I2C, I’ve read through the post about libmraa and libupm here and cross-compiling here. I am exploring how to get those libraries built into my local Android build. Is that the correct approach?
I think the NFC chip uses a PN532 controller, which seems to be supported in libupm. But I’m also not sure if maybe I should get this Grove NFC chip to use instead. Another option might be this chip on Adafruit, but it’s also not clear to me how to go about building support into Android.
I’m open to any advice / suggestions on how to expand the Dragonboard 410c to have NFC support on Android.
Thanks in advance for your consideration!