Issue: Larger packets return error 101 which Payload size is not valid for the current data rate (DR). However, I am in US915 with DR set to 3. My payload is
This is 52 bytes, or 104 once converted into an character array of hex.
Setup: Using the LorawanOTAAJoin code, I added my sensor data and encoding to a buffer. I then send the buffer. The transceiver will respond with at+recv=0,-25,6,0 since I have confirmed messages turned on. The 2nd message sent will respond with ERROR: 101. It will continue to send one, fail to send the next, send the next one, and so on.
Details: I have verified that my buffer was the same size every time, and that that was not the cause of my overflow. if I restart the module in my Loop, then the transciever will send every time. However, I then need to perform a new join everytime and this is not an elegant solution.
From what I can tell, the Rak811 (Wisnode V1.1) is not clearing its transmit buffer properly and might be tacking on the second message to the first. I tried sending a 6 byte message after the 102 byte message and it was successful.