Closed fanzypantz closed 2 years ago
I have same issue, but i try to join OTAA in Helium network, i can monitor traffic with HackRF and see, that in Helium gateways always responding (Join Accept) in same frequency, but in Helium console i see that should respond in same frequency channel like was requested to join. My code is similar, STM32F103, EU868, LoRa1276F30 G-NiceRF
Actually everything working for my, just look like downlink join accept message should be strong enough to receive with my devise. I should drive more close to city to successfully receive join accept message.
I had a similar issue, and it took many attempts to join. I have now solved the problem and connect in one join request. I changed the Data rate to SF8BW125 and used the new wakeUp() method. The wakeUp method is not released in a version yet, so you need to download manually.
Am am using the following parameters
lora.setDeviceClass(CLASS_A); lora.setDataRate(SF8BW125); lora.setChannel(MULTI); lora.wakeUp();
Make sure you have pins DIO0 and DIO1 connected too.
Also add some code to show the channel.
` Serial.println("Waking up LoRa chip ");
lora.wakeUp(); bool isJoined; do { Serial.print("Joining...on channel: "); Serial.println(lora.getChannel()); isJoined = lora.join(); delay(10000); } while(!isJoined); Serial.print("Joined to network: "); Serial.println(lora.getChannel());`
I hope this helps others as this has taken me a long time to track down.
This post helped me too for changing the Data Rate. https://github.com/BeelanMX/Beelan-LoRaWAN/issues/106#issuecomment-1014427902
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I had a similar issue, and it took many attempts to join. I have now solved the problem and connect in one join request. I changed the Data rate to SF8BW125 and used the new wakeUp() method. The wakeUp method is not released in a version yet, so you need to download manually.
Am am using the following parameters #define EU_868 lora.setDeviceClass(CLASS_A); lora.setDataRate(SF8BW125); lora.setChannel(MULTI); lora.wakeUp();
Make sure you have pins DIO0 and DIO1 connected too.
Also add some code to show the channel.
` Serial.println("Waking up LoRa chip ");
lora.wakeUp(); bool isJoined; do { Serial.print("Joining...on channel: "); Serial.println(lora.getChannel()); isJoined = lora.join(); delay(10000); } while(!isJoined); Serial.print("Joined to network: "); Serial.println(lora.getChannel());`
I hope this helps others as this has taken me a long time to track down.
This post helped me too for changing the Data Rate. #106 (comment)
where can I download the wake up method?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm not sure why but sometimes the system won't accept the join message even though the TTN network is getting the OTAA join messages and sending the join-accept message. It can take 5-15min before it accepts the message. I'm on the european frequency. What could be the cause for this issue?