RFM69 class
Definition at line 121 of file RFM69_old.h.
|
| | RFM69 (uint8_t slaveSelectPin=MY_RFM69_CS_PIN, uint8_t interruptPin=MY_RFM69_IRQ_PIN, bool isRFM69HW=false, uint8_t interruptNum=digitalPinToInterrupt(MY_RFM69_IRQ_PIN)) |
| | Constructor. More...
|
| |
|
bool | initialize (uint8_t freqBand, uint8_t ID, uint8_t networkID=1) |
| | initialize
|
| |
|
void | setAddress (uint8_t addr) |
| | setAddress
|
| |
|
void | setNetwork (uint8_t networkID) |
| | setNetwork
|
| |
|
bool | canSend () |
| | canSend
|
| |
|
virtual void | send (uint8_t toAddress, const void *buffer, uint8_t bufferSize, bool requestACK=false) |
| | send
|
| |
|
virtual bool | sendWithRetry (uint8_t toAddress, const void *buffer, uint8_t bufferSize, uint8_t retries=5, uint8_t retryWaitTime=200) |
| | sendWithRetry (40ms roundtrip req for 61byte packets, adjusted)
|
| |
|
virtual bool | receiveDone () |
| | receiveDone
|
| |
|
bool | ACKReceived (uint8_t fromNodeID) |
| | ACKReceived.
|
| |
|
bool | ACKRequested () |
| | ACKRequested.
|
| |
|
virtual void | sendACK (const void *buffer="", uint8_t bufferSize=0) |
| | sendACK
|
| |
|
uint32_t | getFrequency () |
| | getFrequency
|
| |
|
void | setFrequency (uint32_t freqHz) |
| | setFrequency
|
| |
|
void | encrypt (const char *key) |
| | encrypt
|
| |
|
void | setCS (uint8_t newSPISlaveSelect) |
| | setCS
|
| |
|
int16_t | readRSSI (bool forceTrigger=false) |
| | readRSSI
|
| |
|
void | promiscuous (bool onOff=true) |
| | promiscuous
|
| |
|
virtual void | setHighPower (bool onOFF=true) |
| | setHighPower (have to call it after initialize for RFM69HW)
|
| |
|
virtual void | setPowerLevel (uint8_t level) |
| | setPowerLevel (reduce/increase transmit power level)
|
| |
|
void | sleep (void) |
| | sleep
|
| |
|
void | standBy (void) |
| | standBy
|
| |
|
void | powerDown (void) |
| | powerDown
|
| |
|
void | powerUp (void) |
| | powerUp
|
| |
|
void | reset (void) |
| | reset
|
| |
|
bool | sanityCheck (void) |
| | sanityCheck
|
| |
|
uint8_t | readTemperature (uint8_t calFactor=0) |
| | readTemperature (get CMOS temperature (8bit))
|
| |
|
void | rcCalibration () |
| | rcCalibration (calibrate the internal RC oscillator for use in wide temperature variations - see datasheet section [4.3.5. RC Timer Accuracy])
|
| |
|
uint8_t | readReg (uint8_t addr) |
| | readReg
|
| |
|
void | writeReg (uint8_t addr, uint8_t val) |
| | writeReg
|
| |
|
void | readAllRegs () |
| | readAllRegs
|
| |