You are reading a single comment by @Robin and its replies. Click here to read the full conversation.
  • I never submitted a PR for NFCvCard.js since it didn't felt polished enough (especially since the vcard hat to be < 220 bytes). So the detour of downloading and copying to module directory is necessary. I've just double-checked. Using the https://www.espruino.com/modules/NFCTag.­js and the NFCvCard.js from above still works for me...

    That sed I rarely have issues when the BLE connection is also open. What might also break the system is creating multiple instances of NFCTag by calling require("NFCvCard") multiple times without a reset (note an upload performs a reset, so that should be fine in your case).

    My RAW data ends up to be:

    tag._record = new Uint8Array([95, 112, 172, 11, 153, 120, 250, 81, 74, 3, 255, 255, 225, 17, 124, 15, 3, 135, 194, 12, 0, 0, 0, 117, 116, 101, 120, 116, 47, 120, 45, 118, 67, 97, 114, 100, 66, 69, 71, 73, 78, 58, 86, 67, 65, 82, 68, 10, 86, 69, 82, 83, 73, 79, 78, 58, 50, 46, 49, 10, 78, 58, 68, 111, 101, 59, 74, 111, 104, 110, 59, 59, 77, 114, 46, 10, 70, 78, 58, 74, 111, 104, 110, 32, 68, 111, 101, 10, 84, 69, 76, 59, 87, 79, 82, 75, 59, 86, 79, 73, 67, 69, 58, 40, 49, 49, 49, 41, 32, 53, 53, 53, 45, 49, 50, 49, 50, 10, 69, 77, 65, 73, 76, 58, 106, 111, 110, 100, 111, 101, 64, 101, 120, 97, 109, 112, 108, 101, 46, 99, 111, 109, 10, 69, 78, 68, 58, 86, 67, 65, 82, 68, 10, 254]);
    

    Except the first 10 bytes (unique device id) this data should be identical on your Puck.JS.

  • Tue 2019.10.22

    Thanks @AntiCat for the verification.

    For @Tesseract-Developer and myself, what version of Espruino is flashed on your device? As the closing post (then) is over twenty months old, could it be that the device you have is still at an older version?

  • Software is 2.04, the Hardware im using is a Puck from the Kickstarter campaign so 1.0e.

    Edit: Could Minify make a difference? It is off on my system. I not at home so I can’t test other options right now.

About

Avatar for Robin @Robin started