Topic: libnfc porting to Android ICS 4.0 with PN512 device

Hi All,

I need to port libnfc to Android ICS 4.0 with PN512 device interfaced over SPI. Basically the unit should just act as  card reader/writer with MIFARE cards. I have the following questions.

1. Is there any existing port of libnfc in Android available? If not how to go about this.
2. How do I write and plug the PN512 driver to libnfc, just for card reader/writer functionality.
3. Could find reference about a document in porting libnfc to android in the following link in the discussion forum http://www.few.vu.nl/~hak300/libnfc_to_android.pdf. This link is not accessible now, can anyone send this doc.


Regards,
Nandan

Re: libnfc porting to Android ICS 4.0 with PN512 device

I came across this link too. Did you get a copy?

Re: libnfc porting to Android ICS 4.0 with PN512 device

It's still possible to view it online here: http://wenku.baidu.com/view/8720e0ecf8c … db23a.html

For adding support for PN512 to libnfc, this requires more effort than for the PN53x family.
Have a look at example source code available in AN10664_1_NFC_FRI_SDK_206810.zip from http://www.nxp.com/products/identificat … mentation.
Look for the lower layers (DAL & HAL files).

Phil

Re: libnfc porting to Android ICS 4.0 with PN512 device

Not sure how relevant this is, as I haven't had much time to play with it, but I've just merged Nick von Dadelszen's libnfc/android stuff into RFIDIOt. Take a look at https://github.com/AdamLaurie/RFIDIOt which might have some helpful clues!