mqtt gateway qos
-
Hi,
I was thinking about message delivery quality in MySensors network. It is pretty easy to make sure that the node will deliver message to the gateway by sending it over and over until the ack comes back. The node has limited (and known) number of messages it can send, they may be statically defined. This makes it easy to implements such assurance on the node side. But on the gateway side it is not so easy, because the gateway would need to dynamically track which messages got acks and wich not. BUT, there is mqtt which solves that problem for us. What if a mqtt gateway would implement the qos > 0 in such a way that when gateway do not receive ack from the node it would not inform the mqtt broker that it received the message ? It would pass the whole logic of resending message to mqtt broker which propably run in much less constrained environment.