问题
I'm trying to set AFI password to the SLIX-S tag. I found the command for set password is B3: take a look please (Link here: Page 12). But every time my set password command crash. I think the format of the code line I use is wrong. Is there any way to solve this problem? Thanks a lot for anything can help me.
Update:
I tried this one sequence of bytes but still can't set password successfully.
buffer = nfcv.transceive(new byte[] {
0x00, //flag
0xB3, //set password command
0x04, //manufacturer code (NXP should be 0x04)
0xe0, 0x04, 0x02, 0x50, 0x04, 0xfa, 0xab, 0x4c, //UID
0x10, //password identifier for AFI
0x31, 0x32, 0x33, 0x38, //XOR-password from password: 0x31, 0x32, 0x33, 0x34
//with xor(0x09) and xor(0x05)
0x11, 0xba }); // CRC16 from XOR-password
回答1:
0xA6 is the command to turn on the password protection for AFI.
From the data sheet I understand (have not tried myself) that you need to set the password first with "Write Password" 0xB4. Then you need to transmit this password with "Set Password" 0xB3 in order to execute password protected commands like "Password Protect EAS/AFI" 0xA6.
来源:https://stackoverflow.com/questions/21682126/nfc-v-slix-s-write-password