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:
15:e1c04ec39aa4
Parent:
14:94993ae5b164
Parent:
13:a354f82d12d9
Child:
17:5f34cbe2ac53
diff -r 94993ae5b164 -r e1c04ec39aa4 radio.h
--- a/radio.h	Wed Sep 11 13:20:21 2019 -0700
+++ b/radio.h	Wed Sep 11 13:23:37 2019 -0700
@@ -83,7 +83,7 @@
         static void Standby(void);
         static bool CheckRfFrequency(unsigned hz);
         static float GetRssiInst(void);
-        static void Init(const RadioEvents_t*);
+        static void Init(const RadioEvents_t*, unsigned spiHz=1000000);
         static int Send(uint8_t size, timestamp_t maxListenTime, timestamp_t channelFreeTime, int rssiThresh);
         //static void PrintStatus(void);
         static void service(void);
@@ -95,7 +95,7 @@
 
         static void LoRaModemConfig(unsigned bwKHz, uint8_t sf, uint8_t cr);
         static void LoRaPacketConfig(unsigned preambleLen, bool fixLen, bool crcOn, bool invIQ);
-        static void SetLoRaSymbolTimeout(uint8_t symbs);
+        static void SetLoRaSymbolTimeout(uint16_t symbs);
 
         static void GFSKModemConfig(unsigned bps, unsigned bwKHz, unsigned fdev_hz);
         static void GFSKPacketConfig(unsigned preambleLen, bool fixLen, bool crcOn);
@@ -136,6 +136,7 @@
         static void dio1_top_half(void);
         static PacketParams_t pp;
         static bool paOff;
+        static uint8_t loraTimeoutSymbols;
 #endif /* SX126x_H */
 #ifdef SX128x_H 
         static void readChip(void);