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
+17
View File
@@ -0,0 +1,17 @@
// BLE GATT-server peripheral host adapter for the DALI Toolkit relay feature.
//
// Usage:
// ```dart
// final host = BleRelayHost();
// if (host.isSupported) {
// await host.start(
// advertisedName: 'DALI-Bridge',
// onClientWrite: (data) async { /* forward to DALI upstream */ },
// );
// // Push DALI responses back to connected BLE clients:
// await host.push(responseBytes);
// await host.stop();
// }
// ```
export 'src/ble_relay_host.dart';