SX1276GenericLib to support sx1276 bassed LoRa modules, including HopeRF RFM95, Murata CMWX1ZZABZ and Semtech SX1276MB1MAS/SX1276MB1LAS modules
Dependents: DISCO-L072CZ-LRWAN1_LoRa_PingPong DISCO-L072CZ-LRWAN1_LoRa_PingPong DISCO-L072CZ-LRWAN1_LoRa_PingPong DISCO-L072CZ-LRWAN1_LoRa_USB_Rx ... more
Fork of SX1276Lib by
Diff: radio/radio.cpp
- Revision:
- 6:e7f02929cd3d
- Parent:
- 0:e6ceb13d2d05
- Child:
- 7:2b555111463f
--- a/radio/radio.cpp Thu Aug 21 11:58:28 2014 +0000 +++ b/radio/radio.cpp Thu Sep 04 14:03:20 2014 +0000 @@ -14,12 +14,14 @@ */ #include "radio.h" -Radio::Radio( void ( *txDone )( ), void ( *txTimeout ) ( ), void ( *rxDone ) ( uint8_t *payload, uint16_t size, int8_t rssi, int8_t snr ), void ( *rxTimeout ) ( ), void ( *rxError ) ( ) ) +Radio::Radio( void ( *txDone )( ), void ( *txTimeout ) ( ), void ( *rxDone ) ( uint8_t *payload, uint16_t size, int8_t rssi, int8_t snr ), + void ( *rxTimeout ) ( ), void ( *rxError ) ( ), void ( *fhssChangeChannel ) ( uint8_t channelIndex ) ) { this->txDone = txDone; this->txTimeout = txTimeout; this->rxDone = rxDone; this->rxTimeout = rxTimeout; this->rxError = rxError; + this->fhssChangeChannel = fhssChangeChannel; }