Skip to content

An example of an Aquila 2.0 MQTT-SN client implementation for RFM69 (915Mhz) module with ATmega328p microcontroller, designed to work with Aquila MQTT-SN Gateway

Notifications You must be signed in to change notification settings

Rodmg/rfm-mqtt-sn-client-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rfm-mqtt-sn-client-example

An example of an Aquila 2.0 MQTT-SN client implementation for RFM69 (915Mhz) module with ATmega328p microcontroller, 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

First, clone this repo with all its submodules:

git clone --recursive https://github.com/Rodmg/rfm-mqtt-sn-client-example.git

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.

Customizing and understanding the code

Read and edit src/main.ino. I hope the comments are enough for understanding the basic MQTT-SN functionality.

About

An example of an Aquila 2.0 MQTT-SN client implementation for RFM69 (915Mhz) module with ATmega328p microcontroller, designed to work with Aquila MQTT-SN Gateway

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages