Created
April 5, 2016 02:05
-
-
Save deliciouskek/cb14fb2d9f20a977842929c3bb4f2396 to your computer and use it in GitHub Desktop.
bluetooth_scan_addresses.sh
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
#!\bin\sh | |
# bluetooth_scan_addresses.sh | |
timout=1 | |
while read line | |
do | |
echo $line; hcitool name $line | |
done < matches.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Still in progress. Outputs:
00:00:00:00:00:01
00:00:00:00:00:02
00:00:00:00:00:03
Fujitsu004
00:00:00:00:00:04
Fujitsu004
00:00:00:00:00:05
Fujitsu004
00:00:00:00:00:06
Fujitsu004
00:00:00:00:00:07
...
Repeats the device name from the first found device on all other MAC addresses on the matches.txt file