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
Ondrej Babec
74f6e49507
Release 0.1.1
2023-01-07 17:22:45 +01: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
Ondrej Babec
3c07869868
Release the embassy async changes
2022-06-20 12:42:57 +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
4845bb20aa
Change readme for example
2022-04-28 14:44:29 +02:00
Ondrej Babec
d9f9529219
Bump the version
2022-04-28 14:31:19 +02:00
Ondrej Babec
155ad1910e
Add repository
2022-04-28 14:28:47 +02:00
Ondrej Babec
bf0bc29578
Remove drogue example
2022-04-28 14:27:09 +02:00
obabec
d4f5e05ba6
Publish workflow ( #15 )
...
* Publish workflow
2022-04-28 14:11:40 +02:00
obabec
2693c01e9c
Rand and Unsubsribe ( #14 )
...
* Rand and Unsubsribe
2022-04-28 13:39:47 +02:00
Ondrej Babec
740733e652
Add trace log
2022-04-25 09:30:50 +02:00
obabec
ffb221329b
Reading in loop trace ( #13 )
2022-04-25 08:51:48 +02:00
Ondrej Babec
2ce16b8937
Increase logging3
2022-04-16 12:15:36 +02:00
Ondrej Babec
3da5ab5960
Increase logging2
2022-04-16 12:02:19 +02:00
Ondrej Babec
2d6d22fd84
Increase logging
2022-04-16 11:58:48 +02:00
Ondrej Babec
0e7bdadf58
Increase read capabilities
2022-04-16 11:51:22 +02:00
Ondrej Babec
913a849cdf
Propagate buffer failure5
2022-04-14 16:54:12 +02:00
Ondrej Babec
008cee8a11
Propagate buffer failure4
2022-04-14 16:52:36 +02:00
Ondrej Babec
1c6970e56f
Propagate buffer failure3
2022-04-14 16:39:35 +02:00
Ondrej Babec
d36b522c83
Propagate buffer failure2
2022-04-14 16:27:10 +02:00
Ondrej Babec
523ff7145e
Propagate buffer failure
2022-04-14 16:22:53 +02:00
obabec
9109672b85
Load ( #12 )
...
* Load testing
2022-04-09 15:37:44 +02:00
obabec
96be69c520
Prepare client for future v3 support ( #11 )
...
* Prepare client for future v3 support
* Add hiveMQ
2022-03-31 13:34:26 +02:00
obabec
19087016a6
Fix read ( #9 )
...
* Add receive function
2022-03-17 09:16:59 +01:00
obabec
b58e8318b6
Move tests and latest rust ( #8 )
...
* Move tests and latest rust
2022-03-16 11:38:30 +01:00
obabec
9058093065
Add more tests ( #7 )
...
* Add more tests
* Update futures dependency
2022-03-16 09:37:39 +01:00
obabec
ac85cf0158
Merge pull request #6 from obabec/improved-testing
...
Improved testing
2022-03-16 08:54:55 +01:00
Ondrej Babec
4baceade72
Embedded
2022-03-15 15:24:28 +01:00
Ondrej Babec
7e10c2b0a4
Delete examples
2022-03-13 09:40:06 +01: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
obabec
ff287dc451
Merge pull request #3 from obabec/error-delegation
...
Error delegation
2022-03-04 15:40:57 +01:00
Ondrej Babec
6085319aec
Refactor packages
2022-03-04 15:40:13 +01:00
Ondrej Babec
d28aec782b
Add Rng to cargo
2022-03-04 15:33:26 +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
obabec
1978797de1
Merge pull request #2 from obabec/simple-client
...
Working client prototype
2022-02-27 19:41:56 +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