Hi Renzo
Thanks for this fantastic library!
I started using the LoRa E220 library.
The first test I did was to send sequential numbers every 2 seconds between a sender -> receiver.
I identified that from 1 to 9, there were packet losses (ex: the receiver did not receive the numbers 3, 5, 7) and after 10, the receiver could only read the first number (Ex: When sending 23, only 2 .If you send 115, it only reaches the receiver 11).
When analyzing the library code, I saw this code snippet
byte size = message.length(); // sizeof(message.c_str())+1;
(
line 829 of the ResponseStatus function LoRa_E220::sendMessage(const String message)
).
By changing the code to
byte size = message.length() + 1;
, there is no more data loss(!!!), and the bug that lost the final number has been fixed (!!!).
However, a new bug appeared. The receiver no longer receives the RSSI value.
code: