Problem joining helium LoRaWAN network #900
Replies: 2 comments 8 replies
-
What region are you using? Can you post your LMIC config file? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Yes, that's the file. But you already gave me the answer: EU868. Gateways are bandwidth limited by regulations in EU868. You very quickly run out of bandwidth if doing Join testing; and typically the gateway just drops the join accept message in that case. (Unless you have lots of coverage -- several gateways in range of the device, in which case, the network might be able to use other gateways.) It's likely that what you're seeing is expected. To be sure, we'd need to hook up a board to a network simulator (that doesn't have that limitation) and see if we get good downlink reception. I have a Heltec board, and the network simulator, but time... is a problem. My colleagues at MCCI also have access to a simulator, but they don't have ESP32 boards with LoRa. However, please post your test app (as a zip file) and perhaps we can arrange something. I've been meaning to add an ESP32 to my test matrix, because they're so widely used. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone. First of all I wanna thank to all contributors of this library it is great to see LoRaWAN capabilities in action while this lib makes things easier.
I am making a POC to send data over helium network and I am using 2 different boards
heltec_wifi_lora_32_V2
andttgo-lora32-v21
. I am able to join (sometimes) to the network, send uplink and receive downlink messages which is fascinating considering the distance that sometime I am from the hotspot that I am connected.However I am having issues when joining a network. Sometimes it works, sometimes a couple of join requests fail and after some attempts it succeeds. But sometimes I wait hours and even with lots of hotspots in less than 1km range it seems that I am not to join. This happens on both boards and it does not seem to be an hardware issue.
What is more weird is that when I look into helium console I see Join Request followed by a Join accept for all join tries, but my device doesn't seem to receive the Join Accept message which from what I understand is a downlink message.
Since Helium network only supports Class A devices and the downlink window (Join accept) is after the uplink request (Join Request) it seems to be a time synchronization sensitive transaction and I believe that might be a cause of the problem.
The code that I have is based in some examples found online.
But basically the connect code is this one
I am using this pins config for
ttgo-lora32-v21
And I have created the
void onEvent(ev_t ev)
function that receives the eventEV_JOINING
followed byEV_JOIN_TXCOMPLETE
.If someone can give me a clue of what is going on it would be awesome.
Thanks again,
Ricardo Neves
Beta Was this translation helpful? Give feedback.
All reactions