Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 949 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 949 Bytes

Mielophone

Funny research project about BLE device(s) functionality and data gathering.

Actions Build Status

Linux

Usually console app should be run with 'sudo' privileges.

You can check if any BLE devices are present on PC, output peripherals to console like: https://unix.stackexchange.com/questions/96106/bluetooth-le-scan-as-non-root

sudo apt-get install libcap2-bin

Run BLE app without sudo privileges on Linux

There is another receipt to run linux command for binary app like:

sudo setcap 'cap_net_raw,cap_net_admin+eip' ./path/to/your/executable/file

sudo setcap 'cap_net_raw,cap_net_admin+eip' ./target/debug/battery_level

Unfortunately you have to run it after every app rebuild.

Packages to install

sudo apt-get install clang

sudo apt-get install libdbus-1-dev

OR

sudo apt-get install librust-libdbus-sys-dev