From 32b7f4cb521ce61352dbccdfa84345a0f64e412d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=B0=91=E9=98=B3?= <786612630@qq.com> Date: Wed, 26 Jul 2023 09:27:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E8=93=9D=E7=89=99=E6=8F=92?= =?UTF-8?q?=E4=BB=B6=E5=8F=8A=E5=B0=81=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/src/profile/AndroidManifest.xml | 11 +- star_lock/ios/Podfile | 3 +- star_lock/ios/Podfile.lock | 21 +- .../ios/Runner.xcodeproj/project.pbxproj | 11 +- star_lock/ios/Runner/Info.plist | 4 + star_lock/lib/main.dart | 4 +- .../unlockQRCode/unlockQRCode_page.dart | 3 +- .../lib/main/lockMian/lockMain_page.dart | 24 + .../ble_device_connector.dart | 65 +++ .../ble_device_interactor.dart | 82 +++ .../tools/reactiveBlueTool/ble_logger.dart | 28 + .../tools/reactiveBlueTool/ble_scanner.dart | 114 ++++ .../reactiveBlueTool/ble_sig_gatt_uuids.dart | 485 ++++++++++++++++++ .../reactiveBlueTool/ble_status_monitor.dart | 12 + .../lib/tools/reactiveBlueTool/getx_ble.dart | 34 ++ star_lock/pubspec.yaml | 6 +- 16 files changed, 896 insertions(+), 11 deletions(-) create mode 100644 star_lock/lib/tools/reactiveBlueTool/ble_device_connector.dart create mode 100644 star_lock/lib/tools/reactiveBlueTool/ble_device_interactor.dart create mode 100644 star_lock/lib/tools/reactiveBlueTool/ble_logger.dart create mode 100644 star_lock/lib/tools/reactiveBlueTool/ble_scanner.dart create mode 100644 star_lock/lib/tools/reactiveBlueTool/ble_sig_gatt_uuids.dart create mode 100644 star_lock/lib/tools/reactiveBlueTool/ble_status_monitor.dart create mode 100644 star_lock/lib/tools/reactiveBlueTool/getx_ble.dart diff --git a/star_lock/android/app/src/profile/AndroidManifest.xml b/star_lock/android/app/src/profile/AndroidManifest.xml index 41b3e34c..bb198dd7 100644 --- a/star_lock/android/app/src/profile/AndroidManifest.xml +++ b/star_lock/android/app/src/profile/AndroidManifest.xml @@ -1,5 +1,6 @@ + package="com.example.star_lock" + xmlns:tools="http://schemas.android.com/tools">