pcb changes
Fork of SingleFrequencyLora by
radio/radio.cpp@0:e6ceb13d2d05, 2014-08-18 (annotated)
- Committer:
- GregCr
- Date:
- Mon Aug 18 14:24:46 2014 +0000
- Revision:
- 0:e6ceb13d2d05
- Child:
- 6:e7f02929cd3d
SX1276 Library first attempt
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
GregCr | 0:e6ceb13d2d05 | 1 | /* |
GregCr | 0:e6ceb13d2d05 | 2 | / _____) _ | | |
GregCr | 0:e6ceb13d2d05 | 3 | ( (____ _____ ____ _| |_ _____ ____| |__ |
GregCr | 0:e6ceb13d2d05 | 4 | \____ \| ___ | (_ _) ___ |/ ___) _ \ |
GregCr | 0:e6ceb13d2d05 | 5 | _____) ) ____| | | || |_| ____( (___| | | | |
GregCr | 0:e6ceb13d2d05 | 6 | (______/|_____)_|_|_| \__)_____)\____)_| |_| |
GregCr | 0:e6ceb13d2d05 | 7 | ( C )2014 Semtech |
GregCr | 0:e6ceb13d2d05 | 8 | |
GregCr | 0:e6ceb13d2d05 | 9 | Description: Interface for the radios, contains the main functions that a radio needs, and 5 callback functions |
GregCr | 0:e6ceb13d2d05 | 10 | |
GregCr | 0:e6ceb13d2d05 | 11 | License: Revised BSD License, see LICENSE.TXT file include in the project |
GregCr | 0:e6ceb13d2d05 | 12 | |
GregCr | 0:e6ceb13d2d05 | 13 | Maintainers: Miguel Luis, Gregory Cristian and Nicolas Huguenin |
GregCr | 0:e6ceb13d2d05 | 14 | */ |
GregCr | 0:e6ceb13d2d05 | 15 | #include "radio.h" |
GregCr | 0:e6ceb13d2d05 | 16 | |
GregCr | 0:e6ceb13d2d05 | 17 | Radio::Radio( void ( *txDone )( ), void ( *txTimeout ) ( ), void ( *rxDone ) ( uint8_t *payload, uint16_t size, int8_t rssi, int8_t snr ), void ( *rxTimeout ) ( ), void ( *rxError ) ( ) ) |
GregCr | 0:e6ceb13d2d05 | 18 | { |
GregCr | 0:e6ceb13d2d05 | 19 | this->txDone = txDone; |
GregCr | 0:e6ceb13d2d05 | 20 | this->txTimeout = txTimeout; |
GregCr | 0:e6ceb13d2d05 | 21 | this->rxDone = rxDone; |
GregCr | 0:e6ceb13d2d05 | 22 | this->rxTimeout = rxTimeout; |
GregCr | 0:e6ceb13d2d05 | 23 | this->rxError = rxError; |
GregCr | 0:e6ceb13d2d05 | 24 | } |
GregCr | 0:e6ceb13d2d05 | 25 |