1272 driver for lorawan, which is compatible with current mbed-os

Dependents:   LoRaWAN-demo-72-bootcamp

Fork of SX1272Lib by Semtech

Revision:
2:cd1093b6676f
Parent:
1:b0372ef620d0
Child:
4:90bd79f1b458
Child:
7:b988b60083a1
diff -r b0372ef620d0 -r cd1093b6676f sx1272/sx1272-hal.h
--- a/sx1272/sx1272-hal.h	Tue Jan 26 22:04:33 2016 +0000
+++ b/sx1272/sx1272-hal.h	Wed Feb 17 09:17:18 2016 +0000
@@ -44,7 +44,7 @@
 /*! 
  * Actual implementation of a SX1272 radio, includes some modifications to make it compatible with the MB1 LAS board
  */
-class SX1272MB1DxS : public SX1272
+class SX1272MB2xAS : public SX1272
 {
 protected:
     /*!
@@ -66,7 +66,7 @@
     static const RadioRegisters_t RadioRegsInit[];
     
 public:
-    SX1272MB1DxS( RadioEvents_t *events,
+    SX1272MB2xAS( RadioEvents_t *events,
             PinName mosi, PinName miso, PinName sclk, PinName nss, PinName reset,
             PinName dio0, PinName dio1, PinName dio2, PinName dio3, PinName dio4, PinName dio5,
 #if defined ( TARGET_MOTE_L152RC )
@@ -77,9 +77,9 @@
             PinName antSwitch ); 
 #endif
     
-    SX1272MB1DxS( RadioEvents_t *events );
+    SX1272MB2xAS( RadioEvents_t *events );
     
-    virtual ~SX1272MB1DxS( ) { };
+    virtual ~SX1272MB2xAS( ) { };
     
     protected:
     /*!