merge from devel
This commit is contained in:
commit
a7ddc43d00
@ -47,7 +47,11 @@ use JSON;
|
|||||||
use Blocking;
|
use Blocking;
|
||||||
|
|
||||||
|
|
||||||
my $version = "1.4.0";
|
my $version = "1.4.1";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
my %CallBatteryFirmwareAge = ( '8h' => 28800,
|
my %CallBatteryFirmwareAge = ( '8h' => 28800,
|
||||||
'16h' => 57600,
|
'16h' => 57600,
|
||||||
'24h' => 86400,
|
'24h' => 86400,
|
||||||
@ -448,6 +452,9 @@ sub XiaomiFlowerSens_ExecGatttool_Run($) {
|
|||||||
Log3 $name, 5, "XiaomiFlowerSens ($name) - ExecGatttool_Run: gatttool loop result ".join(",", @gtResult);
|
Log3 $name, 5, "XiaomiFlowerSens ($name) - ExecGatttool_Run: gatttool loop result ".join(",", @gtResult);
|
||||||
$loop++;
|
$loop++;
|
||||||
|
|
||||||
|
$gtResult[0] = 'connect error'
|
||||||
|
unless( defined($gtResult[0]) );
|
||||||
|
|
||||||
} while( $loop < 5 and $gtResult[0] eq 'connect error' );
|
} while( $loop < 5 and $gtResult[0] eq 'connect error' );
|
||||||
|
|
||||||
Log3 $name, 4, "XiaomiFlowerSens ($name) - ExecGatttool_Run: gatttool result ".join(",", @gtResult);
|
Log3 $name, 4, "XiaomiFlowerSens ($name) - ExecGatttool_Run: gatttool result ".join(",", @gtResult);
|
||||||
|
Loading…
Reference in New Issue
Block a user