简体   繁体   English

我可以模拟NFC-V标签吗?

[英]Can I simulate NFC-V tag?

I'm working on a NFC application which would be using NFC-V tags with ISO 15693 specification. 我正在使用将使用符合ISO 15693规范的NFC-V标签的NFC应用程序。 Unfortunately, I do not have a NFC enabled phone at the moment. 不幸的是,我目前没有支持NFC的手机。 I wanted to know if I can simulate the behavior of the NFC-V tags in some way. 我想知道我是否可以某种方式模拟NFC-V标签的行为。 I know the Android developer website has a NFC Demo, which has a class called FakeTagsActivity. 我知道Android开发人员网站上有一个NFC演示,其中有一个名为FakeTagsActivity的类。 But, that uses NDEF messages. 但是,这使用了NDEF消息。 This will not be compatible with NFC-V and I'm not sure how to "create" a Tag object so that it can be simulated. 这将与NFC-V不兼容,并且我不确定如何“创建” Tag对象,以便可以对其进行仿真。

In my experience, the only reasonable way to develop and test your app would be to use a real NFC-enabled device. 以我的经验,开发和测试应用程序的唯一合理方法是使用真正的支持NFC的设备。 Sending and receiving data using NfcV.transceive() is not extremely easy and it is simply to easy to make mistakes. 使用NfcV.transceive()发送和接收数据并不是很容易,而且很容易出错。 So simulating an NfcV tag is probably much more work than it is worth, IMO. 因此,模拟NfcV标签可能要花很多钱才能完成工作,IMO。

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

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