Commit Graph

3 Commits

Author SHA1 Message Date
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
Ulf Lilleengen
03546536b2
Use traits from embedded-io (#19)
* Use embedded-io and embedded-nal-async

Rather than rolling it's own trait implementations, make use of the
traits from embedded-io for connection read/write and embedded-nal-async
for connection close.

Remove NetworkConnectionFactory abstraction. If needed, the TcpClient
abstraction from e-n-a can be used.

* Remove unneeded tokio feature
2022-06-20 09:55:33 +02:00
Ondrej Babec
bf0bc29578
Remove drogue example 2022-04-28 14:27:09 +02:00