Thanks: 0
Ergebnis 1 bis 2 von 2
Thema: Bluetooth Keyboard Pairing
-
06.09.2015, 19:23 #1
- Registriert seit
- 10.07.2013
- Beiträge
- 7
- Thanks (gegeben)
- 0
- Thanks (bekommen)
- 0
- Total Downloaded
- 651,7 KB
- Total Downloaded
- 651,7 KB
Bluetooth Keyboard Pairing
Hallo zusammen,
ich würde gerne meine Logitech K810 Bluetooth Tastatur mittels aktuellem CSL Bluetooth/USB Stick an meiner GIGABLUE GBQUAD betreiben. Leider bin ich nach mehreren Stunden Test etwas ratlos was das Pairing angeht.
Der Bluetooth Adapter wird grundsätzlich initialisiert.
Die Verbindung zur Logitech kommt zustande.
Leider weiß ich nicht wie das Pairing mittels Key oder auch ohne über die Box abgewickelt werden soll?
Im Plugin Bluetooth Manager kann ich lediglich die Tastatur finden aber nicht wirklich konfigurieren
Über die Konsole bin ich soweit das ich eine Verbindung aufbauen und die Infos von der Tastatur herunterladen kann aber auch hier komme ich mit dem Pairing nicht weiter. Mir fehlt sowohl im hciconfig wie auch unter hcitool eine Funktion zum Eingeben eines Pins.
hcitool -i hci0 cc 00:1F:20:A8:E5:A9 -> funktioniert kurz
hcitool -i hci0 cc 00:1F:20:A8:E5:A9 -> läuft in einen Timeout, weil wahrscheinlich der Pin fehlt
hcidump liefert auch nur:
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
bdaddr 00:1F:20:A8:E5:A9 mode 2 clkoffset 0x0000
> HCI Event: Command Status (0x0f) plen 4
Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> HCI Event: Remote Name Req Complete (0x07) plen 255
status 0x00 bdaddr 00:1F:20:A8:E5:A9 name 'Logitech K810'
< HCI Command: Change Connection Link Key (0x01|0x0015) plen 2
handle 71
> HCI Event: Command Status (0x0f) plen 4
Change Connection Link Key (0x01|0x0015) status 0x0c ncmd 1
Error: Command Disallowed
< HCI Command: Disconnect (0x01|0x0006) plen 3
handle 71 reason 0x13
Reason: Remote User Terminated Connection
> HCI Event: Command Status (0x0f) plen 4
Disconnect (0x01|0x0006) status 0x00 ncmd 1
> HCI Event: Disconn Complete (0x05) plen 4
status 0x00 handle 71 reason 0x16
Reason: Connection Terminated by Local Host
Hat jemand eine Idee wo ich ansätzen müsste?
-
Advertising
-
17.11.2017, 11:11 #2
- Registriert seit
- 21.11.2016
- Beiträge
- 1
- Thanks (gegeben)
- 0
- Thanks (bekommen)
- 0
- Total Downloaded
- 0
- Total Downloaded
- 0
opkg install -base-bluetooth
opkg install bluez4-testtool
or
opkg install bluez5-testtool
(whichever is on github depending on the image you are using)
below fies in usr/lib/blues5/test/ must be modified as below
usr/lib/blues5/test/test-discovery
usr/lib/blues5/test/test-device,
usr/lib/blues5/test/test-manager
replace
from gi.repository import GObject
with
import gobject as GObject
1. via telnet execute : hcitool scan
find the device mac is that you want to connect
for example the device you want to connect mac adress is DC:2C:26:A7:80:9B
then
2. via telnet execute : /usr/lib/bluez/test/simple-agent DC:2C:26:A7:80:9B
there will be 6 letter passcode beside the device adress, input those letters on your bluetooth device and press enter
volla device is paired.
then
3. via telnet execute : /usr/lib/bluez/test/test-device trusted DC:2C:26:A7:80:9B
that is all now you have added device as trusted and each time you try to connect the device will be automated.
Be sure to have below packages are already injected & modified.Geändert von Capitalq (17.11.2017 um 11:26 Uhr)
Lesezeichen