lvjincheng 3 years ago
parent
commit
b4a8c482c0
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Assets/BowArrow/Scripts/Bluetooth/BluetoothAim.cs

+ 2 - 0
Assets/BowArrow/Scripts/Bluetooth/BluetoothAim.cs

@@ -189,12 +189,14 @@ public class BluetoothAim : MonoBehaviour
                         }
                         }
                     }
                     }
                 }
                 }
+                logger.Log("服务匹配结束");
                 // CallDelay(1, OpenInfrared);
                 // CallDelay(1, OpenInfrared);
                 // CallDelay(2, OpenReceiveData);
                 // CallDelay(2, OpenReceiveData);
                 // CallDelay(3, RequestBattery);
                 // CallDelay(3, RequestBattery);
                 CallDelay(2, () =>
                 CallDelay(2, () =>
                 {
                 {
                     if (status != BluetoothStatusEnum.ConnectSuccess) return;
                     if (status != BluetoothStatusEnum.ConnectSuccess) return;
+                    logger.Log("初始化自动发送CMD");
                     InitWhenConenct();
                     InitWhenConenct();
                 });
                 });
             };
             };