Skip to main content
ukBaz's user avatar
ukBaz's user avatar
ukBaz's user avatar
ukBaz
  • Member for 7 years, 6 months
  • Last seen this week
Stats
7,771
reputation
422k
reached
406
answers
1
question
Loading…
About

I am mainly here for the Bluetooth.

Most repeated is about deprecated BlueZ tools:

hciattach, hciconfig, hcitool, hcidump, rfcomm, sdptool, ciptool, and gatttool were deprecated by the BlueZ project in 2017. If you are following a tutorial that uses them, there is a chance that it might be out of date


Python Linux BLE Client example: https://stackoverflow.com/a/63751113/7721752


To get Bluetooth debug information on Linux:

  • Are you able to connect to the device using bluetoothctl?
  • Does service bluetooth status show errors?

When running your script have separate terminals open with the following running to get more debug information:

  • bluetoothctl
  • journalctl -f -u bluetooth
  • sudo busctl monitor org.bluez
  • sudo btmon
2
gold badges
9
silver badges
36
bronze badges
223
Score
168
Posts
41
Posts %
204
Score
198
Posts
49
Posts %
174
Score
127
Posts
31
Posts %
79
Score
64
Posts
16
Posts %
63
Score
55
Posts
14
Posts %
59
Score
57
Posts
14
Posts %
Top posts
View all questions, answers, and articles