Open IoTThinks opened 3 years ago
Nice find! However, how do we implement this in the current LoRa.cpp? Can we add another condition on line 237?
if ((irqFlags & IRQ_RX_DONE_MASK) && (irqFlags & IRQ_PAYLOAD_CRC_ERROR_MASK) == 0) {
// received a packet
I realized even I enableCrc(), visibble corrupted packets are still received. Possible reason is due to corrupted header.
Ref: https://github.com/jgromes/RadioLib/pull/111#issuecomment-725713815 https://github.com/jgromes/RadioLib/issues/200