- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can we subscribe to multiple topics in the client?
We need this in order to remote control a client. Using messages under only one topic is not a solution for me.
The README document in the SDK 4.1 under libraries/protocols/MQTT states the restriction:
"- Subscribe method currently supports subscribing one filter at a time."
Does this restriction still exist?
If yes, what does "at a time" mean exactly?
Thanks for supporting!
Solved! Go to Solution.
- Tags:
- cc3200
- mqtt subscribe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello klaus2
Currently our MQTT libraries will not support subscribing multiple topics in single subscribe message. You need to subscribe the topics separately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello klaus2
Currently our MQTT libraries will not support subscribing multiple topics in single subscribe message. You need to subscribe the topics separately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Rash,
Does this mean that we can call the function wiced_mqtt_subscribe() for each of say 4 topics and the wait in parallel on these topics?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, Logically this should be the way. Please try and let me know if you need any assistance.