diff --git a/gdata-characteristic.js b/gdata-characteristic.js index cbf0ca7..38473ab 100644 --- a/gdata-characteristic.js +++ b/gdata-characteristic.js @@ -29,13 +29,8 @@ class DataCharacteristic extends bleno.Characteristic { tmp = [] console.log(data[0]) } else if (data.length == 1 && data[0] == 0xff) { - //console.log(tmp) console.log(Buffer.from(tmp).toString()) localEvent.emit('print', Buffer.from(tmp).toString()) - // printString(Buffer.from(tmp).toString()) - // if(this._notifyFunc) { - // this._notifyFunc(Buffer.from([0x00,0x01])) - // } } else { tmp = [...tmp, ...data.slice(2, data.length)] }