I have a project job to use the nfc tag PN7120 under the Android system 5.0.
i follow up the guide AN11690 and AN11697 to install the kernel driver successfully and i2c bus also is initialized successfully, the device node is created too.
now i want a quick test app to verify the work of this nfc device. i still follow up the steps in the user guide. but when i merged the lifnfc-nci with the latest update provided by nxp from https://github.com/NXPNFCLinux/android_nxp-nci
there are so many errors coming out, like miss some aidl files, packages are not available.
i get confused if the android-nxp-nci is able to work with Android 5.0, or have to use with Android 6.0.
if the libnfc-nci does not work, is there any way to write simple program to talk to the kernel driver directly?
Hi Youhua,
That is because the Github release is for 5.1.1 only, for 5.0.0 source code you should look at this issue:
Lollipop patches don't apply · Issue #1 · NXPNFCLinux/android_nxp-nci · GitHub
We successfully got pn7120 working on our Nitrogen6x platforms with the 5.0.0 release:
Boundary Devices - Android Lollipop NFC demo
Regards,
Gary