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
Yes, the subscriber sends back a response message to publisher
Do you know how to do it?!
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
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...)