From e7347af656731c9fcd98f0704d8d2f9bbe5906b4 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Mon, 21 Aug 2017 23:41:27 -0400 Subject: [PATCH] Create wifi characteristic to be added to ble services --- services/bluetooth/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/bluetooth/index.js b/services/bluetooth/index.js index 9dc10a2..5f284db 100644 --- a/services/bluetooth/index.js +++ b/services/bluetooth/index.js @@ -42,7 +42,7 @@ function createChar(name, uuid, prop, write, read) { } function createChars () { - createChar('wifi') + createChar('wifi', WIFI_ID, ['read', 'write'], onWifiWrite, onWifiRead) } function onWifiWrite (data, offset, withoutResponse, callback) {