CANDY-LINE / node-red-contrib-generic-ble

A Node-RED node set for providing access to generic BLE peripheral GATT characteristics.
Apache License 2.0
24 stars 22 forks source link

Add a setting to specify HCI index #54

Open happyme531 opened 3 years ago

happyme531 commented 3 years ago

Just ran into this error. Seems it tried to connect using hci0 but it is unavailable.

26 May 21:52:41 - [error] [GenericBLE:ERROR] Missing Bluetooth Object, Path:/org/bluez/hci0, Valid Paths:/org/bluez,/org/bluez/hci1,/org/bluez/hci1/dev_10_9E_3A_99_43_F1,/org/bluez/hci2,/org/bluez/hci2/dev_10_9E_3A_99_43_F1}, Error: Missing Bluetooth Object, Path:/org/bluez/hci0, Valid Paths:/org/bluez,/org/bluez/hci1,/org/bluez/hci1/dev_10_9E_3A_99_43_F1,/org/bluez/hci2,/org/bluez/hci2/dev_10_9E_3A_99_43_F1}
    at BluezBindings.init (/usr/share/hassio/homeassistant/nodered/node_modules/node-red-contrib-generic-ble/dist/noble/lib/bluez/noble/lib/bluez/bindings.js:182:19)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)