common NFC API draft / base for discussion

Hi all,


Following is a base for discussing a common NFC API draft:

http://htmlpreview.github.io/?https://github.com/w3c/nfc/blob/master/proposals/common/nfc.html

There are a few consequent changes regarding the Intel NFC proposal:
- Use of EventTarget / EventHandler and Request interfaces, in alignment 
with the SysApps working group.
- Adding NDEF MIME records, and support of binary payload.
- Support for SmartPoster records
- Support for bluetooth / wifi handover
- Moving the NFCAdapter interface functionalities to the NFCManager 
interface.


As of now, we have insulated the web API from most of the NFC forum 
spec, so the app developer doesn't have to care about NFC tag type, or 
decoding a TNF in order to find a record type, and so on. The assumption 
is that a developer would use the high level API for the common use 
cases, and fallback on binary records for more exotic uses. This is a 
design choice, and it is definitely open to discussion.


All comments welcome,

Luc



-- 
Luc YRIARTE - OTC Software Engineer
INTEL Corp. Montpellier, France
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

Received on Monday, 15 April 2013 17:05:25 UTC