From 140ca8b09e83db87aaf9fb47bb8f2d305e10ca75 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Mon, 4 Nov 2019 15:15:26 +0100 Subject: [PATCH] change CometBlueBTLE_CmdlinePreventGrepFalsePositive Fn name --- 74_XiaomiBTLESens.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/74_XiaomiBTLESens.pm b/74_XiaomiBTLESens.pm index fedc1dc..a6922e1 100644 --- a/74_XiaomiBTLESens.pm +++ b/74_XiaomiBTLESens.pm @@ -670,7 +670,7 @@ sub ExecGatttool_Run($) { my $grepGatttool; my $gatttoolCmdlineStaticEscaped = - CometBlueBTLE_CmdlinePreventGrepFalsePositive( + BTLE_CmdlinePreventGrepFalsePositive( "gatttool -i $hci -b $mac"); $grepGatttool = qx(ps ax| grep -E \'$gatttoolCmdlineStaticEscaped\') @@ -1334,7 +1334,7 @@ sub CreateDevicenameHEX($) { return $devicenameHex; } -sub CometBlueBTLE_CmdlinePreventGrepFalsePositive($) { +sub BTLE_CmdlinePreventGrepFalsePositive($) { # https://stackoverflow.com/questions/9375711/more-elegant-ps-aux-grep-v-grep # Given abysmal (since external-command-based) performance in the first place, we'd better