Hardware Abstraction Layer, permitting any LoRa application to use any LoRa radio chip

Dependents:   alarm_slave alarm_master lora_p2p lorawan1v1 ... more

radio chip selection

Radio chip driver is not included, allowing choice of radio device.
If you're using SX1272 or SX1276, then import sx127x driver into your program.
if you're using SX1261 or SX1262, then import sx126x driver into your program.
if you're using SX1280, then import sx1280 driver into your program.
if you're using LR1110, then import LR1110 driver into your program.
If you're using NAmote72 or Murata discovery, then you must import only sx127x driver.
If you're using Type1SJ select target DISCO_L072CZ_LRWAN1 and import sx126x driver into your program.

Pin assigned to arduino LoRa radio shield form-factor

Revision:
7:ba81f66e56d1
Parent:
6:b7bbf31e06e4
Child:
9:97a6de3dbc86
--- a/radio.h	Tue Dec 04 15:22:54 2018 -0800
+++ b/radio.h	Wed Dec 05 15:04:48 2018 -0800
@@ -82,6 +82,7 @@
         static void Rx(unsigned timeout); // timeout 0 for continuous rx
         static void Standby(void);
         static bool CheckRfFrequency(unsigned hz);
+        static float GetRssiInst(void);
         static void Init(const RadioEvents_t*);
         static int Send(uint8_t size, timestamp_t maxListenTime, timestamp_t channelFreeTime, int rssiThresh);
         //static void PrintStatus(void);
@@ -115,6 +116,7 @@
         static DigitalIn chipType;
     #endif /* TARGET_FF_ARDUINO */
 #elif defined(SX128x_H)
+    #define SetFixedPayloadLength      SetRxMaxPayloadLength
         static SX128x radio;
 #else
         #error import radio driver library