Problem
I want to scan PN532 module which is connected to ESP32, using mobile phone's NFC scanner(Android/iOS).
I went through this manual and the two first steps (Scanning NFC Tags/MIFARE cards and Two PN532 modules together) worked successfully, but I couldn't scan the module with my mobile phone(Google Pixel 3, iPhone 7, etc).
What i've tried
I already programmed arduino UNO, Mega and ESP32 to sending commands to PN532.
I used HSU(TX, RX) protocol to connect ESP32 to PN532.
This is my error log when i scan the module with an Android(Google Pixel 3) mobile phone. I already tried bunch of phones.
---------------- LOOP ----------------------
Read Ack
0 0 FF 0 FF 0Read response:
SNEP Sever:Blocking wait response.
Read response: 0 0 FF 28 D8 D5 8D 16 25 D4 0 1 FE F BB BA A6 C9 89 0 0 0 0 0 32 46 66 6D 1 1 12 2 2 7 FF 3 2 0 3 4 1 64 7 1 3 2F 0
Opening SNEP Client Link.
Read Ack
0 0 FF 0 FF 0Read response: 0 0 FF 28 D8 D5 8D 16 25 D4 0 1 FE F BB BA A6 C9 89 0 0 0 0 0 32 46 66 6D 1 1 12 2 2 7 FF 3 2 0 3 4 1 64 7 1 3 2F 0
Read Ack
0 0 FF 0 FF 0Read response: 0 0 FF 3 FD D5 87 29 7B 0
Connection Failed.
Result: 0x80000004
My research
this document describes well the NFC protocols such as NDEF, LLCP, SNEP.
Questions
- Can I use PN532 to send data to mobile phone at all? If yes how can i do that?
- Why am i getting that error? Is it the Android blocking module from communication?