8000 GitHub - jodersky/akka-serial at v3.0.3
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jodersky/akka-serial

Repository files navigation

Build Status Download

flow

Serial communication library for Scala, designed to be reactive, lightweight and easily integrable with Akka applications. See the website for a guide.

Highlights

  • Reactive: only does work when required (no constant polling of ports or blocking IO)
  • Integrates seamlessly with Akka
  • Portable to POSIX systems
  • Watchable ports: react to connection of new device
  • Compatible with Reactive Streams

Native side

Since hardware is involved in serial communication, a Scala-only solution is not possible. Nevertheless, the native code is kept simple and minimalistic with the burden of dealing with threads left to Scala. The code aims to be POSIX compliant and therefore easily portable.

Directory Structure

flow/
├── Documentation         Sources for user documentation as published on the website.
├── dev                   Firmware samples for serial devices, to make testing easier.
├── flow-core             Main Scala source files.
├── flow-native           C sources used to implement serial communication.
│   └── lib_native        Compiled native libraries that are published in flow-native.
├── flow-samples          Runnable example projects.
├── flow-stream           Stream API, used to connect with Akka streams.
└── project               Build configuration.

Website source code is in the git branch 'gh-pages'.

Build

Detailed documentation on building flow is available on the website (or, equivalently, in developer.md).

Since flow integrates into the Akka-IO framework, a good resource on its general design is the framework's documentation.

This project is also an experiment on working with JNI and automating build infrastructure.

Copying

flow is released under the terms of the 3-clause BSD license. See LICENSE for details.

About

Reactive serial communication library for Akka and Scala.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 9

0