From 8c5f7d144ab13c7cc942799cbdeccd52782f176e Mon Sep 17 00:00:00 2001 From: Jay Date: Wed, 23 Aug 2017 16:10:57 +0800 Subject: [PATCH] remove comment --- gdata-characteristic.js | 5 ----- 1 file changed, 5 deletions(-) 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)] }