Giter Site home page Giter Site logo

MAC state about loramac-node HOT 1 CLOSED

lora-net avatar lora-net commented on July 23, 2024
MAC state

from loramac-node.

Comments (1)

djaeckle avatar djaeckle commented on July 23, 2024

Hi FoujanetG,

yes, the LoRaMacStaterepresents the internal state of the MAC and not the state of the radio. Thus, I think you should not use your implementation to query radio states.

I excepted that the stack switch from MAC_TX_RUNNING to MAC_RX and so forth, until the acknowledge reception. And finally, the stack will be in MAC_RX --> due to the Class

But the reality is : the state is MAC_TX_RUNNING until the acknowledge reception (even if there is several TX due to the repetitions (confirmed send) ). when the acknowledge is incoming, the state is MAC_RX and after the state is MAC_IDLE.

Maybe the variable LoRaMacState is the stack state and not the radio state. But between a TX and a new TX, the stack should be in MAC_IDLE .

Yes, this is correct. Currently, the state MAC_TX_RUNNING defines, that a request is in progress. The MAC will stay in this state until the requests is fully processed. This also includes retransmissions or repetitions. When the MAC processes a request, the MAC shall reject other application requests.

Is it normal in Class C that the state stack can be MAC_IDLE?

Yes, this is true. However, I see your point.

I think that we will spend some time for a review of the LoRaMac states. But at the moment, I cannot say when we provide an update.

from loramac-node.

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.