remove comment

This commit is contained in:
Jay 2017-08-23 16:10:57 +08:00
parent 93933124a4
commit 8c5f7d144a

View File

@ -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)]
}