18 lines
469 B
Dart
18 lines
469 B
Dart
// 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';
|