Mifare Classic 1K的程序是
我已经完成了这些程序,并且还从特定部门读取和写入数据.
标签的轮询命令是
new byte[] { (byte) 0xFF, (byte) 0x00, (byte) 0x00,
(byte) 0x00, (byte) 0x04, (byte) 0xD4, (byte) 0x4A,
(byte) 0x01, (byte) 0x00 }
Run Code Online (Sandbox Code Playgroud)
验证命令是
new byte[] { (byte) 0xFF, (byte) 0x86, (byte) 0x00,
(byte) 0x00, (byte) 0x05, (byte) 0x01,(byte) 0x00, (byte) 0x04,
(byte) 0x60,(byte) 0x00 };
Run Code Online (Sandbox Code Playgroud)
这里"(字节)0x01"是扇区1
并且在扇区1上写入,块5是
new byte[] { (byte) 0xFF, (byte) 0x00, (byte) 0x00,(byte) 0x00, (byte) 0x15, (byte) 0xD4,
(byte) 0x40,(byte) 0x01, (byte) 0xA0, (byte) 0x05,(byte) 0x01, …Run Code Online (Sandbox Code Playgroud)