Michael Zanetti
c6d5364300
Fix a warning and improve debug print when a client times out
...
Old code would implicitly delete the client by the call to abort()
as well as scheduling a deleteLater() which caused a unexpeted
null receiver warning.
2022-11-23 17:36:59 +01:00
Michael Zanetti
34c67c1d14
Improve the warning message when a client is rejected
2022-06-20 23:39:55 +02:00
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
881bf26a47
Fix topci -> topic typo
2022-04-14 00:29:21 +02:00
Timon
5eebdf75f7
Start keep alive timer before emitting connected()
...
By chaning the order MqttClient::isConnected() returns true
in slot connected to MqttClient::connected().
2021-02-04 15:22:33 +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
f7962614f5
Shared pointer for the packet data
2020-12-16 14:54:02 +01:00
Jenkins nymea
64b2b0497c
Merge PR #10 : Initial attempt to start documenting things
2020-02-23 23:38:07 +01:00
Jenkins nymea
21cb545ad5
Merge PR #9 : Allow clients with protocol version 3.1.0 to connect to the server
2020-02-23 23:38:07 +01:00
Simon Stürz
ab29879f4e
Add inmodule for classes and provide the classes list in the index.qdoc
2020-02-21 13:10:39 +01:00
Simon Stürz
c826a165b8
Add qdoc configuration file for standalone build and create index.html for classes overview
2020-02-21 13:02:50 +01:00
Michael Zanetti
c6f48d2229
Initial attempt to start documenting things
2020-02-21 12:53:27 +01:00
Michael Zanetti
c2b6ad87f0
Allow clients with protocol version 3.1.0 to connect to the server
2020-02-14 10:47:59 +01:00
Michael Zanetti
3d40b827b8
Fix a memory leak reported by valgrind
2020-02-09 16:05:24 +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
98a3144687
Fix install prefix and add a pkg-config file
2019-07-16 13:43:44 +02:00
Michael Zanetti
4e32a9b273
PRoperly fix the install path by querying qmake
2019-04-17 13:52:49 +02:00
Michael Zanetti
f4b897cb1d
Don't set install path in project file
2019-04-16 20:14:20 +02:00
Michael Zanetti
681e538306
Fix a crash when a client connects and disconnects without sending any data.
...
The guard for forcing the client to send data within 10 seconds after connecting
hadn't been stopped again if the client disconnects on it's own.
2019-04-12 18:09:51 +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
63e8f2055e
add close() and isListening() to MqttServer
2018-11-14 02:37:23 +01:00
Michael Zanetti
68856ef56c
make it build with Qt 5.6
2018-11-13 02:38:40 +01:00
Michael Zanetti
3752529bc5
add debian packaging
2018-11-13 02:06:27 +01:00
Michael Zanetti
d692ff02fb
remove debug prints
2018-11-13 01:53:11 +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