embedded_serialport 0.0.33 copy "embedded_serialport: ^0.0.33" to clipboard
embedded_serialport: ^0.0.33 copied to clipboard

`embedded_serialport` is a Flutter package for serial port communication, it uses Dart FFI (Foreign Function Interface) to interact with Rust and C shared libraries. This package provides a simple API [...]

7
likes
130/ 160
pub points
90
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

53 out of 68 API elements (77.9 %) have documentation comments.

Some symbols that are missing documentation: embedded_serialport, embedded_serialport.Serial.baudrate, embedded_serialport.Serial.databits, embedded_serialport.Serial.parity, embedded_serialport.Serial.path.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 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:embedded_serialport/embedded_serialport.dart that imports:
  • package:embedded_serialport/src/serial.dart that imports:
  • package:embedded_serialport/src/signature.dart that imports:
  • package:embedded_serialport/src/library.dart that imports:
  • package:embedded_serialport/src/cpu_architecture.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:embedded_serialport/embedded_serialport.dart that imports:
  • package:embedded_serialport/src/serial.dart that imports:
  • package:embedded_serialport/src/signature.dart that imports:
  • package:embedded_serialport/src/library.dart that imports:
  • package:embedded_serialport/src/cpu_architecture.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 8 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

lib/src/serial.dart:372:17

    ╷
372 │   /// Opens the <tt>tty</tt> device at the specified [path] (e.g. "/dev/ttyUSB0"), with the specified [baudrate], and the
    │                 ^^^^
    ╵

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/serial.dart:372:24

    ╷
372 │   /// Opens the <tt>tty</tt> device at the specified [path] (e.g. "/dev/ttyUSB0"), with the specified [baudrate], and the
    │                        ^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest Notes
collection ^1.18.0 1.19.1 1.19.1
ffi ^2.1.2 2.1.4 2.1.4
meta ^1.12.0 1.16.0 1.16.0
path ^1.9.0 1.9.1 1.9.1
process ^5.0.2 5.0.3 5.0.3
stack_trace ^1.11.1 1.12.1 1.12.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
file - 7.0.1 7.0.1
material_color_utilities - 0.11.1 0.12.0
platform - 3.1.6 3.1.6
vector_math - 2.1.4 2.1.5

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

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.22.21, Flutter 3.29.3, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
7
likes
130
points
90
downloads

Publisher

unverified uploader

Weekly Downloads

`embedded_serialport` is a Flutter package for serial port communication, it uses Dart FFI (Foreign Function Interface) to interact with Rust and C shared libraries. This package provides a simple API to list available serial ports and perform read/write operations.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, ffi, flutter, meta, path, process, stack_trace

More

Packages that depend on embedded_serialport