I'm working on a NFC study. My development environment is as follows.
- raspberry pi 3 B
- PN532 NFC : https://www.sunfounder.com/pn532-nfc-mo ... ry-pi.html
- Android Phone (app name :nfc-tools)
I connected the PN532 NFC to my raspberry pi using i2C, referring to the link below.
http://wiki.sunfounder.cc/index.php?tit ... spberry_Pi
Since then, when I contacted the plastic tag that was bundled with the PN532 NFC, I have received something as follows.
pi@raspberrypi:~ $ nfc-poll
nfc-poll uses libnfc 1.7.1
NFC reader: pn532_i2c:/dev/i2c-1 opened
NFC device will poll during 30000 ms (20 pollings of 300 ms for 5 modulations)
ISO/IEC 14443A (106 kbps) target:
ATQA (SENS_RES): 00 04
UID (NFCID1): 21 29 65 0c
SAK (SEL_RES): 08
nfc_initiator_target_is_present: Target Released
Waiting for card removing...done
What I want is the PN532 NFC in my raspberry to be the tag, and the android phone to be the reader.
I've run several examples provided by libnfc and nothing happens in the android app (nfc-tools).
(Of course, if you contact Android with the round plastic tag that is included in the bundle, it will read something.)
I have some questions in this situation.
1. Does my PN532 NFC module work with an NFC tag?
2. Is there a sample code or reference site that can operate the PN532 NFC module as the NFC tag?
3. Do you have any android app to recommend when developing RPI-based NFC?
I'm currently only aiming for communication. So I just need to pass the data on the raspberry pi and receive the data on the android phone.
I hope there is someone who can help me. Note that the language uses C.