Commit graph

11 commits

Author SHA1 Message Date
790ddec60e Implement server reconnect
Re #2
2018-08-05 23:58:50 +02:00
ccd0ea3bf8 Port to MSVC/Windows
The encode and decode packet tests do not work currently as the compiler does not like the test harnish.

connect - publish and connect - subscribe work though and seem to not crash for now.
It is possible that the mqtt.dll is not working correctly right now, possibly the exports are not right.

Re #21
2018-08-05 02:28:38 +02:00
Johannes Schriewer
6d86f81894 Add _unused macro to publish and subscribe tests 2018-08-03 18:43:48 +02:00
Johannes Schriewer
1981e1a104 Implement keepalive
currently relatively dumb, as the timer does not get reset when
a regular packet is sent.

Re #9
2018-08-03 18:42:48 +02:00
24b9d6c3c6 Eliminate -Wextra warnings 2018-08-01 01:55:32 +02:00
7c3215efcf Implement tests for publish QoS handling and fix found bugs.
Re #1
2018-07-31 01:13:08 +02:00
315e45803f Bugfix: Expose config to error handler to be able to change and reconnect
Re #16
2018-07-30 22:34:28 +02:00
254194dfc6 Add client id sanity check
Re #10
2018-07-30 22:13:37 +02:00
9b89eba536 Set last will in publish test to increase coverage 2018-07-30 22:06:47 +02:00
022b5a87ec Make connect tests work (needs a local MQTT broker) 2018-07-30 02:57:58 +02:00
db273fc8a4 Start implementation of protocol statemachine 2018-07-29 03:43:01 +02:00