- From: Zoltan Kis via GitHub <sysbot+gh@w3.org>
- Date: Thu, 10 Oct 2019 20:51:29 +0000
- To: public-web-nfc@w3.org
A quick attempt out of my head (will double-check tomorrow, now go to sleep :), but you can comment ). 1. Reading tags with other tech and no NDEF exposed --> no events (ATM) 2. Reading tags with other tech + NDEF exposed --> event with NDEFMessage 3. Writing tags with other tech + no NDEF exposed --> error 4. Writing tags with other tech + NDEF exposed --> error (should write via that tech) 5. Reading non-formatted tags --> event with empty records array for NDEFMessage 6. Writing non-formatted tags that are NDEF-formatable --> format + write, regardless of `overwrite` value. (*) 7. Writing non-formatted tags that are not NDEF-formatable --> error 7. Writing NDEF tags with `overwrite = false` --> error (*) Keep in mind this might fail as it's pretty experimental, i.e. OS and chip and tag dependent, since the NFC Forum does not specify this. Therefore we can't make any normative text on this, but the above should be ok on Android. So tags with other tech will not be NDEF-formatable AFAIK, but even if so, that would mean that formatting/writing would not remove other tech, so in all cases it can be assumed to fall in the writing NDEF category with no data to be overwritten, i.e. the `overwrite` flag has no relevance. If anyone knows better, please correct me here. -- GitHub Notification of comment by zolkis Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/367#issuecomment-540788407 using your GitHub account
Received on Thursday, 10 October 2019 20:51:31 UTC