NFC-V SLIX-S写入密码 [英] NFC-V SLIX-S write password

查看:162
本文介绍了NFC-V SLIX-S写入密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将AFI密码设置为SLIX-S标签.我发现设置密码的命令是B3:请看一下(链接在此处:第12页).但是每次我设置的密码命令崩溃.我认为我使用的代码行的格式是错误的.有什么办法可以解决这个问题?非常感谢您提供的任何帮助.

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.

更新:

我尝试了这一个字节序列,但仍然无法成功设置密码.

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

推荐答案

0xA6是打开AFI密码保护的命令.

0xA6 is the command to turn on the password protection for AFI.

根据数据表,我了解到(尚未尝试过)您需要首先使用写入密码" 0xB4设置密码.然后,您需要使用设置密码" 0xB3传输此密码,以便执行受密码保护的命令,例如"Password Protect EAS/AFI" 0xA6.

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.

这篇关于NFC-V SLIX-S写入密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆