GithubHelp home page GithubHelp logo

michalfoksa / mqttsn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from boriz/mqtt-sn-arduino

3.0 2.0 0.0 342 KB

MQTT-SN client library mainly targeted for Arduino.

Arduino 9.54% C 45.93% C++ 24.84% Groff 7.87% Python 11.51% Makefile 0.31%

mqttsn's Introduction

MQTT-SN-Arduino

TODO: I don't like the repo name anymore, change it to something more generic

Connecting mesh network to the MQTT broker and tunneling MQTT protocol over Websocket.

Mesh network is based on the open-source MeshBee modules with Arduino end devices and Raspberry Pi acting as MQTT mesh network gateway. TODO: Add links to MQTT, etc

Overall project architecture: TODO: Awesome diagrams should be here

There are multiple pieces of the puzzle:

  • Arduino/libraries/mqttsn/folder. This is an MQTT-SN Arduino library, fork of theh http://bitbucket.org/MerseyViking/mqtt-sn-arduino with some minor bug fixes (TODO: get in touch with the repo owner to merge). Copy mqttsn folder into your Arduino libraries folder.
  • Arduino/MqttsnClient folder is an Arduino test sketch (publishes Arduino temperature to /arduino/temp topic). There is no frame logic, for now assuming direct/transparent serial connection to the broker.
  • "serial-mqtts" folder. Serial to MQTT-SN/UDP gateway. Dummy simple Python script to read MQTT-SN from serial port and send it as UDP packet.
  • RSMB Broker. Compiled version and configuration file of the "Really Small Message Broker" from http://git.eclipse.org/c/mosquitto/org.eclipse.mosquitto.rsmb.git
  • Websocket to TCP gateway. This is slightly modified "websockify" project from https://github.com/kanaka/websockify to tunnel MQTT over Websocket. Compatible with http://mqtt.io client.

TODO:

  1. Test!
  2. Create PLC MQTT client.

mqttsn's People

Contributors

boriz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.