简体   繁体   English

Android:如何在Nexus S上编写NFC-V(ISO15693)标签?

[英]Android: how to write NFC-V (ISO15693) tags on Nexus S?

I'm trying to write a RFID tag on a Nexus S (Android 2.3.4) using the NFC-V technology. 我正在尝试使用NFC-V技术在Nexus S(Android 2.3.4)上编写RFID标签。 Using transceive() with a write single block command (0x21) invariably leads to a java.io.IOException: transceive failed 使用transceive()和write single block命令(0x21)总会导致java.io.IOException: transceive failed

Both read multiple tags (0x22) and stay quiet (0x02) work flawlessly. 两个读取多个标签(0x22)并保持安静(0x02)完美地工作。 I'm sure the tag is writable, since other devices can update it. 我确定标签是可写的,因为其他设备可以更新它。 I tried both addressed and un-addressed mode, option flag set/unset, high/low data rate, but had no success. 我尝试了寻址和非寻址模式,选项标志设置/未设置,高/低数据速率,但没有成功。

Has anyone succeded in writing ISO15693 tags on the Nexus S? 有没有人成功在Nexus S上编写ISO15693标签? Any help would be really appreciated. 任何帮助将非常感激。

Thank you! 谢谢!

I have a working app reading and writing custom ISO15693-compliant RFID-Tags. 我有一个工作的应用程序阅读和编写自定义ISO15693兼容的RFID标签。

Here are some hints to look into: 以下是一些需要研究的提示:

  • Did you set the flags correctly? 你是否正确设置了旗帜? I am using 0x22 (addressed and high-speed) 我使用的是0x22(寻址和高速)
  • Did you include the UID when using addressed mode? 在使用寻址模式时是否包含UID?

Also, could you please post the whole byte-array your are trying to send? 另外,您可以发布您要发送的整个字节数组吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM