Advertisement length error, try with char_id, not both ids
This commit is contained in:
parent
47c75f5ba9
commit
567b1bb55d
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue