|
|
@@ -11,14 +11,14 @@ public class BluetoothAim : MonoBehaviour
|
|
|
readonly string targetDeviceName = "Bbow_20210501";
|
|
|
|
|
|
//旧设备-服务和特征
|
|
|
- //readonly string targetDeviceService = "0000fff0"; //字母用小写
|
|
|
- //readonly string targetDeviceCharacteristicWrite = "0000fff2"; //字母用小写
|
|
|
- //readonly string targetDeviceCharacteristicNotify = "0000fff1"; //字母用小写
|
|
|
+ readonly string targetDeviceService = "0000fff0"; //字母用小写
|
|
|
+ readonly string targetDeviceCharacteristicWrite = "0000fff2"; //字母用小写
|
|
|
+ readonly string targetDeviceCharacteristicNotify = "0000fff1"; //字母用小写
|
|
|
|
|
|
//新设备-服务和特征
|
|
|
- readonly string targetDeviceService = "6e400001"; //字母用小写
|
|
|
- readonly string targetDeviceCharacteristicWrite = "6e400002"; //字母用小写
|
|
|
- readonly string targetDeviceCharacteristicNotify = "6e400003"; //字母用小写
|
|
|
+ //readonly string targetDeviceService = "6e400001"; //字母用小写
|
|
|
+ //readonly string targetDeviceCharacteristicWrite = "6e400002"; //字母用小写
|
|
|
+ //readonly string targetDeviceCharacteristicNotify = "6e400003"; //字母用小写
|
|
|
|
|
|
|
|
|
BluetoothHelper bluetoothHelper;
|