Senet / LoRaWAN-lib

Fork of LoRaWAN-lib by canuck lehead

Branch:
class_b
Revision:
40:f7ce84dc9363
Parent:
38:182ba91524e4
Child:
48:81c0f4c4dd2c
--- a/LoRaMacClassB.h	Tue Aug 15 17:09:12 2017 -0400
+++ b/LoRaMacClassB.h	Tue Aug 15 17:10:25 2017 -0400
@@ -297,6 +297,20 @@
      * Delay for next beacon in ms
      */
     TimerTime_t BeaconTimingDelay;
+
+    struct sBeaconRxError
+    {
+    	uint16_t    count;
+    	uint16_t    crc0;
+    	uint16_t    calcCrc0;
+    	uint16_t    crc1;
+    	uint16_t    calcCrc1;
+    	uint8_t     len;
+    	uint8_t     payload[32];
+
+    	sBeaconRxError() : count(0), crc0(0), crc1(0), len(0) {}
+    } BeaconRxError;
+
 }BeaconContext_t;
 
 /*!
@@ -443,6 +457,8 @@
  */
 bool LoRaMacClassBIsAcquisitionTimerSet( void );
 
+TimerTime_t LoRaMacClassBGetBeaconEventTime( void );
+
 /*!
  * \brief Verifies if the beacon mode active bit is set
  *