Closed jbatea closed 7 years ago
Hi everyone, i don't solve my problem, but i have new infos.
I supposed this problem came from the uid of the tag i tried to emulate, let me explain :
Tag i emulate is a 7 bytes uid, but what happened is the reader (with all phones) only see a 4 bytes uid (check with Nxp Tag Reader and Nfc Pro Tools). I emulate the tag with an Adafruit pn532, what i understand is it's impossible to emulate an 7 bytes uid with this board :
http://nfc-tools.org/index.php?title=PN53x http://manpages.org/nfc-emulate-forum-tag2 (The emulated target has only a 4-byte UID while most devices assume a Tag Type 2 has always a 7-byte UID (as a real Mifare Ultralight tag))
So, first question it's is really impossible to emulate a 7 bytes uid with libnfc and Adafruit pn532?
Then, if yes, do a samsung s6 (Samsung S3FWRN5P Nfc Controller) can correctly handle a 4 bytes uid tag?
And if it can't, there is another existing board that can emulate 7 bytes uid tag?
Thanks.
PN532 can't emulate 7-byte UID.
nfc-emulate-uid.c could probably be modified to emulate 7-byte anticollision but this type of emulation is very fragile anyways (hard to setup and non-standard timings) so you're risking even more problems.
And if it can't, there is another existing board that can emulate 7 bytes uid tag?
ChameleonMini can, Proxmark too probably.
Ok, thanks for your response, i will try something with nfc-emulate-uid, and if i fail to do it, i will take a look on others boards.
Hi everyone,
I try to emulate a type2 tag, with one of the example's functions of libnfc : nfc-emulate-forum-tag2.
That's work everytime with most of phones, but sometimes i have reading problems with a Samsung galaxy s6.
My setup: -Orange pi pc. -Adafruit Pn532. -Samsung s6. -./my_emulate_tag (copy of nfc-emulate-forum-tag2 program, i just add debug)
Expected behaviour: What happening with most of phones and sometimes (~1/10) with a samsung s6:
Unexpected behaviour: What happening with a samsung s6 in most of cases (~9/10) :
This problems seems to came from RATS command, because nothing happen after the call of "my_target_init", and as said in function documentation:
Does someone knows this problem, and maybe a way to solve it?
Thanks.