Search found 1 match

by chrisk81
Thursday 11 May 2017 18:03
Forum: Bash / PowerShell / Batch etc.
Topic: Ultimate Wifi and Bluetooth Presence Detection
Replies: 84
Views: 49028

Re: Ultimate Wifi and Bluetooth Presence Detection

I'm using this code to detect my iPhone bluetooth. I've found it to be rock solid so far and it also gives the RSSI. Can anyone see any issues with it? #!/bin/bash sudo hcitool cc AA:BB:CC:DD:EE:FF 2> /dev/null while true do bt=$(hcitool rssi AA:BB:CC:DD:EE:FF 2> /dev/null) if [ "$bt" == "" ]; then ...