Near Field Communication
//近场通信
Near Field Communication (NFC) is a set of short-range wireless technologies, typically requiring a distance of 4cm or less to initiate a connection. NFC allows you to share small payloads of data between an NFC tag and an Android-powered device, or between two Android-powered devices.
/*近场通讯(Nfc)是一种短距离通讯无线电技术,通常在4cm或者更小的距离内,才能连接。
*NFC可以让你在一个NFC标签(tag)和有NFC功能的安卓设备之间或两个有NFC功能的设备之间分享少量数据。
*/
Tags can range in complexity. Simple tags offer just read and write semantics, sometimes with one-time-programmable areas to make the card read-only. More complex tags offer math operations, and have cryptographic hardware to authenticate access to a sector. The most sophisticated tags contain operating environments, allowing complex interactions with code executing on the tag. The data stored in the tag can also be written in a variety of formats, but many of the Android framework APIs are based around a NFC Forum standard called NDEF (NFC Data Exchange Format).
/*
* 标签(tag)
*
*可以在复杂的环境下使用。简单的标签(tag)只提供读和写两种数据操作方式,有时制造只读卡用于一次性编程领域。更复杂的Tag 标签提供*数学运算,并且有密码认证存取扇区(我的理解是可以提供硬件加密)。多数复杂的标签(tag)拥有操作环境,允许标签(tag)执行代码与
*用户进行交互操作。在标签中的存储数据同样可以有多种写入格式,但是大多数的安卓API框架(android Framework API)都是基于称为NDEF标
*准的一种NFC技术(NFC数据交换格式)。
*
*/
Android-powered devices with NFC simultaneously support three main modes of operation:
//拥有NFC的安卓设备主要支持三种操作模式:
Reader/writer mode, allowing the NFC device to read and/or write passive NFC tags and stickers.
//“读/写”模式,允许nfc设备读写无源(没有电源供电的)的NFC标签与贴纸。
P2P mode, allowing the NFC device to exchange data with other NFC peers; this operation mode is used by Android Beam.
//P2P(点对点)模式,允许在相同的nfc设备之间交换数据;这种操作模式,被用于安卓4.1系统。
Card emulation mode, allowing the NFC device itself to act as an NFC card. The emulated NFC card can then be accessed by an external NFC reader, such as an NFC point-of-sale terminal.
//卡仿真模式,允许NFC设备自身充当NFC卡。仿真的NFC卡然后可以通过一个外部NFC读取器来访问,如销售点的的NFC终端。
//近场通信
Near Field Communication (NFC) is a set of short-range wireless technologies, typically requiring a distance of 4cm or less to initiate a connection. NFC allows you to share small payloads of data between an NFC tag and an Android-powered device, or between two Android-powered devices.
/*近场通讯(Nfc)是一种短距离通讯无线电技术,通常在4cm或者更小的距离内,才能连接。
*NFC可以让你在一个NFC标签(tag)和有NFC功能的安卓设备之间或两个有NFC功能的设备之间分享少量数据。
*/
Tags can range in complexity. Simple tags offer just read and write semantics, sometimes with one-time-programmable areas to make the card read-only. More complex tags offer math operations, and have cryptographic hardware to authenticate access to a sector. The most sophisticated tags contain operating environments, allowing complex interactions with code executing on the tag. The data stored in the tag can also be written in a variety of formats, but many of the Android framework APIs are based around a NFC Forum standard called NDEF (NFC Data Exchange Format).
/*
* 标签(tag)
*
*可以在复杂的环境下使用。简单的标签(tag)只提供读和写两种数据操作方式,有时制造只读卡用于一次性编程领域。更复杂的Tag 标签提供*数学运算,并且有密码认证存取扇区(我的理解是可以提供硬件加密)。多数复杂的标签(tag)拥有操作环境,允许标签(tag)执行代码与
*用户进行交互操作。在标签中的存储数据同样可以有多种写入格式,但是大多数的安卓API框架(android Framework API)都是基于称为NDEF标
*准的一种NFC技术(NFC数据交换格式)。
*
*/
Android-powered devices with NFC simultaneously support three main modes of operation:
//拥有NFC的安卓设备主要支持三种操作模式:
Reader/writer mode, allowing the NFC device to read and/or write passive NFC tags and stickers.
//“读/写”模式,允许nfc设备读写无源(没有电源供电的)的NFC标签与贴纸。
P2P mode, allowing the NFC device to exchange data with other NFC peers; this operation mode is used by Android Beam.
//P2P(点对点)模式,允许在相同的nfc设备之间交换数据;这种操作模式,被用于安卓4.1系统。
Card emulation mode, allowing the NFC device itself to act as an NFC card. The emulated NFC card can then be accessed by an external NFC reader, such as an NFC point-of-sale terminal.
//卡仿真模式,允许NFC设备自身充当NFC卡。仿真的NFC卡然后可以通过一个外部NFC读取器来访问,如销售点的的NFC终端。