I am using Arduino pro mini and RA-01H containing SX1276 to develop a node device. I am using Arduino IDE; the library is MCCI Arduino LoRAWAN library(latest version). I successfully connected the node with the TTN. But without a join request & acceptance, I could not receive any payload through TTN. I am badly in need of obtaining a payload.
my payload is simple "Hello World"
I am using OTAA from the example.
my TX interval is 238 s
My Pin configuration that follows the code is given below:
;
On the serial monitor I see it stuck in "EV_TXCOMPLETE (includes waiting for RX windows)".
On the TTN side, the LORAWAN setting parameters for the node are given below
Frequency plan > ASIA 920-923 Mhz
Lorawan version >LoraWan Specification 1.0.2
Regional Parameters Version > RP001 Regional Parameters 1.0.2 revision B
Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advice on) your project See About the Installation & Troubleshooting category.
looks as though you are transmitting the join request (DevEUI, AppEUI, AppKey, etc) and TTN is accepting your join request but I assume the Arduino never receives it
in the Overview I see LoRaWAN version is LoRaWAN Specification 1.0.2 which I use
does the LiveData show any more information?
how far are you from the LoraWAN gateway?
you appear to be using the mcci-catena lorawan libraray
which example did you use from this libraray - upload the code using code tags </> ?
I am using the MCCI_LoRaWAN_LMIC_library by IBM and ran using a Adafruit Feather 32u4 the Example>MCCI_LoRaWAN_LMIC_library>ttn-otaa-feather-us915
I updated the APPEUI etc and changed the code for a frequency of 868MHz
joined the TTN OK and the serial Monitor displayed
it uplinked OK and did a downlink of 3 bytes of data
I then installed the latest version of the MCCI_LoRaWAN_LMIC_library by IBM and the code to setup the frequency to 868Mhz will no longer compile
clearly some functionality in the library has changed - still investigating
@horace I also faced the issue of not being compiled. what I did was I saved my code & exited from Arduino IDE totally. Again clicked Arduino IDE to run then I uploaded it.
Ok, I solved the issue of not receiving the payload. The important thing I was missing is the Spreading factor. I entered lorabase.h & changed the code where SF is defined seems the code is running & sending Payload to TTN. the code is below in lorabash.h.
Please see the comments. In the comment, I mentioned previously embedded SF. I changed all of them to SF12. @mrtopu34 helped me to find out SF issue. Now payload is being transmitted in regular intervals.
Now I have fallen into a new problem where after several transmissions, a new error found in the Serial monitor says " OP_TXRXPEND, not sending". Any solution?