|
|
|
@ -730,7 +730,7 @@ class PairingController extends GetxController with WidgetsBindingObserver { |
|
|
|
try { |
|
|
|
// 设置超时定时器 |
|
|
|
_bleTimeoutTimer?.cancel(); |
|
|
|
_bleTimeoutTimer = Timer(const Duration(seconds: 10), () async { |
|
|
|
_bleTimeoutTimer = Timer(const Duration(seconds: 20), () async { |
|
|
|
final currentBleState = await _bleManager.getConnectionState(); |
|
|
|
if (currentBleState == 2) { |
|
|
|
_bleTimeoutTimer?.cancel(); |
|
|
|
|