是否可以在HTML5应用程序中访问NFC API?

问题描述:

我要求包含NFC读卡器以读取关联ID,以便为触摸屏中显示的网络应用程序的用户进行身份验证。

I have a requirement to include NFC Card reader to read associate ID to authenticate the user for a web app displayed in a touch screen.

是否可以使用用于基于Web的应用程序的SCM NFC阅读器模块。

Is it possible to use SCM NFC reader module for a web-based app.

为此,我们是否可以在客户端或服务器端包含任何插件?

Is there any plugin that can we included in the client or server side for this purpose ?

提前致谢。

Web NFC API (由 NFC工作组目前处于草案状态。此API旨在提供对HTML5的NFC功能的访问。

The Web NFC API (maintained by the NFC Working Group is currently in draft status. This API is intended to provide access to NFC functionality for HTML5.


  1. 在其当前版本中,NFC Web API没有提供任何方法来获取标签ID /串口数/防冲突标识符(我假设这就是你用ID表示,对吗?)。事实上,API只能通过提供对NFC标签的访问NDEF抽象层。

  2. 我不知道当前实现NFC Web API的任何浏览器版本。



UPDATE



NFC工作组在其章程到期后关闭(主要是由于浏览器供应商缺乏支持)并且不再维护规范。相反,现在有一个 Web NFC社区组维护 Web NFC API规范现在。

UPDATE

The NFC Working Group was closed after its charter expired (mainly due to lack of support by browser vendors) and is no longer maintaining the specification. Instead there is a Web NFC Community Group now that maintains the Web NFC API specification now.