smartrent / jackalope

An opinionated MQTT client library based on Tortoise MQTT
Apache License 2.0
28 stars 5 forks source link

Allow to set qos on publish messages and configure tortoise client #8

Closed gausby closed 3 years ago

gausby commented 3 years ago

This PR will deal with publish and message handling. Currently it is not possible to set a QoS on the publish messages besides 1; QoS=1 and QoS=0 are both allowed on AWS IoT, so I will pass the QoS as an option for publishes, and allow the TortoiseClient to set a default QoS when otherwise not specified.

gausby commented 3 years ago

Merging it now as I think I will restructure the Hare module a bit.