meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:bluetooth [2018/08/24 12:20] – niziak | linux:bluetooth [2022/10/27 15:24] (current) – niziak | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
<code bash> | <code bash> | ||
apt-get install bluez bluez-tools d-feet | apt-get install bluez bluez-tools d-feet | ||
sudo usermod -a -G bluetooth $USER | sudo usermod -a -G bluetooth $USER | ||
+ | sudo setcap ' | ||
+ | sudo setcap ' | ||
</ | </ | ||
+ | ===== debug ===== | ||
+ | |||
+ | Enable debug output of '' | ||
+ | <code bash> | ||
+ | systemctl edit bluetooth.service | ||
+ | </ | ||
+ | <file override> | ||
+ | [Service] | ||
+ | ExecStart= | ||
+ | ExecStart=/ | ||
+ | </ | ||
+ | NOTE: empty '' | ||
+ | |||
+ | <code bash> | ||
+ | systemctl daemon-reload | ||
+ | systemctl restart bluetooth.service | ||
+ | </ | ||
===== hcitool ===== | ===== hcitool ===== | ||
+ | <code bash> | ||
hciconfig | hciconfig | ||
+ | hciconfig hci0 up | ||
hcitool dev | hcitool dev | ||
hcitool lescan | hcitool lescan | ||
hciconfig hci0 lestates | hciconfig hci0 lestates | ||
+ | </ | ||
===== gatttool ===== | ===== gatttool ===== |