Commit Graph

37 Commits

Author SHA1 Message Date
fpagliughi
8ef1a1e73b #547 Fixed up some of the v5 examples for proper connect options
Some checks are pending
CMake on multiple platforms / build (Debug, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Debug, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Debug, gcc, g++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
2025-05-15 20:05:19 -04:00
fpagliughi
6a1c354df4 Fixed build error after merging maintanence branches. 2025-05-15 17:03:29 -04:00
fpagliughi
074917c077 #378 Fixed in the master branch for v1.5.x, from a64d1109cb 2025-05-15 16:49:57 -04:00
fpagliughi
165476b1dc Updated the README and CHANGELOG for release v1.5.2. Did some spellchecks. 2025-03-11 12:33:11 -04:00
fpagliughi
59aa9b4625 #505: Example of retrieving MQTT v5 properties in message received callback 2025-03-11 09:22:16 -04:00
fpagliughi
9a93f49d75 #540 Missing default argument in async_client changed constructor breaks code compatibility. Updated 'client' and 'create_options' construcotrs to agree with 'async_client' 2025-03-10 16:00:49 -04:00
fpagliughi
d33c759c78 Minor cleanup of CMake files 2025-02-09 16:09:01 -05:00
fpagliughi
c8aabb5d82 #528 Backed out the connect wait to keep testing publish-before-connect 2025-01-05 16:27:25 -05:00
fpagliughi
2b8bfbb94e #528 Wait for connection in the 'async_publish_time' example 2025-01-04 21:41:28 -05:00
fpagliughi
df82ee4378 #410 Added 'shutdown_event' and reworked consumer to prevent propagating exceptions on shutdown. 2025-01-04 19:29:12 -05:00
fpagliughi
5e641dd443 #451 Added low keep alive to async_publish_time to test connected/connection_lost callbacks. 2025-01-03 19:47:55 -05:00
fpagliughi
9bb127986d #523 Additional ways to create and publish messages with v5 properties 2025-01-03 15:31:44 -05:00
fpagliughi
6131a30530 Added properties indexer w/ example. Now uint8_t prints properly (as unsigned) 2024-07-13 18:19:10 -04:00
fpagliughi
02b589ea98 Queries to check if consumer thread is closed/done. 2024-07-13 07:42:36 -04:00
fpagliughi
4d51422c8b Updated format script (fmt.sh) to skip externals/ dir 2024-07-07 18:56:41 -04:00
fpagliughi
0b5c312d9f Made 'message_arrived_event' just a message pointer 2024-07-07 10:34:01 -04:00
fpagliughi
3ef1292f45 Implemented new event consumer examples and fixed some bugs with it. 2024-07-06 20:53:21 -04:00
fpagliughi
0b85abd745 Reverted flat example directory. 2024-07-06 20:00:51 -04:00
fpagliughi
43e8ef67a3 Converted the consumer message queue to an event queue. 2024-07-06 19:42:41 -04:00
fpagliughi
03dfef98ac Encapsulated quit functionality in 'data_publish' example 2024-07-06 10:40:04 -04:00
fpagliughi
0bf6394fb3 Added ^C handling to some examples for clean exits. 2024-07-05 20:59:19 -04:00
fpagliughi
33d219a2a3 Converted 'data_publish' example to use C++17 std::filesystem 2024-07-05 18:58:19 -04:00
fpagliughi
be263432c1 Updated examples to optionally take server URI from command line. 2024-07-05 15:53:12 -04:00
fpagliughi
33d6251995 Added a 'to_string()' and 'operator<<()' for reason codes. 2024-07-05 13:29:14 -04:00
fpagliughi
134e40db30 Made an explicit 'shared' target in CMake with 'paho-mqttpp3' a default for whichever target was built. 2024-07-03 17:32:00 -04:00
fpagliughi
a4bb565343 Simplified the examples CMake build file 2024-07-03 14:17:47 -04:00
fpagliughi
b8d221f6d7 #355 CMake selecting C++ standard via target options 2024-07-03 13:58:25 -04:00
fpagliughi
91bfc64bdd Fixed doc comment and deprecation warnings. 2024-06-26 21:45:20 -04:00
fpagliughi
381caad141 - Added properties iterator.
- Added property typeid, type name, and cleaned up constructor.
- Exception checks if return code is reason code.
- Added 'server_property_v5' example app.
2024-06-26 18:56:05 -04:00
fpagliughi
e3d6ad0710 Some cleanup of token and properties. Got rid of fake reason code, MQTTPP_V3_CODE 2024-06-24 18:04:48 -04:00
fpagliughi
2ca93a0384 Added create_options assignment operators. 2024-06-22 20:28:20 -04:00
fpagliughi
d386d30be9 Reworked 'create_options' for all params (serverURI, clientId, etc); new persistence_type variant; reqorked async_client constructors 2024-06-22 20:00:06 -04:00
fpagliughi
7d5dcce159 Reformat sources and added .clang-format files. 2024-06-18 16:01:26 -04:00
fpagliughi
a588b29bc4 Client always created with v5 (universal) persistence format 2024-06-18 14:09:38 -04:00
fpagliughi
c15a1e7b31 Spell checking 2024-06-16 14:07:10 -04:00
fpagliughi
360774c337 Fixed Windows symbol import/export and system lib dependency 2024-06-15 20:43:27 -04:00
fpagliughi
c36d123042 Moved samples to top-level and renamed 'examples' 2024-06-15 10:05:17 -04:00