[web-nfc] About definition of local type records (#458)

leonhsl has just created a new issue for https://github.com/w3c/web-nfc:

== About definition of local type records ==
By reading https://w3c.github.io/web-nfc/#dfn-local-type, I think we should make clear that `local type records` supported by our web nfc API are just some TNF-1 (well-known type) records, they have specific meanings to their containing records.

But, https://w3c.github.io/web-nfc/#mapping-local-type-to-ndef says they could be written as TNF-4 records, which I do not think is appropriate. TNF-4 records have their own regulations on type names, also they are not expected by the nfc forum spec to act as embedded records.

> If record's recordType is a standard local type to smart poster or a handover record, then set ndefRecord's TNF field to 1 (well-known type record), otherwise set ndefRecord's TNF field to 4 (external type record).

I think we should remove such "smartness". Let me know your concerns here.

Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/458 using your GitHub account

Received on Monday, 2 December 2019 08:21:13 UTC