Commit Graph

9 Commits

Author SHA1 Message Date
a040fef484
Updated embedded-io 2023-08-26 18:04:30 +02:00
3546692bcd
Automatically get buffer len in MqttClient 2023-08-26 18:04:00 +02:00
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
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
e47667156d
Update documentation 2022-05-05 07:47:07 +02:00
obabec
63314fc867
Tls support (#16)
* TLS support
2022-05-02 10:43:42 +02:00
Ondrej Babec
bf0bc29578
Remove drogue example 2022-04-28 14:27:09 +02:00