hxserial_api
Haxe/hxcpp @:native integration for managing serial connections and devices.
Supported Platforms
- Windows
- MacOS
- Linux (untested)
Installation
You can install it through Haxelib
haxelib install hxserial_api
Or through Git, if you want the latest updates
haxelib git hxserial_api https://github.com/MAJigsaw77/hxserial_api.git
Dependencies
On Linux you need to install libudev-dev from your distro's package manager.
Commands list
Debian based distributions (Debian):
sudo apt-get install libudev-dev
Arch based distributions (Arch):
sudo pacman -S libudev
Fedora based distributions (Fedora):
sudo dnf install systemd-devel
Red Hat Enterprise Linux (RHEL):
sudo dnf install systemd-devel
openSUSE based distributions (openSUSE):
sudo zypper install libudev-devel
Gentoo based distributions (Gentoo):
sudo emerge sys-fs/udev
Slackware based distributions (Slackware):
sudo slackpkg install eudev
Void Linux (Void Linux):
sudo xbps-install -S eudev
NixOS (NixOS):
nix-env -iA nixpkgs.udev
Usage Example
Check out the Samples Folder for sample on how to use this library.
Licensing
hxserial_api is made available under the MIT License. Check LICENSE for more information.