TODO: Add a diagram to illustrate how tag is dispatched.
== Sending/Writing NDEF messages in P2P mode ==
In P2P mode, there are two event listeners that can be registered by the applications. Applications should have 'nfc-write' permissions in order to register for 'onpeerready' and 'onpeerlost'.