Advertisement length error, try with char_id, not both ids

This commit is contained in:
mmcwilliams 2017-12-13 18:25:02 -05:00
parent 47c75f5ba9
commit 567b1bb55d
1 changed files with 1 additions and 1 deletions

View File

@ -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()
}