Closed pspeirs closed 2 years ago
Hi, I've used the following line to call mqtt_publish with the QOS 1 flag and I appear to only be sending QoS 0 out to the broker.
//mqtt_publish(&client, mqtt_topic_name, mqtt_msg_buffer, strlen(mqtt_msg_buffer), MQTT_PUBLISH_QOS_0); mqtt_publish(&client, mqtt_topic_name, mqtt_msg_buffer, strlen(mqtt_msg_buffer), MQTT_PUBLISH_QOS_1);
Seems pretty simple, so any help would be awesome.
Apologies, I should read the protocol documentation fully.
Hi, I've used the following line to call mqtt_publish with the QOS 1 flag and I appear to only be sending QoS 0 out to the broker.
Seems pretty simple, so any help would be awesome.