我在通过 ACR122U 对 mifare 1k使用直接命令时遇到问题。我使用 Windows 的原始 SDK(包括 delphi),我在一个会话中发送了这些命令:FF 00 00 00 表示伪 apdu。它用于向标签或设备 (ACR) 发送直接命令。
<< FF 00 00 00 02 D4 02 // GET FIRMWARE
>> D5 03 32 01 06 07 90 00
<< FF 00 00 00 03 D4 12 24 // SET PARAMETERS (I want to disable not suported ISO 14443-4)
// (I also tried D2 12 14 without success)
>> D5 13 90 00
<< FF 00 00 00 0F D4 40 01 60 00 FF FF FF FF FF FF xx xx xx xx // auth with key A (tag UID hidden)
>> D5 41 00 90 00 // OK
<< FF 00 00 00 05 D4 40 01 30 00 // direct mifare read (30) block 00
>> D5 41 13 90 00 // ERROR 13 (incorrect value of PCB or PFB, invalid or unexpected received frame, NAD or DID incoherence, bad length of received RF frame).
我无法读取任何卡片(我有三张)。可以使用命令 FF B0 00 00 10... 读取所有卡
你能告诉我,在认证之前和之后应该发送什么命令才能与卡正确通信?还请发送指向命令规范的链接 读取寄存器 (D4 06) 和写入寄存器 (D4 08)。例如,我不知道注册“63 05”(D4 06 63 05)是什么意思。
顺便提一句。什么是缩写(在上下文中):NAD、DID、PFB、PCB?