Commit graph

17 commits

Author SHA1 Message Date
eaecdbe36c Bugfix: Payload encoding for PUBLISH on QoS 0
Re #19
2018-07-31 00:18:13 +02:00
7a2f11d76b Hide server-only functionality for client builds and vice versa.
Coverage and Test targets forcefully enable both sides to do their things.

Re #17
2018-07-30 23:25:55 +02:00
31840ad65d Improvement: Clean up duplicated code
Re #18
2018-07-30 22:49:55 +02:00
afc0d3aa27 Bugfix: Do not allow DUP flag for QoS 0
Re #11
2018-07-30 22:20:10 +02:00
0a56f00222 Better error logging 2018-07-30 22:06:32 +02:00
5d746b6787 Cleanup whitespace 2018-07-30 02:57:40 +02:00
df5faa77c9 Bugfix: Buffer position overflow because of terminating NULL byte the library adds to payload 2018-07-30 02:56:46 +02:00
31cf6d965d Bugfix: Some packets need fixed flags in header, missed that in the spec 2018-07-30 02:54:37 +02:00
091e6bf4b9 General cleanup 2018-07-29 03:41:55 +02:00
2a169cc58e Finish packet decoder 2018-07-28 22:35:40 +02:00
4d7690366d Start implementing decoders 2018-07-28 20:42:18 +02:00
616a8987cb Bugfix: While testing decoding some bugs appeared 2018-07-28 20:41:48 +02:00
dbcc491a5d Bugfix: Unsubscribe package was 2 bytes short 2018-07-28 17:59:10 +02:00
c82b157c15 Bugfix: Subscribe package was 2 bytes short 2018-07-28 17:58:45 +02:00
6590736a9d Bugfix: Missing flags in publish message 2018-07-28 17:58:20 +02:00
7a03c95889 Bugfix: Segmentation fault when publishing without message 2018-07-28 17:57:54 +02:00
6ff7d2a841 Implement packet encoder, start writing tests 2018-07-28 02:30:41 +02:00