GithubHelp home page GithubHelp logo

Serial Port Configurability about serial HOT 2 CLOSED

tarm avatar tarm commented on July 20, 2024
Serial Port Configurability

from serial.

Comments (2)

tarm avatar tarm commented on July 20, 2024

I am certainly open to pull requests. I am not actively working on adding features, so most recent contributions have come from other people.

Configuration with more options should be relatively straightforward. I would like to see:

  • Identical feature support on all platforms: linux, posix, osx, windows
  • Testing on several platforms including at least linux and windows
  • Backwards compatibility: if unset, the default should be for 8 bits, etc.
  • Implementation in the Config struct. Some commented out starting points are here: https://github.com/tarm/serial/blob/master/serial.go#L77
  • Clean patches, which may mean rebasing your commits for bug fixes and after code reviews.

Several people have made forks and made changes to add those features but have never submitted pull requests. I would start with those changes and either use them for inspiration or clean-up the patches and use them directly. https://github.com/tarm/serial/network

from serial.

tarm avatar tarm commented on July 20, 2024

@tajtiattila made a PR that adds this functionality and I just merged it to the master branch.

Please test and let us know if you have any problems.

from serial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.