This library update contains changes according to the HW-modification.

Dependents:   LoRaWAN_Serial_port_driven_and_configurable_ELMO_based_on_TxRx_Template

Fork of SX1272lib by Espotel

Changes compared to original SX1272lib:

HW modification was made to remove RFO-output and replaced with PABOOST-output. PASELECT changed accordingly.

Committer:
WGorniak
Date:
Thu Sep 17 14:42:20 2015 +0200
Revision:
0:669f3b0e91c8
first commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
WGorniak 0:669f3b0e91c8 1 /*
WGorniak 0:669f3b0e91c8 2 / _____) _ | |
WGorniak 0:669f3b0e91c8 3 ( (____ _____ ____ _| |_ _____ ____| |__
WGorniak 0:669f3b0e91c8 4 \____ \| ___ | (_ _) ___ |/ ___) _ \
WGorniak 0:669f3b0e91c8 5 _____) ) ____| | | || |_| ____( (___| | | |
WGorniak 0:669f3b0e91c8 6 (______/|_____)_|_|_| \__)_____)\____)_| |_|
WGorniak 0:669f3b0e91c8 7 ( C )2014 Semtech
WGorniak 0:669f3b0e91c8 8
WGorniak 0:669f3b0e91c8 9 Description: Interface for the radios, contains the main functions that a radio needs, and 5 callback functions
WGorniak 0:669f3b0e91c8 10
WGorniak 0:669f3b0e91c8 11 License: Revised BSD License, see LICENSE.TXT file include in the project
WGorniak 0:669f3b0e91c8 12
WGorniak 0:669f3b0e91c8 13 Maintainers: Miguel Luis, Gregory Cristian and Nicolas Huguenin
WGorniak 0:669f3b0e91c8 14 */
WGorniak 0:669f3b0e91c8 15 #include "radio.h"
WGorniak 0:669f3b0e91c8 16
WGorniak 0:669f3b0e91c8 17 Radio::Radio( void ( *txDone )( ), void ( *txTimeout ) ( ), void ( *rxDone ) ( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ),
WGorniak 0:669f3b0e91c8 18 void ( *rxTimeout ) ( ), void ( *rxError ) ( ), void ( *fhssChangeChannel ) ( uint8_t channelIndex ), void ( *cadDone ) ( bool channelActivityDetected ) )
WGorniak 0:669f3b0e91c8 19 {
WGorniak 0:669f3b0e91c8 20 this->txDone = txDone;
WGorniak 0:669f3b0e91c8 21 this->txTimeout = txTimeout;
WGorniak 0:669f3b0e91c8 22 this->rxDone = rxDone;
WGorniak 0:669f3b0e91c8 23 this->rxTimeout = rxTimeout;
WGorniak 0:669f3b0e91c8 24 this->rxError = rxError;
WGorniak 0:669f3b0e91c8 25 this->fhssChangeChannel = fhssChangeChannel;
WGorniak 0:669f3b0e91c8 26 this->cadDone = cadDone;
WGorniak 0:669f3b0e91c8 27 }
WGorniak 0:669f3b0e91c8 28