Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/msgflo/msgflo-cpp

C++11 library for easily creating MsgFlo participants
https://github.com/msgflo/msgflo-cpp

iot mqtt

Last synced: about 1 month ago
JSON representation

C++11 library for easily creating MsgFlo participants

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/msgflo/msgflo-cpp.svg?branch=master)](https://travis-ci.org/msgflo/msgflo-cpp)
# msgflo-cpp: C++ participant support for MsgFlo

[MsgFlo](https://github.com/msgflo/msgflo) is a distributed, polyglot FBP (flow-based-programming)
runtime. It integrates with other FBP tools like the [Flowhub](http://flowhub.io) visual programming IDE.
This library makes it easy to create MsgFlo participants in C++.

msgflo-cpp is written in C++11 and is built on top of [AMQP-CPP](https://github.com/CopernicaMarketingSoftware/AMQP-CPP),
[libmosquitto](https://mosquitto.org) and [json11](https://github.com/dropbox/json11).

msgflo-cpp is primarily used on Embedded Linux, but should also be portable to other operating systems.

## Status

*In production*

* Basic Participant support, sends MsgFlo discover message periodically
* Supports MQTT 3.1.1 and AMQP 0-9-0 (RabbitMQ)
* Used in production at Bitraf hackerspace for electronic [doorlocks](https://github.com/bitraf/dlock13) since 2016

## Usage

See [./examples/repeat.cpp](./examples/repeat.cpp)

mkdir build
cmake ..
make
./examples/repeat

## License

MIT, see [./LICENSE](./LICENSE)

## Debugging

To enable debug logging, set the `MSGFLO_CPP_DEBUG` environment variable.

export MSGFLO_CPP_DEBUG=1