I'm not 100% sure, but maybe if you edited the NFCvCard as follows:
NFCvCard.prototype.publish = function(data) { //wrap vCard using template data this._record = new Uint8Array(C.HEADER.length + data.length + C.TERM_TLV.length); this._record.set(C.HEADER, 0); this._record.set(data, C.HEADER.length); this._record.set(C.TERM_TLV, C.HEADER.length + data.length); //inject NDEF Message length this._record[C.ML_OFFSET] = C.RECORD_HEADER_LEN + data.length; //inject payload length this._record[C.PL_LSB_OFFSET] = data.length; this._record.set("\x00\x00\xE1\x10\x6D\x00\x03\x00\xFE\x00", 0x0A); //publish new vCard this._driver.setData(this._record); };
but that's a total guess I'm afraid
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm not 100% sure, but maybe if you edited the NFCvCard as follows:
but that's a total guess I'm afraid