I need to find out how in Android Beam the P2P-Mode is managed.
I found some general information about P2P:
There is an active P2P Mode (not recommended by NFC Forum) and the passive One (recommended by P2P) where passive device works like a SmarTcard (Card emulation mode).
I also know that an NFC Reader Device does usually the following steps:
Field on Check for a card or a P2P passive device If found then communicate with the device, if not then field off Field off Check for external field for around 500ms-1s at least 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 Goto 1
Now my question is, in Android Beam what happens when the 2 phones are put together?
1.) I think they both create the field for scanning, and they both recognize them, by showing then the Android Beam Interface (the smaller windows with the information for sending) 2.) Then, the user types on the screen, and gets the iniator, while the other one goes to the passive receiver. 3.) They pair by P2P passive and change the information over LLCP 4.) The callback is sent to the iniator and the end.
I don't know if this is correct, does someone have information herefore?
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)?
In LLCP there is no Master/Slave so both are master and slave what exactly means this?
Thanks for your help!