Seeed-Shield / NFC_Shield_DEV

Please use the PN532 library(http://goo.gl/rRQ56V)
Other
14 stars 10 forks source link

get error "rxNDEFPayload() timeout" #4

Open Tataro opened 10 years ago

Tataro commented 10 years ago

Hi, I'm quite newbie about NFC.. I use an example nfc_ndef_pull and when i try to tap a smartphone on a nfc shelid,it shows "rxNDEFPayload() timeout", how should I do? Thanks you! untitled3

Tataro commented 10 years ago

sometimes I get this error. :( untitled

xiongyihui commented 10 years ago

Hi, please try the new library --- https://github.com/Seeed-Studio/PN532.

kit813 commented 10 years ago

Hi xiongyihui:) first of all I would thank you for supporting this library and I did some great project from it. Recently I have found some issues, and don't know if you can solve my problem. I wrote a arduino code with this library to perform p2p communication between my samsung galaxy s3 and arduino and it works really well. But when I change the device to samsung galaxy s4, the arduino NFC shield seems like they can't communicate and exchange NDEF message, is this happened because of the different NFC chip used in galaxy S4? and as I know S4 can't read MiFARE classic tag, it only can read Mifare Ultralight and others. Thanks in advance :)

xiongyihui commented 10 years ago

Hi kit, a different NFC chip has a slight different procedure to process p2p communication. This library is tested with galaxy nexus and nexus 7. It's some kind of arbirary. please have a try of a new library --- https://github.com/Seeed-Studio/PN532 which is much more readable and will gain further update.