Wenn ich hcitool scandie Shell starte, wird sie Scanning...~ 10 Sekunden lang angezeigt, zeigt jedoch keine Ergebnisse an.
Gleiches gilt für sudo hcitool scan
(Ich habe ein Android-Handy und einen PC in der Nähe, auf dem Bluetooth aktiviert und sichtbar ist.)
(Es hat das erste Mal funktioniert; ich habe seitdem nichts geändert)
Systemspezifikationen
Bluetooth-Adapter ist ein Hama 00049229 ( Handbuch )
Chipsatz:
Bus 001 Device 005: ID 0a5c:2121 Broadcom Corp. BCM2210 Bluetooth
hciconfig zeigt an:
hci0: Type: BR/EDR Bus: USB
BD Address: 00:0D:18:01:5A:B3 ACL MTU: 1017:8 SCO MTU: 64:0
UP RUNNING PSCAN
RX bytes:849 acl:0 sco:0 events:39 errors:0
TX bytes:420 acl:0 sco:0 commands:35 errors:0
(Wie von Tim Holt kommentiert)
hcitool devzeigt:
Devices:
hci0 00:0D:18:01:5A:B3
(Auch wie von Tim Holt kommentiert)
Ich lief hcidump --rawund der Diagnose-Tester fand alle in der Nähe befindlichen Bluetooth-Geräte. Hier ist der Dump (ich habe zweimal gescannt):
HCI sniffer - Bluetooth packet analyzer ver 2.4
device: hci0 snap_len: 1028 filter: 0xffffffff
< 01 01 04 05 33 8B 9E 08 00
> 04 0F 04 00 01 01 04
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C9
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C8
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C9
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C8
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C8
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B CA
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C7
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C9
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C7
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C8
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C5
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B CA
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C5
> 04 22 0F 01 65 FF 3D 83 15 00 01 00 04 01 12 BD 6B C9
> 04 01 01 00
< 01 19 04 0A 65 FF 3D 83 15 00 01 00 BD EB
> 04 0F 04 00 01 19 04
> 04 07 FF 00 65 FF 3D 83 15 00 4D 69 63 68 69 73 2D 50 43 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Und dann ging alles wieder normal (kaputt) und hcidump --rawzeigte:
HCI sniffer - Bluetooth packet analyzer ver 2.4
device: hci0 snap_len: 1028 filter: 0xffffffff
< 01 01 04 05 33 8B 9E 08 00
> 04 0F 04 00 01 01 04
> 04 01 01 00
dmesg | grep -i bluetooth zeigt an:
[ 5.875950] Bluetooth: Core ver 2.19
[ 6.000541] Bluetooth: HCI device and connection manager initialized
[ 6.202400] Bluetooth: HCI socket layer initialized
[ 6.209332] Bluetooth: L2CAP socket layer initialized
[ 6.586384] Bluetooth: SCO socket layer initialized
[ 29.059873] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 29.059914] Bluetooth: BNEP filters: protocol multicast
[ 29.059972] Bluetooth: BNEP socket layer initialized
[ 29.132785] Bluetooth: RFCOMM TTY layer initialized
[ 29.132869] Bluetooth: RFCOMM socket layer initialized
[ 29.132930] Bluetooth: RFCOMM ver 1.11
Raspberry Pi ist Modell B Rev2
Installierte Pakete:
bluetoothbluez-utilsbluez-compatbluez-hcidump
hcidump: command not found-> Wie finde ich das Paket, das ein Programm in Debian enthält? Mir ist klar, dass die Frage als Duplikat geschlossen ist, aber die akzeptierte Antwort ist gut. Wenn Sie sich zum Duplikat durchklicken, können Sie diese Antworten auch überprüfen, wenn Sie möchten.