Correction in RX config error. If REG_LR_PAYLOADLENGTH and REG_LR_PAYLOADMAXLENGTH is not set, the RX is limited to 64 bytes.
Fork of SX1276Lib by
Diff: radio/radio.cpp
- Revision:
- 6:e7f02929cd3d
- Parent:
- 0:e6ceb13d2d05
- Child:
- 7:2b555111463f
diff -r 11ec8a6ba4f0 -r e7f02929cd3d radio/radio.cpp --- 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; }