Skip to main content

aidlab_sdk 2.9.0 copy "aidlab_sdk: ^2.9.0" to clipboard
aidlab_sdk: ^2.9.0 copied to clipboard

Aidlab Flutter SDK. For more information please visit https://www.aidlab.com/developer

2.9.0 #

  • Disconnecting stops live data first, so the last second of each signal is no longer lost.
  • Android no longer ships the 32-bit x86 library, so 32-bit x86 emulators are not supported.

2.8.3 #

  • More reliable connecting, reconnecting and disconnecting, including when the connection drops mid-session.
  • Unknown sync statuses are reported as failures, and Bluetooth data uses less CPU.

2.8.2 #

  • Releases the Unity SDK; the Flutter SDK is unchanged from 2.8.1.

2.8.1 #

  • stopSynchronization now returns once the device has stopped syncing, so clearSynchronization right after it works on every firmware.
  • A stop no longer fails while a slow sync is still draining.

2.8.0 #

  • Aidlab 2 requires this version.
  • Rejected commands throw ProcessRejectedError with the reason.
  • processDidExit reports the exit status.
  • Sleep events report the stages of a night.
  • send with an empty payload closes the process's stdin.

BREAKING

  • didReceivePayload is now didReceiveProcessOutput, processDidTerminate is now processDidExit.
  • Removed SleepPeriod.night.
  • Every live event is enabled through collect(events:); DataType.activity is removed, use the activity event.
  • Android requires minSdk 31 (Android 12); location permission is no longer needed.

2.7.0 #

  • BREAKING: Unified device events under didReceiveEvent and changed raw process callbacks to use PIDs and unmodified device payloads.
  • Made data callbacks optional, made connect() throw on failure, and improved collection and synchronization across Aidlab 1 and Aidlab 2.

2.6.0 #

BREAKING

  • Rejected commands throw AidlabError; delegate callback exceptions are no longer suppressed.
  • Removed DisconnectReason.sdkOutdated. SDK failures that end a session report timeout or unknownError.
  • Unsynchronized size is always in bytes; sync speed is -1 until measured.
  • connect() sets the device clock on firmware 2.2.2 and later.
  • iOS: set the Runner target's Strip Style to Non-Global Symbols.

2.5.6 #

  • Fixed stationary activity being reported as unknown.
  • Fixed queued commands racing with Bluetooth disconnection.
  • Updated native iOS and Android libraries to 2.5.6.

2.5.5 #

  • Increased the process command timeout to improve collection and synchronization reliability on slower device responses.

2.5.4 #

  • Improved Swift Package Manager support for iOS.
  • Fixed native header exposure for Flutter FFI builds using Swift Package Manager.
  • Updated the example app and CI to validate Swift Package Manager integration.

2.5.3 #

  • Improved compatibility with Aidlab 2.
  • Improved protocol reliability and workout detection.
  • Updated the bundled native libraries.

2.5.2 #

  • Refined process command handling for already-running device processes.
  • Updated the bundled iOS native library.

2.5.1 #

  • Fixed Collect reconfiguration and stop commands by routing them to the runtime process PID returned by the device.
  • Fixed process lifecycle state handling across multiple connected devices and reconnects.

2.5.0 #

BREAKING Collection and synchronization controls now wait for device lifecycle confirmation and return the runtime PID, or null when rejected.

  • Add deterministic command serialization and completion for collection and synchronization controls.
  • Expose process termination and stderr callbacks while preserving PID-less collection on firmware older than 3.6.
  • Harden v4 ACK/NAK handling and reject oversized packets.

2.1.0 #

BREAKING Removed the ability to configure ECG filtering.

2.0.0 #

  • feat: add support for Aidlab 2 (no breaking API changes)

1.0.0 #

BREAKING This version introduces a comprehensive restructuring of our SDK, aimed at simplifying data retrieval processes. We strongly advise all developers to review the updated examples and consult the new documentation available at aidlab.com/developer/docs to fully understand the impact on your projects.

Older versions: see each version's changelog on pub.dev or the repository history.

4
likes
160
points
1.48k
downloads

Documentation

API reference

Publisher

verified publisheraidlab.com

Weekly Downloads

Aidlab Flutter SDK. For more information please visit https://www.aidlab.com/developer

Homepage

License

MIT (license)

Dependencies

ffi, flutter, flutter_reactive_ble

More

Packages that depend on aidlab_sdk

Packages that implement aidlab_sdk