Rodmg / rfm-mqtt-sn-bridge

MQTT-SN Bridge firmware for RFM69 rf module (915Mhz) and ATmega328p based boards, designed to work with Aquila MQTT-SN Gateway
4 stars 0 forks source link

rfm-mqtt-sn-bridge

MQTT-SN Bridge firmware for RFM69 rf module (915Mhz) and ATmega328p based boards, designed to work with Aquila MQTT-SN Gateway.

Requirements

For compiling and uploading this code to the board you need the PlatformIO tools and the PlatformIO IDE.

Using

Open the project folder from the Atom IDE with PlatformIO IDE plugin installed, connect your board and press the upload button.

Right now the project is configured to work on an Arduino nano with ATmega328 or equivalent, that has the RFM69 connected via SPI the standard way that the RadioHead library recommends.

The code has been tested with the 915Mhz version of the RFM69C module, if you want to use other version, you have to edit the code at SerialEndpoint.cpp, specially the part that calls the function setFrequency of the module driver.