Code Monkey home page Code Monkey logo

nymphmqtt's Introduction

NymphMQTT

This project aims to support both MQTT 3.x and 5, targeting C++ and Ada. It uses components from the NymphRPC Remote Procedure Call library for the networking side.

The C++ version implements the MQTT 3.x client features in 1,412 lines of code:

-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
C++                             10            412            449            964
C/C++ Header                    12            209            141            448
-------------------------------------------------------------------------------
SUM:                            22            621            590           1412
-------------------------------------------------------------------------------

Goals

  • MQTT 3.1.1 & MQTT 5 support.
  • Easy integration with C++ and Ada client applications.
  • Integrated MQTT broker.
  • Light-weight and versatile.
  • Minimal dependencies.
  • Cross-platform (Windows, Linux/BSD, MacOS, etc.).
  • Multi-broker (multiple active brokers per client).

Building

C++:

Dependencies are:

Navigate to the src/ folder and run the make command there. Alternatively use either of these options:

$ make test

This will build the library and the test applications, equivalent to running make without options.

$ make lib

This will only build the library. It can be found in the 'src/lib' folder afterwards.

Status

The project status, for each port.

C++

  • All MQTT 3.1.1 (v4) client features have been implemented.
  • Connecting to multiple brokers should work.
  • MQTT 3.1.1 server (broker) features are being implemented.
  • MQTT 5 support is being integrated.

Ada

The Ada port at this point is being planned. Development will likely commence after the C++ port has stabilised sufficiently.

Tests

A number of unit/integration tests can be found in each port's folder, compilable using the provided Makefile.

nymphmqtt's People

Contributors

mayaposch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

moneytech koson

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.