ukBaz's user avatar
ukBaz's user avatar
ukBaz's user avatar
ukBaz
  • Member for 3 years, 2 months
  • Last seen more than a week ago
Stats
1,415
reputation
89k
reached
68
answers
0
questions
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
1
gold badge
6
silver badges
21
bronze badges
98
Score
61
Posts
90
Posts %
24
Score
21
Posts
31
Posts %
22
Score
14
Posts
21
Posts %
20
Score
19
Posts
28
Posts %
17
Score
6
Posts
9
Posts %
10
Score
8
Posts
12
Posts %
Top posts
View all questions and answers