serial-port 1.0.0-docs

Minimalistic serial port library. Exctracted from Tango library.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

serial-port

Crossplatform library for operating with serial ports in D programming language. Documentation.

Compilation

With dub:

dub build

Or, put in your package.json dependencies:

"dependencies": {
  "serial-port": "~master"
},

To compile tests:

dub build --build=unittest --config=unittest
./serial-port

You should have two serial ports linked to each other (com0com on Windows, socat in linux). For instance, writing to 'COM1' and reading from 'COM2'. On posix you can use socat to create serial port pipe:

socat PTY,link=ttyS1 PTY,link=ttyS2
Authors:
  • NCrashed - Gushcha Anton
Dependencies:
none
Versions:
1.2.0 2017-Feb-03
1.1.0 2014-Oct-14
1.0.0 2014-Feb-20
1.0.0-docs 2014-Feb-20
~master 2017-Feb-03
Show all 6 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 3 downloads this month

  • 810 downloads total

Score:
1.9
Short URL:
serial-port.dub.pm