diff --git a/include/esp32-lora.h b/include/esp32-lora.h index 3bba6b1..59a9d42 100644 --- a/include/esp32-lora.h +++ b/include/esp32-lora.h @@ -49,9 +49,14 @@ #define PA_BOOST 0x80 // IRQ masks -#define IRQ_TX_DONE_MASK 0x08 -#define IRQ_PAYLOAD_CRC_ERROR_MASK 0x20 -#define IRQ_RX_DONE_MASK 0x40 +#define IRQ_RX_TIMEOUT 0x80 +#define IRQ_RX_DONE 0x40 +#define IRQ_PAYLOAD_CRC_ERROR 0x20 +#define IRQ_VALID_HEADER 0x10 +#define IRQ_TX_DONE 0x08 +#define IRQ_CAD_DONE 0x04 +#define IRQ_FHSS_CHANGE 0x02 +#define IRQ_CAD_DETECTED 0x01 #define MAX_PKT_LENGTH 255