-
-
Save nomicode/7e8dd660d5b223ab18a03e340b5a7440 to your computer and use it in GitHub Desktop.
Bluetooth RSSI signal strength
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install bluetooth tools | |
sudo apt-get install --no-install-recommends bluetooth | |
# find MAC address (needs to be discoverable) | |
hcitool scan | |
# ping it | |
sudo l2ping -c 1 12:34:56:78:90 | |
# Connect by MAC | |
sudo rfcomm connect 0 12:34:56:78:90:00 10 >/dev/null & | |
# Signal strength: (range -10 ... 40) | |
hcitool rssi 12:34:56:78:90:00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment