Bluetooth: Difference between revisions

From DWIKI
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
=Links=
*[http://www.bluez.org/ Bluez homepage]  
*[http://www.bluez.org/ Bluez homepage]  
*[http://www.gargan.org/linux/snd-bt-sco/ btsco]  
*[http://www.gargan.org/linux/snd-bt-sco/ btsco]  
Line 5: Line 5:
*[http://www.crazygreek.co.uk/content/chan_bluetooth Asterisk channel plugin for bluetooth HandsFree Profile]  
*[http://www.crazygreek.co.uk/content/chan_bluetooth Asterisk channel plugin for bluetooth HandsFree Profile]  
*[https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers/ Bluetooth Company Identifiers]
*[https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers/ Bluetooth Company Identifiers]
=Terminology=
==gatt==
'''G'''eneric '''Att'''ribute Profile
*https://learn.adafruit.com/introduction-to-bluetooth-low-energy/gatt
==GAP==
'''G'''eneric '''A''ccess '''P'''rofile
*https://learn.adafruit.com/introduction-to-bluetooth-low-energy/gap
=HOWTO=
==Connect new device==
bluetootctl
  scan on
=Tools=
=Tools=


Line 10: Line 23:
===Find devices===
===Find devices===
  scan on
  scan on
===unpair===
remove <device-id>


==hciconfig==
==hciconfig==
Line 52: Line 68:
<span style="font-family:monospace"><span style="color:#000000;  background-color:#ffffff">will show it also wants </span><span style="color:#b21818;  background-color:#ffffff">hci0: Failed to load Intel DDC file intel/ibt-20-1-3.ddc</span></span><br/> &nbsp;
<span style="font-family:monospace"><span style="color:#000000;  background-color:#ffffff">will show it also wants </span><span style="color:#b21818;  background-color:#ffffff">hci0: Failed to load Intel DDC file intel/ibt-20-1-3.ddc</span></span><br/> &nbsp;


&nbsp;
 
==Failed to connect: org.bluez.Error.Failed br-connection-unknown==
try
systemctl status bluetooth.service
 
bluetoothd[836]: profiles/audio/avdtp.c:avdtp_connect_cb() xx permision denied
 
try unpairing and pairing again

Latest revision as of 20:54, 25 May 2022

Links

Terminology

gatt

Generic Attribute Profile

GAP

'Generic Access Profile

HOWTO

Connect new device

bluetootctl
 scan on

Tools

bluetoothctl

Find devices

scan on

unpair

remove <device-id>

hciconfig

FAQ

Failed to pair: org.bluez.Error.AlreadyExists

Try

paired-devices
      

Failed to connect: org.bluez.Error.Failed

hammer?

 

Keeps requiring reconnect

Check ReconnectUUIDs

To find the UUIDs:

bluetoothctl show

mobile device not found

Headphone can't find your system.

 

Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-20-1-3.sfi (-2)

You might find it at https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/intel

NOTE

 hciconfig hci0 up

will show it also wants hci0: Failed to load Intel DDC file intel/ibt-20-1-3.ddc
 


Failed to connect: org.bluez.Error.Failed br-connection-unknown

try

systemctl status bluetooth.service

bluetoothd[836]: profiles/audio/avdtp.c:avdtp_connect_cb() xx permision denied

try unpairing and pairing again