16.05.2020, 15:07
Hi Daniel,
I see in your last sample that you have added the field "qos" (quality of service), i have a couple of questions about that:
For the qos, when i set it to 1 how do we handle the PUBACK packet? If we set it to 2 how do we handle the PUBREC, PUBREL and PUBCOMP packages? Is this handled in the lib already and the re-sending of a topic value is automatically handled and we don't have to take care of this in the client script?
Another question is: Can we simply set a extra field 'lwt' in the object to mqtt table to set the last will and testament message?
BR,
Erwin
I see in your last sample that you have added the field "qos" (quality of service), i have a couple of questions about that:
For the qos, when i set it to 1 how do we handle the PUBACK packet? If we set it to 2 how do we handle the PUBREC, PUBREL and PUBCOMP packages? Is this handled in the lib already and the re-sending of a topic value is automatically handled and we don't have to take care of this in the client script?
Another question is: Can we simply set a extra field 'lwt' in the object to mqtt table to set the last will and testament message?
BR,
Erwin