Semtech SX1272 radio chipset driver - ported based on Semtech SX1276 driver.
Dependents: Elmo-Terminal LoRaWAN-test-app Elmo-Terminal-App LoRaWAN_Semtech_stack ... more
Diff: sx1272/sx1272-hal.h
- Revision:
- 1:51fd7a5843e5
- Parent:
- 0:669f3b0e91c8
--- a/sx1272/sx1272-hal.h Thu Sep 17 14:42:20 2015 +0200 +++ b/sx1272/sx1272-hal.h Thu Sep 17 15:03:32 2015 +0200 @@ -20,7 +20,7 @@ /*! * Actual implementation of a SX1272 radio, includes some modifications to make it compatible with the MB1 LAS board */ -class SX1272MB1xAS : public SX1272 +class SX1272BRD : public SX1272 { protected: /*! @@ -32,13 +32,13 @@ static const RadioRegisters_t RadioRegsInit[]; public: - SX1272MB1xAS( void ( *txDone )( ), void ( *txTimeout ) ( ), void ( *rxDone ) ( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ), + SX1272BRD( 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 ); - virtual ~SX1272MB1xAS( ); + virtual ~SX1272BRD( ); protected: /*!