From 567b1bb55d52ba6e8a5c662e605abb1826d4cd1e Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Wed, 13 Dec 2017 18:25:02 -0500 Subject: [PATCH] Advertisement length error, try with char_id, not both ids --- 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 1bd4f44..1e8af08 100644 --- a/lib/ble/index.js +++ b/lib/ble/index.js @@ -134,7 +134,7 @@ class BLE { log.info('stateChange', { state : state }) if (state === 'poweredOn') { log.info('Starting advertising', { BLE_ID : BLE_ID }) - bleno.startAdvertising(BLE_ID, [CHAR_ID, WIFI_ID]) + bleno.startAdvertising(BLE_ID, [CHAR_ID]) } else { bleno.stopAdvertising() }