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:
111:c47d5224a2d1
Parent:
109:528f37db941f
Child:
117:5b5ad247cc3b
--- a/sx1276/sx1276-mbed-hal.h	Fri May 18 16:40:16 2018 +0200
+++ b/sx1276/sx1276-mbed-hal.h	Sun Jun 03 15:07:53 2018 +0200
@@ -46,6 +46,7 @@
     /*!
      * Antenna switch GPIO pins objects
      */
+    DigitalOut *_antSwitchPwr;
     DigitalOut *_antSwitch;
     DigitalOut *_antSwitchTX;
     DigitalOut *_antSwitchTXBoost;
@@ -89,7 +90,9 @@
      * triggers definition
      */
     typedef void (SX1276Generic::*Trigger)(void);
-
+    static const int PWR_OFF = 1;
+    static const int PWR_ON = 0;
+    
 
 public:
     SX1276Generic( RadioEvents_t *events, BoardType_t board,