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
Diego Barrios Romero
e94672fd96
Small improvements ( #27 )
...
* Return error instead of panicking if reader buffer is inadequate
* Simplify loop
* Remove unnecessary mut
* Simplify increment
* Improve variable name
* Simplify loop
* Simplify loops
* Improve documentation and simplify loop
2023-04-03 14:28:57 +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
37bf023dbf
Fix property issue
2022-04-28 15:55:57 +02:00
Ondrej Babec
bf0bc29578
Remove drogue example
2022-04-28 14:27:09 +02:00
Ondrej Babec
d993457add
Rust MQTT
2022-03-12 15:56:37 +01:00
Ondrej Babec
c8ee05821a
Integration tests
2022-03-10 10:13:40 +01:00
Ondrej Babec
21e929c7ed
First integration
2022-03-09 16:27:04 +01:00
Ondrej Babec
edb07d94d3
Tests
2022-03-09 09:14:37 +01:00
Ondrej Babec
6085319aec
Refactor packages
2022-03-04 15:40:13 +01:00
Ondrej Babec
3c00a7b81d
Add subscription to multiple topics
2022-03-04 15:32:11 +01:00
Ondrej Babec
57f0304d35
Clean warnings and delegate errors
2022-03-04 13:30:49 +01:00
Ondrej Babec
80c0e25eda
Add licences
2022-02-27 19:41:21 +01:00
Ondrej Babec
4eaa83bf1c
Error handling
2022-02-27 15:48:09 +01:00
Ondrej Babec
3cb9de0371
Working example of client
2022-02-26 15:12:19 +01:00
Ondrej Babec
a862637a77
Custom scope
2022-02-25 16:49:48 +01:00
Ondrej Babec
5729feef15
Type issue
2022-02-25 16:35:46 +01:00
Ondrej Babec
cc6498a76f
Fix async
2022-02-25 16:20:55 +01:00
Ondrej Babec
7b7c8aa2aa
Optimize
2022-02-25 15:41:04 +01:00
Ondrej Babec
1e3f8e8302
Futures
2022-02-25 15:19:28 +01:00
Ondrej Babec
e660f8ead2
Async
2022-02-25 14:17:58 +01:00
Ondrej Babec
1918930761
Client first
2022-02-25 09:31:16 +01:00
Ondrej Babec
5fda98525c
Clean up
2022-02-21 16:23:36 +01:00
Ondrej Babec
4ed1c7bd2b
Get rid of constants
2022-02-21 15:30:57 +01:00
Ondrej Babec
963040026a
Complete encode
2022-02-21 15:08:56 +01:00
Ondrej Babec
6f0d2d5de4
Fixed failures
2022-02-20 15:49:34 +01:00
Ondrej Babec
7218cb2a06
Encoding
2022-02-20 14:18:31 +01:00
Ondrej Babec
e4c3505aaf
Start encoding and refactor
2022-02-20 13:25:44 +01:00
Ondrej Babec
5c814d7501
Create all packets
2022-02-18 15:27:18 +01:00
Ondrej Babec
332472f64a
First packet decoded
2022-02-10 15:59:41 +01:00
Ondrej Babec
b0c1d41fcc
Fixes
2022-02-10 14:04:21 +01:00
Ondrej Babec
bdd5720c28
Ownership problem
2022-02-10 13:32:52 +01:00
Ondrej Babec
8a638bba29
Refactor buffer reader
2022-02-09 14:29:26 +01:00
Ondrej Babec
2f1c317e11
Add property decoding
2022-02-08 11:21:18 +01:00
Ondrej Babec
7446fcba04
More work
2022-02-06 13:44:47 +01:00
Ondrej Babec
f0b9a1a272
Encoding&Decoding
2022-02-06 13:44:26 +01:00
Ondrej Babec
0c773fbf0c
Continue work
2022-02-02 16:15:09 +01:00
Ondrej Babec
d661609e7c
Initial development commit
2022-02-02 13:21:14 +01:00