-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PN532 Emulate not working randomly #125
Comments
Try to see if my changes mywalkb/PN532 improve your experience. |
@mywalkb - Can you explain what changes you're making in your branch? These are the changes I added. I'm using a Particle Photon (not Arduino) so there are some slight differences. I haven't tested this yet but it compiles. Cheers! |
it's been over a year it's hard to remember all the changes and why I made them.
you can fork and remove that commit if you don't want it. When you emulate a tag without callback, how can you know when you receive data? Polling is not a good method in my opinion. |
Thanks @mywalkb I took a lot of what you did and put it in this branch
Yeah, I'd generally agree with this but my code runs in a loop/state machine so a callback doesn't help me too much :) |
Hello!Has this issue been resolved yet? If not, I will take a look at it soon. |
Still the issue is there |
@mdjavedakhtar Hello, I tested it using FeliCa_card_detection. After turning on the phone, I put the card on my phone and it can be recognized. |
I haven't been able to verify this yet but it I used another iOS app that could scan the emulated tag. I reached out to the author for details. Basically, they had two reader implementations:
I'm not sure if he manually wrote the protocol for reading the tag with As for Android... I'm still investigating.
|
@jlkalberer My phone is an Android system, and every scan is successful. I haven’t tried it on IOS yet. I’ll give it a try on IOS. |
@jlkalberer I also tested it on an Apple mobile phone and it can also be detected. |
Hi
i have tried emulating a card with PN532 module. it works like 1 out of 20 times
i debug i get tgInitAsTarget Failed or timeout
if i keep the phone on the pn532 with 1 sec timeout in sketch after about 20 retry i get data on phone. then again it stops.
i am using SPI connection.
The text was updated successfully, but these errors were encountered: