 
     rxDeviceState.rssi = getRadioRssi();
     rxDeviceState.snr = getRadioSnr();
+#endif
 }
}
#endif

void loop(void)
{
#ifdef DEVICE_MODE_TX
    if (LoRa.available()) {
        qspDecodeIncomingFrame(&qsp, LoRa.read(), ppm, &rxDeviceState);
    }
#endif


    if (packetSize == 0)
        return;

#ifdef DEVICE_MODE_TX
    readPacket = true;
#endif

#ifdef DEVICE_MODE_RX
    while (LoRa.available())
    {
        qspDecodeIncomingFrame(&qsp, LoRa.read(), ppm, &rxDeviceState);
