Dear all,
I am working on a project for the development of a weather station based on arduino and LoRa by using the LMIC library.
I had a strange issue when the size of the packet to send is higher than 52 bytes.
Example of code that properly work:
byte packet[52]; LMIC_setTxData2(1, packet, sizeof(packet), 0);
Example of code that does not work:
byte packet[53]; LMIC_setTxData2(1, packet, sizeof(packet), 0);
When the packet size exceeds the 52 bytes, the compiled code was also affected by another strange issue. In fact, its size was about the half of the compiled sketch that properly work.
How is it possible? Is there a limit in the packet size that the LMIC library can handle?
Thank you in advance for your help.
Best Regards