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/09/20 11:15] – niziak | linux:bluetooth [2024/12/11 11:44] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| <code bash> | <code bash> | ||
| - | apt-get install bluez bluez-tools d-feet | + | apt-get install bluez bluez-hcidump |
| sudo usermod -a -G bluetooth $USER | sudo usermod -a -G bluetooth $USER | ||
| sudo setcap ' | 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 ===== | ||