HelTecAutomation / ESP32_LoRaWAN

Transplanted from Semtech LoRaWAN(https://github.com/Lora-net/LoRaMac-node) protocol to "ESP32 + Arduino" platform. Use RTC, support deep sleep, only working with ESP32 + LoRa boards made by HelTec Automation(TM). Need a unique license to use it.
342 stars 108 forks source link

Join procedure looping-OTAA #26

Open Ajaynithish opened 4 years ago

Ajaynithish commented 4 years ago

@Heltec-Aaron-Lee . I am using the OTAA example- Heltec mini gateway- Heltec wireless shell as node. The join request sent by node is accepted in the server(both things network and Chirp stack). Problem is it is the only thing repeating again and again(join request and accept). The join accept message is not reaching the node. Thanks Ajay

Heltec-Aaron-Lee commented 4 years ago

Which frequency did you use? How many nodes do you have? Can you try with another one?

Ajaynithish commented 4 years ago

Actually I am sending at every three default frequencies used in India. Only one node. @Heltec-Aaron-Lee

Heltec-Aaron-Lee commented 4 years ago

Uhh, I think I know the reason, India uses AS923, but the ESP32_LoRaWAN code still don't have that frequency support.

I will add AS923 and AU915 within the next two days.

Ajaynithish commented 4 years ago

India have IN865. I have altered the EU868 part of code for Indian specifications and the join request are sent at 865 frequency, but still no data uplink and Thanks for the quick replay . One thing I noticed is that the first Rx window is not even open a millisecond (the timeout interrupt is issued) does it exist or am I imagining? @Heltec-Aaron-Lee @gibus27
Screenshot from 2019-12-19 16-23-58

onexecute commented 4 years ago

Make sure gateway is centered on the same frequencies as the thing (end device).

Heltec-Aaron-Lee commented 4 years ago

I did a big update in the last few days, please try the newest update.