X-Git-Url: https://git.rvb.name/openhab-process.git/blobdiff_plain/5f3e53cb25944053ec1a02232c29b55662d30bcc..229358bcd45588510fe83e5d88142725b7218802:/mqtt-bt/scan-beacons diff --git a/mqtt-bt/scan-beacons b/mqtt-bt/scan-beacons index 0e0b701..d6d0d26 100644 --- a/mqtt-bt/scan-beacons +++ b/mqtt-bt/scan-beacons @@ -116,12 +116,10 @@ end function open_dump() - run_command("/usr/bin/pkill btmon") - run_command("/usr/bin/pkill hcitool") - f = assert(io.popen ("/usr/bin/stdbuf -o0 /usr/bin/btmon")) + f = assert(io.popen ("/usr/bin/btmon")) run_command("hciconfig hci0 down") run_command("hciconfig hci0 up") - f_null = assert(io.popen ("hcitool lescan --duplicates --passive")) + f_null = assert(io.popen ("hcitool lescan --duplicates")) return f