Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Configuring the PN532 to emulate a MIFARE Classic card is nearly impossible I'm sorry to say. I have been trying it the last couple weeks and had no luck. The Datasheet clearly states that it can do this but it is not clear exactly how. I do know however that a SAM is not required for MIFARE 1K emulation.</p> <p>Using the PN532 command TgInitAsTarget you can emulate a Mifare Classic card by specifying the SENS_RES and SEL_RES and UID, and that always works if all you want to do is emulate a UID, however emulating a MIFARE 1K that can actually respond to MIFARE authentication an read commands is another story. Basically, when a PN532 is emulating a MIFARE 1K and receives the MIFARE authentication command (0x60 0xXX, where XX=block number) the response that you should send as an emulated card is a 4 byte random number which the initiator should then encrypt using the key provided and the internal PN532 CRYPTO1 cipher. The problem is that the initiator never responds to that random number challenge and the emulation always fails there.</p> <p>I am doing this with just a PN532 so I can command the PN532 directly, I'm not sure what API is provided with the ACR122U can do but if you can's access the actual PN532 commands then that will make your life even more difficult potentially.</p> <p>CHeck out my post on libnfc.org for additional details of what I've tried:</p> <p><a href="http://www.libnfc.org/community/topic/277/nfcemulatetag/" rel="nofollow">http://www.libnfc.org/community/topic/277/nfcemulatetag/</a></p> <p>If you managed to get it to work, I would love to hear more about what you did.</p> <p>BEST OF LUCK!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload