Refactor BLE plugin structure and rename to 'ble' for consistency across platforms

This commit is contained in:
TonyLu
2026-05-07 17:22:39 +08:00
parent d670143817
commit 020abb118f
19 changed files with 163 additions and 121 deletions
+1 -1
View File
@@ -14,4 +14,4 @@
// }
// ```
export 'src/ble_relay_host.dart';
export 'src/ble_relay_host.dart';
+1 -1
View File
@@ -11,7 +11,7 @@ const String kBleRelayServiceUuid = '0000fff0-0000-1000-8000-00805f9b34fb';
const String kBleRelayCharacteristicUuid = '0000fff1-0000-1000-8000-00805f9b34fb';
/// Method-channel name (must match Android/iOS/macOS native implementations).
const String _kChannelName = 'com.dalimaster.ble_relay_host';
const String _kChannelName = 'com.dalimaster.ble';
/// An abstraction over the platform BLE GATT-server implementation.
///