SX1276 library for modtronix inair9. Edited for use with NRF51DK board.
Fork of SX1276Lib_modtronix by
Diff: sx1276/sx1276-inAir.h
- Revision:
- 22:20db480143c9
- Parent:
- 18:cdb08d710838
- Child:
- 25:72381be1b0ce
--- a/sx1276/sx1276-inAir.h Thu Apr 02 12:27:47 2015 +1100 +++ b/sx1276/sx1276-inAir.h Wed May 13 10:24:04 2015 +1000 @@ -11,9 +11,9 @@ #include "sx1276.h" /*! - * Modtronix inAir9 board with SX1276 radio. This board supports 868MHz and 915MHz at 14dBm (no boost circuit) + * Modtronix BOARD_INAIR4 board with SX1276 radio. This board supports 868MHz and 915MHz at 14dBm (no boost circuit) */ -class SX1276inAir9 : public SX1276 +class SX1276inAir : public SX1276 { protected: /*! @@ -27,14 +27,14 @@ static const RadioRegisters_t RadioRegsInit[]; public: - SX1276inAir9( void ( *txDone )( ), void ( *txTimeout ) ( ), void ( *rxDone ) ( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ), + SX1276inAir( 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 ) ( bool ChannelActivityDetected ), PinName mosi, PinName miso, PinName sclk, PinName nss, PinName reset, PinName dio0, PinName dio1, PinName dio2, PinName dio3, PinName dio4, PinName dio5, PinName antSwitch ); - SX1276inAir9( void ( *txDone )( ), void ( *txTimeout ) ( ), void ( *rxDone ) ( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ), + SX1276inAir( 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 ) ( bool ChannelActivityDetected ) ); - virtual ~SX1276inAir9( ) { }; + virtual ~SX1276inAir( ) { }; protected: /*!