Smobiler上海石磨_.NET移动开发平台

标题: NFC读取MifareUltralight标签transceive fail [打印本页]

作者: dwj785865    时间: 2020-3-10 16:02
标题: NFC读取MifareUltralight标签transceive fail
本帖最后由 dwj785865 于 2020-3-10 16:05 编辑

NFC读取MifareUltralight标签使用Transceive功能进行密码验证时提示transceive fail怎么进行密码验证?验证通过后怎么读取数据块中数据呢?



作者: peter.pan    时间: 2020-3-11 10:13
transceive fail的报错,可能是某些Android手机不支持扩展长度,NFC中有getMaxTransceiveLength方法能够检测最大缓冲区大小,可以尝试下
作者: dwj785865    时间: 2020-3-11 11:16
peter.pan 发表于 2020-3-11 10:13
transceive fail的报错,可能是某些Android手机不支持扩展长度,NFC中有getMaxTransceiveLength方法能够检 ...

手机没问题,java开发的同样的程序可以读取标签,我的标签是 Ultralight Ev1
我在RequestTechnology 方法中设置完标签类型,读取标签时在Nfc1.RequestTech的事件中提示disconnect
作者: dwj785865    时间: 2020-3-11 11:18
本帖最后由 dwj785865 于 2020-3-11 11:34 编辑

我就想通过密码验证后,读取数据块中的数据,这个接口的调用顺序是什么呢?
作者: peter.pan    时间: 2020-3-13 11:00
dwj785865 发表于 2020-3-11 11:16
手机没问题,java开发的同样的程序可以读取标签,我的标签是 Ultralight Ev1
我在RequestTechnology 方法 ...

RequestTechnology中tech参数使用的NFC技术,是包括常量NfcA,NfcB,NfcF,NfcV,IsoDep,MifareClassic和MifareUltralight。可填写对应的
作者: dwj785865    时间: 2020-3-13 13:52
设置完tech “NfcA”后transceive 还是失败,transceive 传的key 是 New Byte() {CByte(&H1B), CByte(&H52), CByte(&H46), CByte(&H58), CByte(&H43)}




欢迎光临 Smobiler上海石磨_.NET移动开发平台 (https://www.smobiler.com/) Powered by Discuz! X3.2