Aidan Wynn / libmDot-mbed5

Dependents:   Cloudtracker

Revision:
72:b1e07ec1c30d
Parent:
70:0c5b5b02d17b
diff -r ae3afc16ec3e -r b1e07ec1c30d SxRadioEvents.h
--- a/SxRadioEvents.h	Fri Nov 08 09:34:58 2019 -0600
+++ b/SxRadioEvents.h	Mon Feb 17 14:43:04 2020 -0600
@@ -33,6 +33,7 @@
      * \brief  Tx Timeout callback prototype.
      */
     virtual void TxTimeout( void ) {}
+
     /*!
      * \brief Rx Done callback prototype.
      *
@@ -44,6 +45,17 @@
      *                     LoRa: SNR value is two's complement in 1/4 dB
      */
     virtual void RxDone( uint8_t *payload, uint16_t size, int16_t rssi, int16_t snr ) {}
+
+    /*!
+     * \brief Called if Beacon Window cannot be opened or is missed
+     *
+     * \param [IN] beaconTime  Updated time of beacon for the period
+     * \param [IN] no_rx       True if called from rx done
+     */
+    virtual void OnBeaconless( uint32_t beaconTime, bool no_rx = false ) {}
+
+
+
     /*!
      * \brief  Rx Timeout callback prototype.
      */