mqtt_cpp
mqtt_cpp copied to clipboard
E.g this blog post has great info on how to use cmake to do some great static anlysis. https://blog.kitware.com/static-checks-with-cmake-cdash-iwyu-clang-tidy-lwyu-cpplint-and-cppcheck/ I've set up the following on some of my projects: "link...
An enhancement to the mqtt_cpp api to support different styles of async programming. https://www.boost.org/doc/libs/1_65_0/libs/fiber/doc/html/fiber/callbacks/then_there_s____boost_asio__.html https://www.boost.org/doc/libs/1_70_0/doc/html/boost_asio/reference/async_completion.html https://github.com/yandex/ozo/blob/master/include/ozo/asio.h The way that completion tokens work is that we would have each async function...
As discussed in https://github.com/redboltz/mqtt_cpp/pull/532 and https://github.com/redboltz/mqtt_cpp/pull/524 I think a better way to receive data for end-user APIs is via a pair of iterators. For example: ```cpp template struct ConstBufferIteratorWrapper {...
I have my own shared_ptr based string class, and I want to convert from MQTT_NS::buffer to my own class. To do this efficiently, I need direct access to the shared...
Hi guys, we face the following problem with your client: 1. We send protobuf encoded data over mqtt 2. It terminates when it hits a zero byte from the buffer....
vcpkg is now the preferred way to install open source packages in Microsoft Visual C++. Boost and Beast libraries are in there. Can this package also be added to vcpkg?...
Right now, mqtt_cpp does not check the number of topic patterns being unsubscribed from. It is possible that the end-user might try to unsubscribe from 0 topics. In this case,...
I wanted to write down some of the problems that I've noticed we've had over the last several months. I think so far all of them have been fixed, but...
It is from https://github.com/redboltz/mqtt_cpp/issues/297#issuecomment-527242751. @jonesmz wrote: Now that mqtt_cpp is using MQTT_NS::buffer to store all of the items in the properties, maybe we can revisit this discussion. What do you...
When debugging mqtt_cpp, the use of std::variant / boost::variant causes very very large template types to be displayed in stack traces. It would make the debugging experience significantly better if...