Use NFCPeer.sendNDEF for P2P sending. onpeerfound and onpeerlost DOM apis needed still.