meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linux:bluetooth [2018/08/24 12:20] niziaklinux:bluetooth [2021/08/03 10:38] niziak
Line 1: Line 1:
-====== Debian ======+====== Bluetooth ====== 
 <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 'cap_net_raw,cap_net_admin+eip' `which hcitool`
 +sudo setcap 'cap_net_raw,cap_net_admin+eip' `which hciconfig`
 </code> </code>
  
 ===== hcitool ===== ===== hcitool =====
  
 +<code bash>
 hciconfig hciconfig
 +hciconfig hci0 up
 hcitool dev hcitool dev
 hcitool lescan hcitool lescan
  
 hciconfig hci0 lestates hciconfig hci0 lestates
 +</code>
  
 ===== gatttool ===== ===== gatttool =====