Everything works as expected when I am using this https://github.com/jpmeijers/RN2483-Arduino-Library library. I was successful in sending my data to the Gateway. But I need to change my frequency from 868 to 865 to 867 (Indian standard)
The same hardware works for jpmeijers’s code so I take that I am good with connections. I have also included a software serial and made sure baud rates are fine. When I run the code it says “–PERSONALIZE” and then after some time it says No response from RN Module
What could be the reason? I am ready to provide any more details if required.
[Update] I got it working for the European Frequencies
After comparing both the codes and libraries I notice that jpmeijers’s example code used Arduino D12 pin to reset the RN module but nothing like that was found in the TheThingsNetwork library so I added the below code
right after initializing the setup() and before the serial begin lines.
This made the program work and I was able to get the output on the device page. But I tried the same for Indian frequency by changing TTN_FP_EU868 to TTN_FP_IN865_867 and then things dint work.
However, the serial monitor shows everything to be working fine
So I believe this has something to do with my gateway (Liard RG186). So Maybe I should start a separate thread for that