SX1276GenericLib to support sx1276 bassed LoRa modules, including HopeRF RFM95, Murata CMWX1ZZABZ and Semtech SX1276MB1MAS/SX1276MB1LAS modules

Dependents:   DISCO-L072CZ-LRWAN1_LoRa_PingPong DISCO-L072CZ-LRWAN1_LoRa_PingPong DISCO-L072CZ-LRWAN1_LoRa_PingPong DISCO-L072CZ-LRWAN1_LoRa_USB_Rx ... more

Fork of SX1276Lib by Semtech

Revision:
54:0d8ea87fbab9
Parent:
53:6d3adad59633
Child:
55:00c1f5b83920
--- a/sx1276/sx1276.h	Thu May 18 18:34:54 2017 +0200
+++ b/sx1276/sx1276.h	Fri May 19 11:50:12 2017 +0200
@@ -194,11 +194,11 @@
     //                        Redefined Radio functions
     //-------------------------------------------------------------------------
     /*!
-     * @brief Initializes the radio
+     * @brief Return current radio status, returns true if a radios has been found.
      *
      * @param [IN] events Structure containing the driver callback functions
      */
-    virtual void Init( RadioEvents_t *events );
+    virtual bool Init( RadioEvents_t *events );
 
     /*!
      *  @brief Initializes the radio registers
@@ -380,6 +380,12 @@
      *                     [0: continuous, others timeout]
      */
     virtual void Rx( uint32_t timeout );
+    
+    /*!
+     * @brief Check is radio receives a signal
+     */
+    virtual bool RxSignalPending();
+
 
     /*!
      * @brief Sets the radio in transmission mode for the given time