3 Commits
Author SHA1 Message Date
Matous Hybl 482b7895e1 Make QOS and retain part of the publish API, add raw client, fix clippy warnings, update e-io version (#25) 2022-12-24 12:18:52 +01:00
Matous Hybl d224254d51 Improve send_message, recv_message API, add support for encoding last will, fix decoding of QOS (#24)
* recv_message now returns topic as well as data
* send_message accepts byte slice instead of &str
* Add last will encoding
* Fix QOS decoding
2022-09-26 10:37:17 +02:00
Matous Hybl 3ec92b2e81 Fix packet decoding for cases of dropped connection and decoding of ping responses (#22)
* Report network error when receiving packet with zero len

* Fix receiving packets with zero payload length
2022-09-13 10:06:27 +02:00