diff --git a/src/LoRa.cpp b/src/LoRa.cpp index 6979823..0fa822b 100644 --- a/src/LoRa.cpp +++ b/src/LoRa.cpp @@ -1,3 +1,6 @@ +// Copyright (c) Sandeep Mistry. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + #include // registers @@ -154,6 +157,9 @@ int LoRaClass::parsePacket(int size) int packetLength = 0; int irqFlags = readRegister(REG_IRQ_FLAGS); +Serial.print("irqFlags "); +Serial.println(irqFlags, HEX); + if (size > 0) { implicitHeaderMode(); diff --git a/src/LoRa.h b/src/LoRa.h index b0c41fc..7616ebd 100644 --- a/src/LoRa.h +++ b/src/LoRa.h @@ -1,3 +1,6 @@ +// Copyright (c) Sandeep Mistry. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + #ifndef LORA_H #define LORA_H