sputnikdev / eclipse-smarthome-bluetooth-binding

Eclipse SmartHome Bluetooth Binding
46 stars 10 forks source link

Protocol is unknown. Trying to find factory amongst discovered adapters: /9A:CA:AB:7B #58

Closed stefanheijnen closed 6 years ago

stefanheijnen commented 6 years ago

My BT adapter is not detected by OH. It is working fine from the cli.

Bus 001 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

In the logs I see only this:

Protocol is unknown. Trying to find factory amongst discovered adapters: /9A:CA:AB:7B


openhab@odroid64:~$ hcitool dev
Devices:
        hci0    00:1A:7D:DA:71:13
[bluetooth]# scan on
Discovery started
[CHG] Controller 00:1A:7D:DA:71:13 Discovering: yes
[NEW] Device 4C:65:A8:D7:5C:51 MJ_HT_V1
[CHG] Device 4C:65:A8:D7:5C:51 UUIDs: 0000180f-0000-1000-8000-00805f9b34fb
[CHG] Device 4C:65:A8:D7:5C:51 UUIDs: 0000180a-0000-1000-8000-00805f9b34fb
[CHG] Device 4C:65:A8:D7:5C:51 ServiceData Key: 0000fe95-0000-1000-8000-00805f9b34fb
[CHG] Device 4C:65:A8:D7:5C:51 ServiceData Value:
  50 20 aa 01 30 51 5c d7 a8 65 4c 0d 10 04 e6 00  P ..0Q\..eL.....
  d8 01                                            ..              
[CHG] Device 4C:65:A8:D7:5C:51 ServiceData Key: 0000ffff-0000-1000-8000-00805f9b34fb
[CHG] Device 4C:65:A8:D7:5C:51 ServiceData Value:
  c0 b9 e7 66 34 78                                ...f4x          
[CHG] Device 4C:65:A8:D7:5C:51 ServiceData Key: 0000fe95-0000-1000-8000-00805f9b34fb
[CHG] Device 4C:65:A8:D7:5C:51 ServiceData Value:
  50 20 aa 01 31 51 5c d7 a8 65 4c 0d 10 04 e7 00  P ..1Q\..eL.....
  d9 01                                            ..              
[CHG] Device 4C:65:A8:D7:5C:51 ServiceData Key: 0000ffff-0000-1000-8000-00805f9b34fb
[CHG] Device 4C:65:A8:D7:5C:51 ServiceData Value:
  c0 b9 e7 66 34 78                                ...f4x          
[NEW] Device AC:2B:6E:80:86:A7 DESKTOP-2FO2GFU
openhab@odroid64:~/bluez/bluez-5.47$ /usr/libexec/bluetooth/bluetoothd --version
5.47
stefanheijnen commented 6 years ago

Resolved by switching to Zulu java and installing libglib2:armhf