I made a fork of a generic library that was developed with support for RFM95 LoRa module that I found online. I Made a few changes and made it compatible with hardware limitations of the MAX32620FTHR and MAX32630FTHR module.

Dependents:   MAX326xxFTHR_LoRa_RFM95 MAX326xxFTHR_LoRa_PingPong MAX326xxFTHR_RFM95_LoRa_PingPong MAX326xxFTHR_LoRa_RFM95_PingPong_Example ... more

Fork of SX1276GenericLib by Helmut Tschemernjak

Revision:
12:aa5b3bf7fdf4
Parent:
7:2b555111463f
Child:
13:618826a997e2
--- a/radio/radio.h	Tue Sep 30 11:10:24 2014 +0000
+++ b/radio/radio.h	Mon Oct 13 07:33:11 2014 +0000
@@ -71,8 +71,10 @@
 
     /*!
      * @brief CAD Done callback prototype.
+     *
+     * @param [IN] ChannelDetected    Channel Activity detected during the CAD
      */
-    void ( *cadDone ) ( );
+    void ( *cadDone ) ( bool ChannelActivityDetected );
 	
 public:
 	//-------------------------------------------------------------------------
@@ -87,7 +89,7 @@
 	 * @param [IN]	rxError
 	 */
 	Radio( void ( *txDone )( ), void ( *txTimeout ) ( ), void ( *rxDone ) ( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ), 
-		   void ( *rxTimeout ) ( ), void ( *rxError ) ( ), void ( *fhssChangeChannel ) ( uint8_t channelIndex ), void ( *cadDone ) ( ) );
+		   void ( *rxTimeout ) ( ), void ( *rxError ) ( ), void ( *fhssChangeChannel ) ( uint8_t channelIndex ), void ( *cadDone ) ( bool ChannelActivityDetected ) );
 	virtual ~Radio( ) {};
 
 	//-------------------------------------------------------------------------