Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/msgflo/msgflo-cpp
- Owner: msgflo
- License: mit
- Created: 2015-06-03T21:58:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-05-23T12:03:50.000Z (over 4 years ago)
- Last Synced: 2023-02-27T22:05:49.890Z (almost 2 years ago)
- Topics: iot, mqtt
- Language: C++
- Homepage:
- Size: 80.1 KB
- Stars: 9
- Watchers: 7
- Forks: 2
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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