Driver for the SX1276 RF Transceiver(Updated to work with nucleo, tested with L073RZ)

Fork of SX1276Lib by Semtech

Files at this revision

API Documentation at this revision

Comitter:
GregCr
Date:
Wed Aug 12 14:34:03 2015 +0000
Parent:
18:99c6e44c1672
Child:
20:e05596ba4166
Commit message:
Change SX1276 function GetState() into GetStatus()

Changed in this revision

radio/radio.h Show annotated file Show diff for this revision Revisions of this file
sx1276/sx1276.cpp Show annotated file Show diff for this revision Revisions of this file
sx1276/sx1276.h Show annotated file Show diff for this revision Revisions of this file
--- a/radio/radio.h	Fri Jul 10 14:24:45 2015 +0000
+++ b/radio/radio.h	Wed Aug 12 14:34:03 2015 +0000
@@ -101,7 +101,7 @@
      *
      * @param status Radio status.[RF_IDLE, RF_RX_RUNNING, RF_TX_RUNNING]
      */
-    virtual RadioState GetState( void ) = 0; 
+    virtual RadioState GetStatus( void ) = 0; 
 
     /*!
      * \brief Configures the radio with the given modem
--- a/sx1276/sx1276.cpp	Fri Jul 10 14:24:45 2015 +0000
+++ b/sx1276/sx1276.cpp	Wed Aug 12 14:34:03 2015 +0000
@@ -109,7 +109,7 @@
     SetChannel( initialFreq );
 }
 
-RadioState SX1276::GetState( void )
+RadioState SX1276::GetStatus( void )
 {
     return this->settings.State;
 }
--- a/sx1276/sx1276.h	Fri Jul 10 14:24:45 2015 +0000
+++ b/sx1276/sx1276.h	Wed Aug 12 14:34:03 2015 +0000
@@ -126,7 +126,7 @@
      *
      * @param status Radio status. [IDLE, RX_RUNNING, TX_RUNNING]
      */
-    virtual RadioState GetState( void ); 
+    virtual RadioState GetStatus( void ); 
     
     /*!
      * @brief Configures the SX1276 with the given modem