nfc近场通信出问题,急求救

a6047012 a6047012 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
Tag取到之后建立链接 之后发送控制码
一直保存
一直报错

/**
* 取得标签信息
*/
private byte[] getInfoRmation() throws IOException{
byte[] cmd = new byte[10];
cmd[0] = (byte) 0x22; // flag
cmd[1] = (byte) 0x2B; // command
System.arraycopy(ID, 0, cmd, 2, ID.length); // UID
infoRmation = mNfcV.transceive(cmd);
blockNumber = infoRmation[12];
oneBlockSize = infoRmation[13];
AFI = printHexString(new byte[]{infoRmation[11]});
DSFID = printHexString(new byte[]{infoRmation[10]});
return infoRmation;
}
现在是取卡都报错
cmd[0] = (byte) 0x22; // flag
cmd[1] = (byte) 0x2B // command
我觉得是这个东西不对
客户说她的卡
符合ISO 15693协议


在线急求,QQ1015840277
...全文

相关推荐

评论 1
收藏 已收藏
分享
返回顶部
a6047012
Android 80,489 成员 91,375 内容