summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/paho-mqtt-cpp
Commit message (Collapse)AuthorAgeFilesLines
* paho-mqtt-cpp: add back SRCREVGyorgy Sarvari2025-06-261-0/+1
| | | | | | | SRCREV was removed accidentally during last update - add it back. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-1/+0
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* paho-mqtt-cpp: Upgrade 1.4.1 -> 1.5.3Leon Anavi2025-06-252-58/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 1.5.3: - Fix the bundled Paho C build foc C23 compilers by forcing C99 compliance in CMake build - Code base updated to to C++17 - Now a C++17 compiler is required to compile the library - CMake minimum required version raised to v3.13 - Need a fairly recent CMake for C++17 support (>= v3.12) - CMake v3.13 allows INSTALL(TARGETS) to work outside the current directory. - Clients always created for v5 persistence format, making it universal for any connection. - If the application specifies a version it is kept as a hint for default connections. - The version for the connection should be specified in the connect options. - The create_options now have all the parameters to create a client. - Can specify Server URL, Client ID, and persistence in the create options. - New client constructor that takes just the options object - The client caches a const create_options struct with all the creation parameters - Client creation internally simplified without breaking the public API - Expanded the message constmer to be a full client "event" consumer. - The events are for connected, connection_lost, disconnected, message arrived, and application shutdown. - The application can get client state change notifications without resorting to callbacks. - There's a new persistence_type (std::variant) that can hold any of the persistence specifiers (none, file directory, or user interface). - Most of the class static constants are now constexpr. - Removed the fake ReasonCode::MQTTPP_V3_CODE. Now all reason codes in a v3 connection are SUCCESS. - The mqtt::exception checks if the 'rc' return code actually contains a reason code error, amd if so, sets it as the reason code. - property can now report the typeid of its contained value. - The properties list implements a const iterator - Added a to_string() and operator<<() for reason codes. - thread_queue is now closable. - Added documentation for UNIX domain sockets coming in with Paho C v1.3.14 - Removed the manual implementation of make_unique<>() - Added create_options assignment operators. - Fixed some corner cases for topic_filter::matches() - Cleaned up and fixed a number of example apps. - Most apps now except a server URI from the command line - 'data_publish' example uses C++17 std::filesystem for creating a file-based encrypted persistence for messages. - Updated local CI (buildtst.sh) for current compilers and unit tests. - Reorganized the source repository - Completely reformat the sources and added a .clang-format file (a project master and a slightly-different one for headers). Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* paho-mqtt-cpp: Use system paho-mqtt-cKhem Raj2024-09-121-1/+1
| | | | | | | It was an overisight during upgrade Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
* paho-mqtt-cpp: Move to tip of 1.4.x branchKhem Raj2024-09-091-3/+4
| | | | | | | - User git submodule fetcher - Disable building examples and enable MQTT C module Signed-off-by: Khem Raj <raj.khem@gmail.com>
* paho-mqtt-cpp: Upgrade to 1.4.1 releaseKhem Raj2024-09-042-35/+29
| | | | | | | License file LICENSE is added, therefore use that for checksums license still remains same. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* paho-mqtt-cpp: upgrade 1.3.1 -> 1.3.2Wang Mingyu2023-12-181-3/+3
| | | | | | | | | | Changelog: ========== -Fixed generator expression for older CMake -Bad LWT message in async_publish.cpp sample. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* paho-mqtt-cpp: upgrade 1.2.0 -> 1.3.1Wang Mingyu2023-11-282-13/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | 0001-cmake-Use-CMAKE_INSTALL_LIBDIR-and-CMAKE_INSTALL_BIN.patch refreshed for 1.3.1 License-Update: Updated license to EPL-v2.0 Changelog: ============ -#462 Fix version string for version v1.3.x -Fixed building and using library as DLL on Windows with MSVC -Updated License to Eclipse Public License v2.0 -Updated create and connect options to better deal with MQTT protocol version -Defaulting connect version to v5 if specified in create options. -Added a topic_filter class to match a single filter to specific topics. -Added a topic_matcher class to create a collection of items in a trie structure that can contain items tied to topic filters. (Useful for queues or callbacks per-subscription topic). -Minor tweaks to prepare for C++20 -Support for Catch2 v3.x for unit tests (v2.x also still supported). -Changed the sample apps to use the newer "mqtt://" schemas. -Connect option initializers for v5 and WebSockets. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Remove double protocol= from SRC_URIsPeter Kjellerstedt2023-04-051-1/+1
| | | | | | | | | | With the exception of paho-mqtt-cpp, the double protocol= attributes were added to the SRC_URIs when protocol=https was added to all SRC_URIs fetching from github.com in commit b402a3076f (recipes: Update SRC_URI branch and protocols). Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* paho-mqtt-cpp: Improve the license informationPeter Kjellerstedt2023-04-051-2/+1
| | | | | | | | | | | Replace the about.html and notice.html files in LIC_FILES_CHKSUM with the license information from one of the source files. Including HTML files in LIC_FILES_CHKSUM complicates things when the license files that OE collects are, e.g., later processed and presented to a user where the expectation is that they are plain text files. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* paho-mqtt-cpp: Use CMAKE_INSTALL_LIBDIR in cmakeKhem Raj2022-03-212-2/+52
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* paho-mqtt-cpp: new packageMatthias Klein2021-11-181-0/+24
Signed-off-by: Matthias Klein <matthias@extraklein.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>