Giter Site home page Giter Site logo

Join timeout about lora_device_lib HOT 2 CLOSED

cjhdev avatar cjhdev commented on July 18, 2024
Join timeout

from lora_device_lib.

Comments (2)

cjhdev avatar cjhdev commented on July 18, 2024

Hi

Single channel gateways are a problem for many reasons. I am surprised you are able to get a join request to the server.

Setting LDL_System_eps() is usually enough to ensure you will hit the RX window. LDL_System_advance() simply opens the window n ticks earlier than it otherwise would.

Events LDL_MAC_RX1_SLOT and LDL_MAC_RX2_SLOT will indicate a missed window if rx_slot.error > rx_slot.margin.

Other potential problems:

  1. TTN might not be delivering the downlink at the right time
  2. If you are using SF12, it doesn't work reliably unless you have a temperature compensated oscillator (This is why LDL_DEFAULT_RATE defaults to 1)
  3. The radios might be too close together (I'm usually a couple of metres away from my gateway)

EDIT:

And I assume you are using the latest code :-)

from lora_device_lib.

cjhdev avatar cjhdev commented on July 18, 2024

I'm closing this issue because I've not been able to reproduce the issue.

The error compensation method has been updated recently to make it easier to apply "fudge factor" to try to get around window timing problems. I've written a section in porting.md about it.

from lora_device_lib.

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.