diff --git a/Assets/Scripts/Devices/Ble/mobile/BleMobileThread.cs b/Assets/Scripts/Devices/Ble/mobile/BleMobileThread.cs index ef0afcf2..7309a9e9 100644 --- a/Assets/Scripts/Devices/Ble/mobile/BleMobileThread.cs +++ b/Assets/Scripts/Devices/Ble/mobile/BleMobileThread.cs @@ -35,7 +35,7 @@ namespace Assets.Scripts.Devices.Ble this.managerStatusChanged -= value; } } - WclBleManagerStatus statusEnum = WclBleManagerStatus.RadioOff; + WclBleManagerStatus statusEnum = WclBleManagerStatus.RadioOn; internal BleMobileThread() { var self = this; //初始蓝牙 @@ -69,6 +69,7 @@ namespace Assets.Scripts.Devices.Ble public void StartWatcher() { var self = this; + statusEnum = WclBleManagerStatus.RadioOn; if (statusEnum == WclBleManagerStatus.RadioOff) { BluetoothLEHardwareInterface.BluetoothEnable(true);