扫描 "unknown tag type" 时启动 Android 应用程序

Start an Android App when an "unknown tag type" is scanned

我正在开发一个 Android NFC reader 项目,我在其中使用了 AS3953 NFC 芯片。根据datasheet:这个NFC芯片可以使用

Where log data is stored periodically by the microcontroller and can then be read by the PCD even when the microcontroller is not powered.

这正是我想要做的,被动读取 NFC 标签。问题是我的 Android phone 在未连接到微控制器时无法识别标签。我扫描标签时只有噪音,没有显示任何信息。我尝试了另一个 smartphone 并且我有相同的行为和一条小消息:"unknown tag type".

我的问题是: 如何在检测到 "unknown tag type" 时启动 Android 应用程序。我尝试了三个 Android 意图处理程序:TAG_DISCOVERED、TECH_DISCOVERED 和 NDEF_DSICOVERED,但这些解决方案中的 none 有效。

N.B:根据datasheet,AS3953A 最高支持 ISO 14443A Level-4

N.B2:当我使用构造函数演示套件时,当通过 SPI 接口提供 NFC 时,我可以读取 EEPROM 值。

我联系了制造商"ams"。他们说这个标签 (AS3953 HW) 不符合 NFC 论坛标准(与数据表中提到的相反)。因此,要被动读取标签,我必须将他们的 专有命令 (数据表中提供了一个列表)编码到我的应用程序中。