techniq / node-pn532

Native Node.js driver for the PN532 NFC chip
70 stars 31 forks source link

readNdefData() is returned "UnDefine" #17

Closed bluems closed 5 years ago

bluems commented 5 years ago

hi, readNdefData() is returned "UnDefine"

My Test Case is Android NFC and few NFC/RFID Tags

and Test Code is below that examples/read_data.js var rfid = new pn532.PN532(serialPort); rfid.on( ...... rfid.readNdefData().then(function(data) { .... }); .... node_pn532 read only one card in test case

techniq commented 5 years ago

@nazuna1 try to enable debug logging to get more details.

Also, which hardware are you using? See this discussion regarding setup and potential issues. I've always used this board as well as a custom board built with the PN532 chip, but I know that user struggled using the Arduino shield and ended up purchasing the same board I was using and it worked for him.

I currently do not have a setup in place to provide much more help right now to be honest. I haven't actively developed on the library for 2 years now (but still have it being used in production).