flutter_gpiod 0.5.1+4 copy "flutter_gpiod: ^0.5.1+4" to clipboard
flutter_gpiod: ^0.5.1+4 copied to clipboard

Dart package for accessing GPIO using the GPIO character device interface on linux / Android (root required). Supports signal edge listening, active state, open source/drain and (if supported by platf [...]

0.5.1+4 #

  • Update a dependency to the latest release.

0.5.1+3 #

  • FIX: don't block infinitely waiting for gpio events. (81123cfe)

0.5.1+2 #

  • Update a dependency to the latest release.

0.5.1+1 #

  • FIX: use dart 2.17 for dart:ffi abi-specific integer types. (79e410a2)
  • FIX: invoke libc.errno_location as a function. (896af01e)

0.5.1 #

  • FEAT: use newly generated libc bindings in dependants. (14972b55)

0.5.0 #

  • upgrade ffi to 2.0.0

[0.4.0] #

  • fix some smaller issues
  • test on pi 4 and odroid c4 using a seperate test app
  • migrate to common bindings

[0.4.0-nullsafety] #

  • migrate to null-safety
  • migrate to FFI 1.0
  • use new bindings generator
  • try finding pinctrl-bcm2711 and fallback to pinctrl-bcm2835 if not present in the examples
  • add timestamp and timestampNanos properties in SignalEvent since the kernel no-longer provides realtime timestamps for signal events by default.
  • use DateTime.now in event listener isolate for measuring the wall-clock time of a signal event.
  • change documentation inside SignalEvent

[0.3.1] #

  • fix docs for GpioChip.label

[0.3.0] #

  • GpioLine.onEvent is now a broadcast (not single subscription) stream
  • example was updated to include some gotchas with this single subscription stream
  • fix a bug with closing event lines

[0.2.0] #

  • switch to using FFI
  • libgpiod is no longer required, the interface accesses the GPIO character devices directly using ioctls
  • a lot of stuff has been made synchronous
  • add a sub-project for generating the FFI bindings ("bindings_generator")
  • update the examples for the new API
  • fix some documentation
  • tested on ARM32, should work on other 32-bit and 64-bit linux platforms as well (untested though)

[0.1.0+3] #

  • Removed link in pubspec.yaml because it wasn't working.

[0.1.0+2] #

  • Format sources
  • Better description in pubspec.yaml

[0.1.0+1] #

  • Fix README.md

[0.1.0] #

  • Initial release.
36
likes
140
pub points
80%
popularity

Publisher

verified publisherardera.dev

Dart package for accessing GPIO using the GPIO character device interface on linux / Android (root required). Supports signal edge listening, active state, open source/drain and (if supported by platform) bias.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

_ardera_common_libc_bindings, ffi, meta, path, tuple

More

Packages that depend on flutter_gpiod