Giter Site home page Giter Site logo

ADR command about loramac-node HOT 2 CLOSED

lora-net avatar lora-net commented on August 25, 2024
ADR command

from loramac-node.

Comments (2)

mluis1 avatar mluis1 commented on August 25, 2024

The LINK_ADR_REQ MAC command is used to change the channel mask. The implementation is correct as is.

Please note the upper case and lower case letters in the variables names.
channelsMask[0] = chMask;
ChannelsMask[0] = channelsMask[0];

The coding convention in use on this project are that global variables start by a upper case letter while local variables start by a lower case letter.

from loramac-node.

coljander avatar coljander commented on August 25, 2024

Hi

Thanks.

I see my mistake. I’ll check what is coming back from the gateway as at the end of that routine my ChannelMask[0] is only set to 15 so I’m only able to use 4 of the available channels.

Colin

From: Miguel Luis [mailto:[email protected]]
Sent: 15 March 2016 09:56
To: Lora-net/LoRaMac-node
Cc: Colin Anderson
Subject: Re: [LoRaMac-node] ADR command (#55)

The LINK_ADR_REQ MAC command is used to change the channel mask. The implementation is correct as is.

Please note the upper case and lower case letters in the variables names.
channelsMask[0] = chMask;
ChannelsMask[0] = channelsMask[0];

The coding convention in use on this project are that global variables start by a upper case letter while local variables start by a lower case letter.


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#55 (comment)

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.