summaryrefslogtreecommitdiffstats
path: root/cloudmqtt-bin
AgeCommit message (Collapse)Author
2024-04-05Rename handle functionsMatthias Beyer
We call these "handle" functions only after receiving information from the server (for now), so there's no decision-process to be implemented by the user. There's no need to be async here, and the user cannot return values to cloudmqtt in this case. Therefore, we call these functions `on_*` because we simply notify the user of something that happened. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2024-04-05Clearify name: We only ack QoS1 packetsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2024-04-05Use MqttClient::builder() to build clientMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2024-04-04Make cloudmqtt-bin use heartbeatsMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2024-04-04Add Ping to cloudmqtt-binMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2024-04-04Rename new method to reflect what it doesMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2024-04-04Adapt cloudmqtt-bin to new modulesMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2024-04-04Use QoS2 in mqtt clientMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2024-04-04Update cloudmqtt-bin to new interfaceMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2024-04-03Wait indefinitely for the background taskMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2024-04-03Use AtLeastOnce in exampleMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2024-04-03Start background task after connectingMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2024-04-02Update cloudmqtt-bin to publish a messageMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2024-04-02Update bin to new client APIMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2024-04-02Rename ClientIdentifier to ProposedClientIdentifierMarcel Müller
The server may or may not accept the client identifier or even give out a new one. The type name should reflect that. Signed-off-by: Marcel Müller <neikos@neikos.email>
2024-04-01Bump tokio from 1.36.0 to 1.37.0dependabot[bot]
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.36.0 to 1.37.0. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.36.0...tokio-1.37.0) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27Add a rudimentary mqtt clientMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2024-03-27Add cloudmqtt binaryMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>