- Questo topic ha 3 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 2 anni, 9 mesi fa da .
Visualizzazione 2 filoni di risposte
Visualizzazione 2 filoni di risposte
- Devi essere connesso per rispondere a questo topic.
Home › Forum › Le librerie ospitate nel sito › EBYTE E220 dispositivi LoRa UART LLCC68 › Problems with RSSI
Hi renzo,
I noticed that if I have several nodes that answer me at the same time, the messages are lined up in the HardwareSerial buffer and this is wonderful.
But there is a problem with every message a strange character is added at the beginning and in my opinion it is derived from the RSSI.
Is it possible to put a “new line” and read the messages well?
8:D:66:240:100:100:100:14:20:12
�9:D:68:236:100:100:100:14:20:12
�10:D:67:249:100:100:100:14:20:12
�11:D:68:247:100:100:100:14:20:12
␀12:D:64:247:100:100:100:14:20:12
�13:D:68:249:100:100:100:14:20:12
Hi Fabioo,
check if you have enabled the RSSI in your configuration.
You can add a termination character in the sendMessage and use receiveMessageUntil to read single message.
Bye Renzo
But by using the receiveMessageUntil I still have RSSI?
Hi Fabioo,
yes, but you must remove the last byte manually.
if (rssiEnabled){
rssi = originalMessage.charAt(tmpData.length()-1);
message = originalMessage.substring(0, tmpData.length()-1);
}else{
message = originalMessage;
}
Bye Renzo
More