MQTT unsubscribe #2662
MQTT unsubscribe
#2662
-
|
Hi, what is the canonical API to unsubscribe? seems not present... |
Beta Was this translation helpful? Give feedback.
Answered by
scaprile
Mar 25, 2024
Replies: 2 comments
-
|
No, we don't have one. Mongoose is not a generic client like mosquitto_sub, embedded systems usually subscribe to their corresponding topics and stay subscribed. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
scaprile
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, we don't have one. Mongoose is not a generic client like mosquitto_sub, embedded systems usually subscribe to their corresponding topics and stay subscribed.
You can check the broker example/tutorial for a grasp on a lower level and write your own if you need it.
https://mongoose.ws/documentation/tutorials/mqtt-server/