Do not log getState data, but do log utf8 string and parsed object onWrite

This commit is contained in:
mmcwilliams 2017-12-12 11:54:43 -05:00
parent 5f61865366
commit 05a69e5512
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class BLE {
return callback(result)
}
utf8 = data.toString('utf8')
console.log(uft8)
obj = JSON.parse(utf8)
console.dir(obj)
result = bleno.Characteristic.RESULT_SUCCESS