rtlsdr 0.0.6 copy "rtlsdr: ^0.0.6" to clipboard
rtlsdr: ^0.0.6 copied to clipboard

FFI bindings to access librtlsdr and read Software-Defined Radio signals using Dart streams.

1
likes
140/ 160
pub points
0%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

OK
Provide documentation
20 / 20trigger folding of the section

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

71 out of 234 API elements (30.3 %) have documentation comments.

Some symbols that are missing documentation: rtlsdr, rtlsdr.AbstractBindings.cancelAsync, rtlsdr.AbstractBindings.close, rtlsdr.AbstractBindings.getCenterFreq, rtlsdr.AbstractBindings.getDeviceCount.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:rtlsdr/rtlsdr.dart that imports:
  • package:rtlsdr/src/utils/exception.dart that imports:
  • package:rtlsdr/src/rtlsdr.dart that imports:
  • package:rtlsdr/src/utils/isolate.dart that imports:
  • package:rtlsdr/src/ffi/types.dart that imports:
  • dart:ffi

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:rtlsdr/rtlsdr.dart that imports:
  • package:rtlsdr/src/utils/exception.dart that imports:
  • package:rtlsdr/src/rtlsdr.dart that imports:
  • package:rtlsdr/src/utils/isolate.dart that imports:
  • package:rtlsdr/src/ffi/types.dart that imports:
  • dart:ffi

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: 'elementAt' is deprecated and shouldn't be used. Use operator + instead.

lib/src/features/tuner.dart:38:38

   ╷
38 │             result, (index) => gains.elementAt(index).value / 10.0,
   │                                      ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/features/tuner.dart

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
characters ^1.3.0 1.3.1 1.3.1
ffi ^2.1.0 2.1.3 2.1.3
meta ^1.9.0 1.16.0 1.16.0
more ^4.0.1 4.4.0 4.4.0
Transitive dependencies
Package Constraint Compatible Latest
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

1
likes
140
pub points
0%
popularity

Publisher

verified publisherlukas-renggli.ch

FFI bindings to access librtlsdr and read Software-Defined Radio signals using Dart streams.

Repository (GitHub)
View/report issues

Topics

#sdr #ffi

Documentation

API reference

License

unknown (license)

Dependencies

characters, ffi, meta, more

More

Packages that depend on rtlsdr