- Questo topic ha 3 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 2 anni, 3 mesi fa da .
- 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
ABB Aggiornamenti stampante 3D Arduino Arduino SAMD boards Aurora AWS CNC Cyclone PCB Factory Cyclone PCB Factory come costruirlo Display Dispositivi memorizzazione E32 E70 EByte esp32 esp8266 File System Firmware Fresare PCB Guida i2c IDE Arduino I miei PCB Interconnessioni di rete Libreria Libreria LoRa MicroPython PCB piedinatura Raspberry Pi it REST API RF Risparmio energetico rp2040 Scheda SD Sensori Sospensione e sveglia SPI Stampante 3D STM32 Temperatura Web Server Wemos D1 mini WiFi