Search code examples
androidnfcndefnfc-p2p

Reading data in NFC phone, with NFC Reader


In my project, i need to send 9 digit number to NFC Reader via my NFC phone. NFC Reader should read the data, and use it in my windows project.

I have Samsung note 3 as NFC phone, and acr122L as NFC Reader.

I've been searching about it, but couldn't find good answer.

How can i send data ? Is there any example, or sample cod?


Solution

  • The easiest way is to use HCE (Host Card Emulation) on android device. https://developer.android.com/guide/topics/connectivity/nfc/hce.html

    NFC reader on windows will "see" a card, when you tap your phone.

    UPDATE1

    Regarding windows reader sample, you could have a look at this tutorial: http://the--semicolon.blogspot.fr/p/this-is-simple-way-to-restart-your.html

    And of course at official doc from ACS: http://www.acs.com.hk/en/products/144/acr122l-visualvantage-serial-nfc-reader-with-lcd/