aidlab_sdk library
Classes
- AidlabError
- Error delivered through DeviceDelegate.didReceiveError.
- AidlabManager
- High-level scanner and device factory for Flutter applications.
- AidlabManagerDelegate
- Callbacks for Bluetooth scanning lifecycle events.
- AidlabScanner
- Abstraction for scanning Aidlab devices.
- AidlabTransport
- Abstraction for device transport commands.
- Device
- A connected Aidlab device. Provides data streams and control commands.
- DeviceDelegate
- Callbacks delivering live and historical data as well as state changes.
- ReactiveBleAidlabTransport
-
Default transport based on
flutter_reactive_ble.
Enums
- ActivityType
- Detected user activity type.
- AidlabErrorCode
- Public SDK error class exposed to host applications.
- BluetoothState
- Current Bluetooth adapter state observed by the SDK scanner.
- BodyPosition
- Detected user body position.
- DataType
- Type of data stream that can be collected from the device (e.g. ECG, HR).
- DisconnectReason
- Reason describing why a device connection has been terminated.
- Exercise
- Detected exercise type emitted by the device.
- ScanMode
- Scan mode controlling discovery strategy.
- SyncState
- State of historical data synchronization.
- WearState
- State describing device wearing/placement conditions.
Functions
-
canonicalBleUuid(
String value) → String - Normalizes 16-, 32- and 128-bit UUID strings to canonical 128-bit form.
Typedefs
- AidlabTransportDisconnectCallback = void Function(DisconnectReason reason, Object? error)
- Callback invoked when the transport disconnects from a device.
- AidlabTransportFactory = AidlabTransport Function(String address, String? name)
- Factory creating a per-device transport instance.