0
Dlatego była porada:
(29-04-2021, 10:31)dedito napisał(a): ... łącz się z poziomu terminala, będzie może widać co jest nie tak.Przykładowe wskazówki zaczerpnięte z: https://simpleit.rocks/linux/shell/conne...-from-cli/
Cytat:Guide to pair a Bluetooth device from command line.
In this case I will pair a Bluetooth headphone but the process should be similar to any other device.
1. Identify your computer bluetooth
Identify the Bluetooth device we want to scan from with hcitool dev.
Kod:$ hcitool dev
Devices:
hci0 A3:3E:XX:XX:G3:86
2. Scan available devices
Turn on your device (e.g. headphone) so we can find it from the computer with hcitool scan if we have just one or choose the right one like
hcitool -i hci0 scan.
Kod:$ hcitool -i hci0 scan
Scanning ...
FC:XX:XX:XX:XX:FE n/a
3. Trust the discovered device
For future connections, trust the device using bluetoothctl and trust the discovered MAC address.
Kod:$ bluetoothctl
[bluetooth]# trust FC:XX:XX:XX:XX:FE
[CHG] Device FC:XX:XX:XX:XX:FE Trusted: yes
4. Connect
You can connect it from the
bluetoothctl console or directly with bluetoothctl connect < MAC-address >.
Kod:[bluetooth]# connect FC:XX:XX:XX:XX:FE
Attempting to connect to FC:XX:XX:XX:XX:FE
Connection successful
[E7]#
Extras
Useful commands to deal with Bluetooth devices from bluetoothctl:
- help
- helpdevices - list available devices
- paired-devices - list paired devices
Kod:[E7]# paired-devices
Device FC:XX:XX:XX:XX:FE E7
Resoureces
- bluetoothctl - interactive bluetooth control tool (General Commands Manual)
- hcitool - configure Bluetooth connections (Linux System Administration)
Zasady forum | Poradniki i najczęstsze pytania | 90% odpowiedzi na wszystkie pytania
A imię jego czterdzieści i cztery.
A imię jego czterdzieści i cztery.