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
Diff: sx1276/sx1276-mbed-hal.h
- Revision:
- 109:528f37db941f
- Parent:
- 102:3e0f7696f4a5
--- a/sx1276/sx1276-mbed-hal.h Sun Jan 21 11:53:10 2018 +0100 +++ b/sx1276/sx1276-mbed-hal.h Tue Feb 20 14:56:20 2018 +0100 @@ -30,6 +30,11 @@ #define XSPI SPI #endif +#ifdef DEVICE_LOWPOWERTIMER + #define MyTimeout LowPowerTimeout +#else + #define MyTimeout Timeout +#endif /*! * Actual implementation of a SX1276 radio, includes some modifications to make it @@ -74,9 +79,9 @@ /*! * Tx and Rx timers */ - Timeout txTimeoutTimer; - Timeout rxTimeoutTimer; - Timeout rxTimeoutSyncWord; + MyTimeout txTimeoutTimer; + MyTimeout rxTimeoutTimer; + MyTimeout rxTimeoutSyncWord; private: