-
Notifications
You must be signed in to change notification settings - Fork 286
Closed
Labels
discussionConverstationConverstation
Description
I'm been doing some work on the https://github.com/marvinroger/async-mqtt-client/tree/develop branch lately.
It should solve lots of the current issues. The main improvement is that outgoing messages are queued and the memory is only freed after the TCP ack allowes to do so.
- β Sending in QoS 0, 1 and 2 is supported for messages as large as memory permits.
- Receiving is supported in all three QoS levels. Messages are still directly passed to the API, in chuncks (you get an index, length and total). QoS 2 messages will be delivered "once completely", meaning that it is possible that you get parts of QoS 2 messages more than once. (OTA over MQTT is still possible)
- β You don't have to wait for messages to be sent before disconnecting. The disconnect signal will be queued and the client will only disconnect once the previously queued messages are sent.
β : although the API remained unchanged, the exlamation mark denotes a change in behaviour.
I'm looking forward to feedback. I do like positive feedback π, but I'm more interested in the negative ones. I still have to go through the list of mandatory statements of the MQTT specification. TLS is also untested but there has been no change in that part of the code.
luebbe, olonsoft and romkey
Metadata
Metadata
Assignees
Labels
discussionConverstationConverstation