Code Monkey home page Code Monkey logo

Comments (3)

lnlp avatar lnlp commented on July 18, 2024

Thanks.

Saving and restoring session keys is currently not supported / not included in LMIC-node.
The goal of LMIC-node is to serve as a basic example that works out of the box cross-platform.
Persisting state in non-volatile storage to survive power cycles, reboots or deep sleep is not supported by LMIC-node because this is microcontroller platform and hardware dependent and the LMIC library does currently not provide any generic support (functions/hooks for storing and restoring LMIC state) to help implement this.

My current issue is that my device can't hear for join messages after booting. I'll have to move the device outside first and then move it to its normal position to start transmitting messages.

Looks like you have an RF connection issue to solve here as the device shall be able to both transmit and receive.
If you are unable to receive downlink messages, this does not only impact join accepts but also means that your device cannot receive essential MAC commands from the network server. For LoRaWAN, even for ABP the device still needs to be able to receive downlink messages. ABP is not a synonym for 'transmit-only' (although with TTN V2 many devices were implemented as such (transmit-only)).

Maybe the following fork of LMIC-node, for an ESP32 device used with Helium can provide you some help: LMIC-node_Sensor-for-Helium-Network

from lmic-node.

giannoug avatar giannoug commented on July 18, 2024

Looks like you have an RF connection issue to solve here as the device shall be able to both transmit and receive.
If you are unable to receive downlink messages, this does not only impact join accepts but also means that your device cannot receive essential MAC commands from the network server. For LoRaWAN, even for ABP the device still needs to be able to receive downlink messages. ABP is not a synonym for 'transmit-only' (although with TTN V2 many devices were implemented as such (transmit-only)).

Thanks for the clarification. I'm able to receive downlink messages but not in the place I'd like to install the device. Maybe I'll need to fix that issue with a better antenna(?) first and then look into saving and restoring session keys.

Maybe the following fork of LMIC-node, for an ESP32 device used with Helium can provide you some help: LMIC-node_Sensor-for-Helium-Network

I'll surely have a look for ideas 👀 Thanks!

from lmic-node.

lnlp avatar lnlp commented on July 18, 2024

Maybe I'll need to fix that issue with a better antenna(?) first

I would try to fix that issue first. A different antenna could possibly help. You may search the TTN forum for antenna (related) advice. Success.

from lmic-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.