Replies: 6 comments 10 replies
-
Hi @vallentb, I cannot confirm as I don't use Helium. So you'll need to provide information for us to work with. A few points to help you along:
|
Beta Was this translation helpful? Give feedback.
-
Dear Steven, According to Helium network documentation: The Helium Network supports any LoRaWAN capable device meeting the v1.0.2, v1.0.3, or v1.0.4 specification. I use Heltec Wireless tracker in my test: As I wrote if I fully erase the board with ESP tools, set up new device in Helium console (Device EUI, App EUI, App Key, only OTAA activation available on Helium network), the first join session wurks, I see valid uplinks, acknowledge from Helium. But if I restart the board, never had join accept, I can not see Join request in the console. The debug output ending with failed, code -6. According to your examples you clearly state that "REQUIRES you to check "Resets DevNonces" on your LoRaWAN dashboard.", but this is not possible on the Helium console, just TTN provide this option Console->end devices (general setting, reset join nonces). `#include <RadioLib.h> void setup() { uint64_t joinEUI = 0x0000000000000000; // app eui node.wipe(); Serial.print(F("[LoRaWAN] Attempting over-the-air activation ... ")); if (state == RADIOLIB_ERR_NONE) { /*
*/ // set a fixed datarate // enable CSMA // enable or disable the dutycycle // enable or disable the dwell time limits void loop() { // set battery fill level - the LoRaWAN network server // retrieve the last uplink frame counter Serial.print(F("[LoRaWAN] Sending uplink packet ... ")); // send a confirmed uplink to port 10 every 64th frame // after uplink, you can call downlink(), // you can also retrieve additional information about
} else if (state == RADIOLIB_ERR_RX_TIMEOUT) { } else { // on EEPROM enabled boards, you can save the current session
// wait before sending another packet delay(delayMs); Thank your support in advance! |
Beta Was this translation helpful? Give feedback.
-
"According to your examples you clearly state that "REQUIRES you to check "Resets DevNonces" on your LoRaWAN dashboard.", but this is not possible on the Helium console, just TTN provide this option Console->end devices (general setting, reset join nonces)." Well, combining this statement with "v1.0.2, v1.0.3, or v1.0.4" pretty much says enough - Helium is getting outdated and cannot be used on newer implementations (specifically, RadioLib). One point worth mentioning that could help you slightly: RadioLib does implement session persistence which only works if you do not call |
Beta Was this translation helpful? Give feedback.
-
From the first post it appears likely that this is a DevNonce issue - first join will work OK but further dev work resulting in loss of session or the need to wipe the session resets it which the LNS remembers. So the "Resets DevNonces" is for the purposes of convenience during development and shouldn't be used for production devices. I'd be surprised if this option wasn't available somewhere in the Helium LNS but I've rather lost track with the whole host your own console thing. At worst you can persist the DevNonce only or use ABP. But fundamentally, this library is for LW v1.1.0 so YMMV with the closest match of v1.0.4 |
Beta Was this translation helpful? Give feedback.
-
This is an old thread but I just wanted to follow-up that I'm using Helium with the public'ly available Meteo Scientific LNS, which is really ChirpStack and there's a DevNonce reset button on the device's OTAA tab. So I'm not having any issues when the device restarts with DevNonce==0 due to whatever. |
Beta Was this translation helpful? Give feedback.
-
A full implementation of RadioLib with join persistence does not need this - this issue is only relevant to the development cycle if your storage is completely erased when you flash the device. |
Beta Was this translation helpful? Give feedback.
-
Hi guys, I played with Radiolib on Helium network, but seems there is an issue with it. On first boot it works, but rejoiun not possible. Could you check and confirm? MTX in advance
Beta Was this translation helpful? Give feedback.
All reactions