WebAPI/WebNFC: Difference between revisions

Line 172: Line 172:
TODO: Add a diagram to illustrate how tag is dispatched.
TODO: Add a diagram to illustrate how tag is dispatched.


== Sending/Writing NDEF messages ==
== 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'.  
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'.  


Confirmed users
118

edits