The feature of Request/Response in MQTT version 5

hello, in MQTT version 5 the Request/Response feature , Could you clarify whether is the publisher, after initiating a request, receives a response from the subscriber? and could you provide a basic code example for both the publisher and subscriber to test it and add it to my code
4 Replies
Umesh Lokhande
Umesh Lokhande7mo ago
Yes, the subscriber sends back a response message to publisher
wafa_athmani
wafa_athmani7mo ago
Do you know how to do it?!
Umesh Lokhande
Umesh Lokhande7mo ago
I'd suggest download python scripts from online sources like ChatGPT for publisher and subscriber and evaluate the feature. I never needed to implement. As it comes as a feature of MQTTv5
wafa_athmani
wafa_athmani7mo ago
I tried what you suggest, am not sure from chatgpt codes because I don't get the same output as it does! ( as i understand respond with data or notification or something like that...)
Want results from more Discord servers?
Add your server