Big ESP32 + SX127x topic part 3

Please properly format code and logs in your posts, see: How do I format my forum post? [HowTo]

To print RSSI and SNR for acknowledgements (ACK) independent from if data was received or not, do the following:

In the original code, from the if (LMIC.dataLen) { ... } code block remove:

u8x8.setCursor(0, 1);
u8x8.printf(“RSSI %d SNR %.1d”, LMIC.rssi, LMIC.snr);

And place it in a separate if statement after (not within) that code block as follows:

if (LMIC.dataLen) {
...
}
if ((LMIC.txrxFlags & TXRX_ACK) || LMIC.dataLen) {
    u8x8.setCursor(0, 1);
    u8x8.printf(“RSSI %d SNR %.1d”, LMIC.rssi, LMIC.snr);
}