Open QuiteFranklyy opened 3 years ago
I haven't tried OTAA with this library. And I would like to know if anyone is able to do OTAA with this library too.
However, I believe OTAA needs minimum of two frequencies (AS923) or even three frequencies (EU433...) or even more for US915.
May be the LoRaWAN receives the join-request from frequency OTAA 1 from node and sends back the Join-accept to gateway to node via OTAA 2. So the Join-accept message will be missed.
May be you can check if the server sends back in another frequency (OTAA 2)?
I am having an issue with registering devices using OTAA. On the server I see the join request being processed and accepted, as seen here. It also sends the downlink back to the gateway. The gateway appears to be forwarding the downlink message on to the device as well, as seen below:
However the device itself is not receiving the join accept message. Once it receives a join accept message, it starts sending data. However it just continually sends join requests, indicating it is not receiving the join accept message.
I have tried adjusting the frequency and spreading factor, the defaults did not work (916.8 MHz and SF9) and the above configuration (923.3 MHz and SF10) also did not work.
I am wondering if it is a timing issue regarding the join request window, I have modified the RX1 delay to be 5000 milliseconds, but this did not fix the issue.
I am aware of ABP however it is not feasible for this project.
If anyone has managed to get OTAA working I would be very interested in knowing how.
Cheers.