Skip to content

mqtt qos2 #2836

Discussion options

You must be logged in to vote

I'm sorry, current docs is as far as we will go with this. Any proficient developer should be able to understand that and write application code
#2689
Please see our documentation, and follow the guidelines in our tutorials.
https://mongoose.ws/documentation/tutorials/mqtt/mqtt-client/#sending-qos-2-messages

mongoose/test/unit_test.c

Lines 606 to 635 in 22b52f8

// Publish with QoS2 to subscribed topic and check (simultaneous) reception
// keep former opts.topic
opts.message = mg_str("hi2"), opts.qos = 2, opts.retain = false;
if (mqtt_version == 5) {
opts.props = properties;
opts.num_props = 5;
construct_props(properties);
}
retries = 0; /…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zzzlll111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants