11 Commits

Author SHA1 Message Date
Michael Zanetti
665faca358 Add Support for websocket transport
This commit adds support for connecting via the websocket transport
protocol on both, client and server parts.
In addition, the standalone server implemention is more complete, allowing
to manage policies and server ports via command line arguments as well
as adding a command line client tool for subscribing to a broker and/or
publishing messages to it.
2022-06-03 14:59:07 +02:00
Michael Zanetti
98382664b2 Fix tests
When running all tests in a row, the testRetain() test would
pollute subsequent tests by leaving a retained message on the
server. Fixed by extending to testRetain() test also test
clearing all retained messages at last.
2022-04-14 00:10:21 +02:00
Michael Zanetti
4347e0106f
Add a unit test for the connected signal (#1) 2021-02-05 07:29:58 +01:00
Timon
718a495437 Fix MqttPackdt payload assignment.
QByteArray(str) assumes that str is '\0'-terminated
which is not the case when sending binary data.
2021-02-04 15:22:27 +01:00
Michael Zanetti
38feda3a4b Update copyright 2020-01-23 00:24:20 +01:00
Michael Zanetti
07d712d5ae Fix a crash in topic matching.
Subscribing a client to a/b/c and publishing to a/b leads to a
crash, turns out it is a off-by-one calculation in topic matching code.
2019-09-24 22:33:09 +02:00
Michael Zanetti
4e4ed7bad5 add SSL support to client 2018-11-28 20:24:14 +01:00
Michael Zanetti
7e35b3e79e add reconnect feature to client and improve server api a bit 2018-11-27 23:31:23 +01:00
Michael Zanetti
c6a4111677 disable building of tests on xenial, QTRY_VERIFY isn't there yet 2018-11-13 02:43:38 +01:00
Michael Zanetti
12ba712c51 add copyright headers 2018-11-13 00:56:54 +01:00
Michael Zanetti
7be28b8e44 nymea-mqtt implementation 2018-11-13 00:54:32 +01:00