I dont get any data so its not a confirmation problem. At first i throat that it was something in my costume arduino code, but i have just run a test in the lorawan otaa example and it gives the same result. I have checked the incoming data in my gateway and have come to the conclusion that the node dont send a message. Are there anyone else there have run into this issue and have a solution?
What region do you use?
What datarate did you set?
Is ADR enabled?
How often did you set confirmed message retry number?
How far is the gateway from the node?
It is a RAK_LORAMAC_STATUS_RX2_TIMEOUT, which means it didn’t receive the expected ACK in neither of the two RX windows.
So either the packet was not sent or the LNS didn’t acknowledged the receive of the packet.
Can you try to switch off ADR and see if it anything changes.
I have made some discoveries of my own, after way too many hours unfortunately. After working with it I started to knowtes that the rssi was getting worse and worse and then after 120 transmissions stopped getting picked up by the gateway. I then tried to send AT+TXP=0 to the board and then the gateway startet picking it up again. Now i have implemented it in my software so the sensor is setting the txp awry time a send is happening. Please let me know you thoughts.
The TX power on the node could be influenced by ADR which changes TX power and datarate.
ADR is enabled by default, you might try to disable it through the API call api.lorawan.adr.set(false); on the RAK11700.