Skip to content

Minimal & partial copy of LowPowerLabs RFM69 library for AVR-DB microcontrollers

License

Notifications You must be signed in to change notification settings

openenergymonitor/RFM69_LPL

 
 

Repository files navigation

A cut down version of the LowPowerLabs RFM69 library with AVRDB and ATmega328 compatibility

See original and full LowPowerLabs library here: https://github.com/LowPowerLab/RFM69

This is a cut down version of the original library designed for use with OpenEnergyMonitor AVR-DB and ATmega328 hardware.

API Documentation

bool initialize(uint8_t freqBand, uint16_t ID, uint8_t networkID=1);

void setAddress(uint16_t addr);

void sleep();

bool canSend();

void send(uint16_t toAddress, const void buffer, uint8_t bufferSize, bool requestACK=false);*

bool sendWithRetry(uint16_t toAddress, const void buffer, uint8_t bufferSize, uint8_t retries=2, uint8_t retryWaitTime=RFM69_ACK_TIMEOUT);*

bool receiveDone();

bool ACKReceived(uint16_t fromNodeID);

bool ACKRequested();

void sendACK(const void buffer = "", uint8_t bufferSize=0);*

uint8_t retry_count();

void encrypt (const char key);*

int16_t readRSSI(bool forceTrigger=false);

uint8_t readReg (uint8_t addr);

void writeReg (uint8_t addr, uint8_t value);

void setMode (uint8_t newMode);

void select();

void unselect();

int receive ();

About

Minimal & partial copy of LowPowerLabs RFM69 library for AVR-DB microcontrollers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 64.8%
  • C++ 35.2%