GithubHelp home page GithubHelp logo

Comments (4)

fhunleth avatar fhunleth commented on May 28, 2024

Oh, I didn't know about TCGETS2!

This code looks interesting: https://github.com/pyserial/pyserial/blob/master/serial/serialposix.py#L148-L162

It looks like there's a better way to do this: https://github.com/elixir-circuits/circuits_uart/blob/master/src/uart_comm_unix.c#L183-L194

Apologies, no one ever sends me straces and they're so helpful that I skimmed over almost everything else you posted when I saw TCGETS2. When I get more time, I'll read this more carefully. Thanks for the report!!!

from circuits_uart.

tomboland avatar tomboland commented on May 28, 2024

Hi, thanks for the amazingly quick response! You may see I've just submitted a PR which uses those newer ioctls. I added a simple test, and all of the other tests are still passing (on my machine, fingers crossed on Travis!). Please let me know what you think!

from circuits_uart.

tomboland avatar tomboland commented on May 28, 2024

And actually, I can talk to my DSP now! It works! :)

from circuits_uart.

fhunleth avatar fhunleth commented on May 28, 2024

Fixed in f17ca76.

from circuits_uart.

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.