1
0
mirror of https://github.com/eclipse/paho.mqtt.cpp.git synced 2025-05-09 11:21:24 +08:00

471 Commits

Author SHA1 Message Date
Frank Pagliughi
d43808e7c9
Merge pull request #374 from HpLightcorner/mqtt-c-submodule
Add paho.mqtt.c as a submodule
2023-07-29 16:38:56 -04:00
Frank Pagliughi
7cfcd4bf87
Merge branch 'develop' into mqtt-c-submodule 2023-07-29 16:32:27 -04:00
Frank Pagliughi
62868ec250
Merge pull request #350 from koalo/master
avoid adding Paho MQTT C library twice
2023-07-29 16:31:01 -04:00
Frank Pagliughi
95928b60ad
Merge pull request #445 from ssams/develop
Fix copy/move constructor for connect/disconnect opts with properties
2023-07-29 15:50:06 -04:00
Sebastian Sams
5d267a0fff fix copy/move ctor for disconnect opts with props
Signed-off-by: Sebastian Sams <sebastian.sams@bestsolution.at>
2023-07-18 12:07:41 +00:00
Sebastian Sams
8c60105e06 fix copy/move ctor for connect opts with props
ensures pointers to the properties are updated properly
in move and copy constructors, so the c struct pointers remain valid

Signed-off-by: Sebastian Sams <sebastian.sams@bestsolution.at>
2023-07-18 12:20:09 +02:00
fpagliughi
20f09cc4ec Merge branch 'master' into develop 2023-07-13 22:24:43 -04:00
Frank Pagliughi
6bfe50769b
Merge pull request #407 from dberlin/patch-1
Fix nodiscard warnings in sync client
2023-06-26 14:34:46 -04:00
fpagliughi
44d186ecb1 #425 Enable build warnings, and fix the existing ones. 2023-06-26 14:27:24 -04:00
Frank Pagliughi
121cf9fd6e
Merge pull request #440 from DevnathNair/fix-codebase-typos
Fix Typos Across The Project
2023-06-22 13:34:24 -04:00
Devnath Nair
c6947e1e61 Fix typos across the project
Signed-off-by: Devnath Nair <mail@devnathnair.com>
2023-06-09 23:14:29 +10:00
fpagliughi
d1a294393c #428 Fixed type in create_options::set_mqtt_version() 2023-03-15 22:09:02 -04:00
fpagliughi
894b168fb4 Updating create and connect options to better deal with MQTT protocol version 2023-03-15 22:04:14 -04:00
fpagliughi
5ab7374445 Defaulting connect version to v5 if specified in create options. 2023-01-30 17:30:35 -05:00
fpagliughi
d4106b8b49 Merge branch 'develop' of github.com:eclipse/paho.mqtt.cpp into develop 2023-01-30 17:27:10 -05:00
Daniel Berlin
ec01ed39a7 Fix nodiscard warnings in sync client
In later C++ versions, std::async is marked nodiscard. See https://cplusplus.github.io/LWG/issue2856.
The code is correct in that it is properly blocking for the result, but it will now warn since this is considered "not the way".
Adding .wait() to the end of the calls, which explicitly waits on the future, should be the correct fix.

Signed-off-by: Daniel Berlin <dberlin@dberlin.org>
2022-08-30 11:39:48 -04:00
Heinz-Peter Liechtenecker
53367104cb Append static suffix on all platforms 2022-08-16 13:30:55 +02:00
fpagliughi
67b1e5e40d #385 Thread queue deadlock with multiple consumers 2022-04-28 23:24:06 -04:00
fpagliughi
37d7616816 Updated README 2022-04-28 17:36:29 -04:00
fpagliughi
a405038c0d Updated README with new features. 2022-04-27 11:15:03 -04:00
fpagliughi
dda7445d1e Added initial implementation of a 'topic_matcher' class. 2022-04-27 11:09:18 -04:00
fpagliughi
fb740d8fd8 Added 'topic_filter' class. 2022-04-23 17:47:21 -04:00
Heinz-Peter Liechtenecker
f6637d754c Adding an option to build paho.mqtt.c from submodule
Signed-off-by: Heinz-Peter Liechtenecker <heinz.liechtenecker@gmail.com>
2022-01-11 12:32:38 +01:00
Heinz-Peter Liechtenecker
7af2b3f6f7 Addding paho.mqtt.c as a GIT submodule
Signed-off-by: Heinz-Peter Liechtenecker <heinz.liechtenecker@gmail.com>
2022-01-11 12:27:59 +01:00
Florian Kauer
f2a15f4abf avoid adding Paho MQTT C library twice
Signed-off-by: Florian Kauer <koalo@koalo.de>
2021-07-19 10:19:33 +02:00
fpagliughi
2ff3d155dc #253 implicit capture of 'this' via '[=]' is deprecated in C++20 2021-04-30 11:42:38 -04:00
fpagliughi
e724de5b7c Updated readme with some new features. 2021-04-30 10:42:49 -04:00
fpagliughi
48787dc039 #337 copy/move of caPath_ in ssl_options 2021-04-30 10:35:04 -04:00
fpagliughi
deafcaf036 Merge branch 'develop' of github.com:eclipse/paho.mqtt.cpp into develop 2021-04-30 08:41:45 -04:00
fpagliughi
611969a003 Merge branch 'master' into develop 2021-04-29 21:42:44 -04:00
fpagliughi
a04195a0b9 Merge branch 'master' into develop 2021-04-26 19:37:12 -04:00
Frank Pagliughi
4622b98f5e
Merge pull request #330 from doleron/add_build_gitignore
added /build/ folder to .gitignore
2021-04-26 19:36:55 -04:00
doleron
e3b0ced4db cosmetics 2021-04-03 22:56:08 -03:00
doleron
5fdd9a2d45 added build folder to gitignore 2021-04-03 22:39:53 -03:00
fpagliughi
09336e127d #317 String constructor using just len instead of end iterator. 2021-01-31 09:48:16 -05:00
fpagliughi
4c1f545b5c Added Session Expiry Interval to v5 chat sample to test #323 2021-01-31 09:16:56 -05:00
fpagliughi
990bea092a Removed friend access for test objects that no longer exist. 2021-01-31 09:16:35 -05:00
fpagliughi
33921c8b68 Minor update to README for v1.2.0 release v1.2.0 2020-12-27 14:42:38 -05:00
fpagliughi
a707392fac Minor update to README for v1.2.0 release 2020-12-27 14:40:11 -05:00
fpagliughi
c338346524 Added more message and properties unit tests, with some fixes for moves 2020-12-27 14:01:13 -05:00
fpagliughi
c5b0c52f91 Messages properly copying/moving v5 properties in copy and move constructors and assignments. 2020-12-27 12:15:17 -05:00
fpagliughi
52891c2297 Doxygen comments for new will_options parameters. 2020-12-27 11:50:40 -05:00
fpagliughi
3b400b5942 #266 Copy/move properties in will_options copy and move constructors and assignment operators. Also added parameter for properties in all the will_options constructors. 2020-12-27 11:47:01 -05:00
fpagliughi
84b060eb8a Updated the README and CHANGELOG for the v1.2.0 release. 2020-12-27 10:29:44 -05:00
fpagliughi
1bf762ff5c Bumped the version to 1.2.0 2020-12-27 00:17:06 -05:00
fpagliughi
e2f318836f Updated Doxygen comments 2020-12-26 23:41:48 -05:00
fpagliughi
84a52d8157 Updated readme with new feature 2020-12-26 17:36:58 -05:00
fpagliughi
526f8aaaaf #311 Added ALPN protocols to the SSL options 2020-12-26 17:33:46 -05:00
fpagliughi
4c62de40b3 Updated the README with new bug fix 2020-12-26 12:54:23 -05:00
fpagliughi
c1f48fd7de #300 Fixed reconnect. Added 'timeout_error' exception. Sync client properly throwing timeout errors. Added 'sync_reconnect' sample app. 2020-12-26 12:40:53 -05:00