Git Product home page Git Product logo

Comments (2)

kentindell avatar kentindell commented on August 11, 2024

If you are using the transport layer on top of the basic MIN layer then there will be automatic timeout and re-send, yes. So for the transport layer, a host needs to be connected to ACK the MCU's frames.

The transport layer runs on top of the basic framing, and is designed for MCUs with more RAM for buffering. It's a very simple protocol, with a sliding window and ACKs to move the window. But it's a connected system: there is another end to it. There's no API to construct the ACK frame: it's part of the protocol at each end. If you want to test it, I suggest getting the Python code running and then adding debug output directly from the serial driver that you can put into your monitor to see what's happening on the way.

The basic framing layer will drop frames on a noisy line: it's like Ethernet or LIN in this respect and not like CAN. This is why the transport layer was created (many applications do not need this, of course, since an application using repeated sensor data means that another value will arrive soon anyway).

from min.

subodh-malgonde avatar subodh-malgonde commented on August 11, 2024

Thank you. That answers all my questions. Thank you again for making this library which is very useful and simple to use & understand.

from min.

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.