NFC Peer2Peer模式 - Android Beam功能 - ISO 18092 [英] NFC Peer2Peer Mode - Android Beam - ISO 18092

查看:554
本文介绍了NFC Peer2Peer模式 - Android Beam功能 - ISO 18092的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要找出如何在Android Beam功能的P2P模式进行管理。

I need to find out how in Android Beam the P2P mode is managed.

我发现关于P2P的一般信息:

I found some general information about P2P:

有是一个活跃的P2P模式(不推荐通过NFC论坛),其中无源器件就像一个智能卡(卡模拟模式)一个被动的(由NFC论坛推荐)。

There is an active P2P mode (not recommended by NFC Forum) and a passive one (recommended by NFC Forum) where the passive device works like a smartcard (card emulation mode).

我也知道,NFC读写器通常执行以下操作步骤:

I also know that an NFC reader device does usually the following steps:


  1. 场对

  1. Field on

检查卡或P2P无源器件

Check for a card or a P2P passive device

如果找到则与设备进行通信,如果没有则现场关

If found then communicate with the device, if not then field off

场关闭

检查外场周边的500毫秒-1至少

Check for external field for around 500ms-1s at least

如果外场检测充当卡或P2P被动目标。接收命令和为目标进行交易

If external field detected act as a card or P2P passive target. Receive commands and perform the transaction as a target

等到没有更多的现场检测

Wait until no more field detected

页转到第1

现在我的问题是,在Android Beam功能时,2部电话都放在一起会发生什么?

Now my question is, in Android Beam what happens when the 2 phones are put together?


  1. 我觉得他们都创造领域进行扫描,他们都认出来,通过展示那么Android Beam的界面(较小的窗口与信息发送)

  2. 然后,在屏幕上的用户的类型,并获取iniator,而另一个进入到被动接收器。

  3. 他们通过P2P被动配对,并在LLCP更改信息

  4. 回调被发送到iniator和结束。

我不知道这是否正确,是否有人有信息herefore?

I don't know if this is correct, does someone have information herefore?

当2智能手机/设备放在一起,在Android Beam功能会发生什么,在这种模式下它们,而当使用主动/被动和模式谁得到(P2P主动或被动)?

What happens in Android Beam when the 2 smartphones/devices are put together, in which mode are they, and who gets when active/passive and which mode is used (P2P active or passive)?

在LLCP不存在主/从这样都是主机和从机究竟是什么意思呢?

In LLCP there is no master/slave so both are master and slave what exactly means this?

感谢您的帮助!

推荐答案

据我记得那是如下:


  1. 的引发剂引发的传播,也就是说,它是一个开始通信之一 - 用的媲美先到先得的 - 独立的数据流的方向

  1. The initiator initiates the transmission, i.e., it is the one that begins the communication - comparable with first come first serve - independent of the direction of the data flow.

在第二步骤中,引发剂决定了一种传输模式,即,被动或主动在对等网络模式,或RFID模式(读/写器模式)。所选择的模式取决于什么样的模式时引发剂和/或目标支持。当引发剂具有足够的电力来驱动两个设备(本身和靶)被用于被动模式。而可以使用的活动模式,如果功率应启动器和目标设备之间共享。

In a second step, the initiator dictates the kind of transmission mode, i.e., passive or active in peer-to-peer mode, or RFID mode (reader/writer mode). The chosen mode depends what kind of modes the initiator and/or the target supports. The passive mode is used when the initiator has enough power to drive both devices (itself and target). Whereas the active mode can be used if power should be shared among initiator and target device.

当两个NFC设备放在一起,这首先要沟通的设备,将是始作俑者。因此,像标签无源器件始终的目标。然而,有NFC设备和RFID标签之间没有对等网络模式

When two NFC devices are put together, the device which wants to communicate first, will be the initiator. Therefore, passive devices like tags are always targets. However, there is no peer-to-peer mode between NFC devices and RFID tags.

LLCP仅仅是一个顶级的协议以两种方式传输数据。因此,引发剂询问目标发送或接收的数据。关于NFC对等网络模式的好处是,该NFC设备可以在每个通信成功后互换角色的。

LLCP is just a top level protocol to transmit data in either way. Therefore, the initiator asks the target to transmit or receive data. The good thing about the NFC peer-to-peer mode is, that the NFC devices can swap its roles after each successful communication.

这篇关于NFC Peer2Peer模式 - Android Beam功能 - ISO 18092的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆