Code
root@dm900:/usr/lib/bluez/test# hciconfig hci0 up
root@dm900:/usr/lib/bluez/test# hcitool scan
Scanning ...
00:1F:81:86:86:93 S10
root@dm900:/usr/lib/bluez/test# bluetoothctl
[NEW] Controller 00:02:72:C3:7E:4C dm900 [default]
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# agent on
Agent registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
Discovery started
[CHG] Controller 00:02:72:C3:7E:4C Discovering: yes
[NEW] Device 00:1F:81:86:86:93 00-1F-81-86-86-93
[CHG] Device 00:1F:81:86:86:93 LegacyPairing: no
[CHG] Device 00:1F:81:86:86:93 Name: S10
[CHG] Device 00:1F:81:86:86:93 Alias: S10
[CHG] Device 00:1F:81:86:86:93 LegacyPairing: yes
[bluetooth]# pair 00:1F:81:86:86:93
Attempting to pair with 00:1F:81:86:86:93
[CHG] Device 00:1F:81:86:86:93 Connected: yes
[CHG] Device 00:1F:81:86:86:93 UUIDs: 00001108-0000-1000-8000-00805f9b34fb
[CHG] Device 00:1F:81:86:86:93 UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[CHG] Device 00:1F:81:86:86:93 UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device 00:1F:81:86:86:93 UUIDs: 0000111e-0000-1000-8000-00805f9b34fb
[CHG] Device 00:1F:81:86:86:93 Paired: yes
Pairing successful
[CHG] Device 00:1F:81:86:86:93 Connected: no
[bluetooth]# connect 00:1F:81:86:86:93
Attempting to connect to 00:1F:81:86:86:93
Failed to connect: org.bluez.Error.Failed
[bluetooth]# exit
Agent unregistered
[DEL] Controller 00:02:72:C3:7E:4C dm900 [default]
root@dm900:/usr/lib/bluez/test# systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2017-08-10 13:07:37 CEST; 4min 55s ago
Docs: man:bluetoothd(8)
Main PID: 27540 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
└─27540 /usr/libexec/bluetooth/bluetoothd
Aug 10 13:07:37 dm900 systemd[1]: Starting Bluetooth service...
Aug 10 13:07:37 dm900 bluetoothd[27540]: Bluetooth daemon 5.37
Aug 10 13:07:37 dm900 systemd[1]: Started Bluetooth service.
Aug 10 13:07:37 dm900 bluetoothd[27540]: Starting SDP server
Aug 10 13:07:37 dm900 bluetoothd[27540]: Failed to open RFKILL control device
Aug 10 13:07:37 dm900 bluetoothd[27540]: Bluetooth management interface 1.4 initialized
Aug 10 13:07:37 dm900 bluetoothd[27540]: Failed to obtain handles for "Service Changed" charact
Aug 10 13:11:27 dm900 bluetoothd[27540]: a2dp-sink profile connect failed for 00:1F:81:86:86:93
Alles anzeigen
Was fehlt? Geht dass überhaupt noch?
LG Emanuel