Do not log getState data, but do log utf8 string and parsed object onWrite
This commit is contained in:
parent
5f61865366
commit
05a69e5512
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue