You are reading a single comment by @AntiCat and its replies. Click here to read the full conversation.
  • Yes, iPhone 7, 8, X with iOS11 (released in September 2017) feature a NFC reader API for NDEF records. (No write support and no arbitrary tag type support, just NDEF read.)

    I'd like to have NFCTag.js listed. Should I open a pull request?
    Since NFCTag.js implements write support, it opens up additional possibilities. In theory you could download code to a Puck using NFC...

    I've come up with an additional example:

    var data = new Uint8Array(16+768);
    data.set("\xE1\x11\x60\x00", 0x0C);
    var tag = require("NFCTag").create(data);
    

    This code creates an empty tag with 768 bytes of writable storage.

    The data can be initialized with an Android App, i.e.
    https://play.google.com/store/apps/detaiĀ­ls?id=com.nxp.nfc.tagwriter

About

Avatar for AntiCat @AntiCat started