Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: LoRaWAN_actility LoRaWAN_MBED LoRaWANSharedTest
Revision 18:71a47bb03fbb, committed 2015-08-12
- Comitter:
 - GregCr
 - Date:
 - Wed Aug 12 14:34:03 2015 +0000
 - Parent:
 - 17:99c6e44c1672
 - Commit message:
 - Change SX1276 function GetState() into GetStatus()
 
Changed in this revision
--- 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
    
            SX1276MB1xAS