From 05a69e55126861f2bbefbcfdcbc3d6e603f22b2a Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Tue, 12 Dec 2017 11:54:43 -0500 Subject: [PATCH] Do not log getState data, but do log utf8 string and parsed object onWrite --- lib/ble/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ble/index.js b/lib/ble/index.js index b644608..864c7bb 100644 --- a/lib/ble/index.js +++ b/lib/ble/index.js @@ -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