Refactor BLE plugin structure and rename to 'ble' for consistency across platforms
This commit is contained in:
@@ -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';
|
||||
Reference in New Issue
Block a user