can_socket 0.1.3 copy "can_socket: ^0.1.3" to clipboard
can_socket: ^0.1.3 copied to clipboard

Pure Dart FFI bindings for Linux SocketCAN. Raw CAN, CAN FD, BCM, ISO-TP, and J1939.

150/ 160
pub points
31
downloads

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

Failed report section
Follow Dart file conventions
20 / 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

Failed check 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.

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

68 out of 157 API elements (43.3 %) have documentation comments.

Some symbols that are missing documentation: can_socket.BcmRxConfig.BcmRxConfig.new, can_socket.BcmTxConfig.BcmTxConfig.new, can_socket.CanBcmSocket.CanBcmSocket.new, can_socket.CanBcmSocket.interface_, can_socket.CanFilter.CanFilter.new.

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 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:can_socket/can_socket.dart that imports:
  • package:can_socket/src/can_j1939_socket.dart that imports:
  • package:can_socket/src/ffi/structs.dart that imports:
  • dart:ffi
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

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
ffi ^2.1.4 2.2.0 2.2.0

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.23.19, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
150
points
31
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Pure Dart FFI bindings for Linux SocketCAN. Raw CAN, CAN FD, BCM, ISO-TP, and J1939.

Homepage
Repository (GitHub)
View/report issues

Topics

#can-bus #socketcan #ffi

License

unknown (license)

Dependencies

ffi

More

Packages that depend on can_socket