bluetooth_le 0.2.0 copy "bluetooth_le: ^0.2.0" to clipboard
bluetooth_le: ^0.2.0 copied to clipboard

Cross-platform Bluetooth Low Energy (GATT) for Dart and Flutter, with a GATT-as-serial channel. Pure-Dart CLI plus Flutter on macOS, Linux, Android, iOS, and Windows.

160/ 160
pub points
116
downloads

We analyzed this package 4 days ago, and awarded it 160 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

163 out of 200 API elements (81.5 %) have documentation comments.

Some symbols that are missing documentation: bluetooth_le.BleCentralPlatform.BleCentralPlatform.new, bluetooth_le.BleCentralPlatform.adapterState, bluetooth_le.BleCentralPlatform.isSupported, bluetooth_le.BleCentralPlatform.setAdapterEnabled, bluetooth_le.BleCentralPlatform.stopScan.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows

  • ✓ Linux

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:bluetooth_le/bluetooth_le.dart that imports:
  • package:bluetooth_le/src/platform/platform_interface.dart that imports:
  • package:bluetooth_le/src/platform/platform_dispatch.dart that imports:
  • package:bluetooth_le/src/platform/linux/linux_central.dart that imports:
  • package:dbus/dbus.dart that declares support for platforms: Windows, Linux.
Package does not support platform `iOS`.

Because:

  • package:bluetooth_le/bluetooth_le.dart that imports:
  • package:bluetooth_le/src/platform/platform_interface.dart that imports:
  • package:bluetooth_le/src/platform/platform_dispatch.dart that imports:
  • package:bluetooth_le/src/platform/linux/linux_central.dart that imports:
  • package:dbus/dbus.dart that declares support for platforms: Windows, Linux.
Package does not support platform `macOS`.

Because:

  • package:bluetooth_le/bluetooth_le.dart that imports:
  • package:bluetooth_le/src/platform/platform_interface.dart that imports:
  • package:bluetooth_le/src/platform/platform_dispatch.dart that imports:
  • package:bluetooth_le/src/platform/linux/linux_central.dart that imports:
  • package:dbus/dbus.dart that declares support for platforms: Windows, Linux.
Package does not support platform `Web`.

Because:

  • package:bluetooth_le/bluetooth_le.dart that imports:
  • package:bluetooth_le/src/platform/platform_interface.dart that imports:
  • package:bluetooth_le/src/platform/platform_dispatch.dart that imports:
  • package:bluetooth_le/src/platform/linux/linux_central.dart that imports:
  • package:dbus/dbus.dart that declares support for platforms: Windows, Linux.
Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Partially passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Partially passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
code_assets ^1.2.0 1.2.1 2.0.0
dbus ^0.7.10 0.7.15 0.7.15
ffi ^2.1.0 2.2.0 2.2.0
hooks ^2.0.0 2.2.0 2.2.0
logging ^1.2.0 1.3.0 1.3.0
meta ^1.16.0 1.19.0 1.19.0
native_toolchain_c ^0.19.1 0.19.3 0.19.4
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
path - 1.9.1 1.9.1
petitparser - 7.0.2 7.0.2
pub_semver - 2.2.0 2.2.0
record_use - 1.1.1 1.1.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
xml - 7.0.1 7.0.1
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^1.2.0` on code_assets does not support the stable version `2.0.0`, that was published 1 days ago.

When code_assets is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions code_assets to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.18, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
160
points
116
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Cross-platform Bluetooth Low Energy (GATT) for Dart and Flutter, with a GATT-as-serial channel. Pure-Dart CLI plus Flutter on macOS, Linux, Android, iOS, and Windows.

Homepage
Repository (GitHub)
View/report issues

Topics

#bluetooth #ble #gatt #ffi

License

BSD-3-Clause (license)

Dependencies

code_assets, dbus, ffi, hooks, logging, meta, native_toolchain_c

More

Packages that depend on bluetooth_le