i can't seem to find a way to subscribe to more than just one topic using the .topicfilter("topic/test) . anybody got an idea how to make it subscribe to list of topics ?
How to subscribe to multiple mqtt topics in android hive MQ client
345 views Asked by joghm At
1
There are 1 answers
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in KOTLIN
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- ussd reader in Recket Native module
- making android analyze with coverity sast tool
- Jooq - Insert does not update object with generated id
- Doesn't work TrafficStats.clearThreadStatsTag() in Kotlin
- Difference between map and function returning when in Kotlin
- Every Time i run the app it gives me an error related to gradle
- How Do I Create A Path In The pubspec.yaml File?
- Android jetpack compose webview, image selector not works
- Why doesn't CIOEngine have a dispatcher in kotlin script?
- preventing duplicate text
- onCompletion(mp: MediaPlayer?) is unintentionally called after USB storage is connected
- When using a Room database on an Android application, is it possible to pre-populate data
- Jetpack compose - how I can hookup LiveData property from ViewModel with TextField in activity?
- Failed to getEnergyData
Related Questions in MQTT
- How do I publish sensor data to EMQX broker on Ubuntu from a remote Arduino (no WiFi) interfaced with SIM800L?
- What are the implications of Flask-MQTT statement, "Flask-MQTT is currently not suitable for the use with multiple worker instances?"
- How can I add a suffix to an MQTT topic
- ESP8266 - Unable to connect to MQTT Server via SSL (mutual authentication)
- paho mqtt java cannot reconnect after a long time machine sleep
- Frequent message loss with MQTT
- Block MQTT port from windows firewall
- HMI - JMobile Log while connecting with EMQX server
- Sending large files over MQTT / mosquitto - limit at 4MB
- QoS2 messages are not deleted when the limit is reached
- What makes MQTT a raw tcp connection that we can't run it in the browser?
- RabbitMQ - consume messages from a classic queue to a MQTT connection
- Tsung MQTT Loadtest not working with SSL, finding possible way to disable ssl verification during load test
- How to get my data to actually show up in the DynamoDB?
- Unable change Transport type to MQTT in thingsboard device profile
Related Questions in PUBLISH-SUBSCRIBE
- How to avoid duplicates with the pull-based subscribe model?
- What's the right ZMQ architecture for my scenario?
- App didn't recieved a gcp pubsub message for a minute
- bun runtime doesnt work with SKD ably javascript starting v2.0.0
- How would the Broker pattern look like in Rust?
- akka PubSub not working across distributed system
- Google PubSub Lite one subscriber with multiple partitions
- I have a question about the Pub/Sub structure of Redis
- RabbitMQ. Client cannot publish message to queue
- Pull PubSub Message through Proxy server - Python
- Android server notification implementation in app purchase
- FastDDS Publisher and Subscriber won't match in demo code
- How to subscribe/consume multiple topics from multiple subscriptions declaratively with Dapr pub/sub component?
- How to subscribe/consume multiple topics from multiple subscriptions programmatically with Dapr pub/sub component?
- Enforce Unique Publisher/Producer on a Azure Service Bus Topic
Related Questions in HIVEMQ
- Calling a suspend function from legacy library on background thread
- Paho MQTT 'Unsupported callback API version' error
- how to connect my hivemq to test application like MQTTX
- Kafka Connect MQTT Connector Source: Error Creating Source Connector with HiveMQ Testcontainer - URI Configuration Issue
- Connecting mqtt.js client to local hivemq broker running in docker fails
- Connecting to hivemq in kotlin
- Unable to Connect to any MQTT Broker from my Local machine using HiveMQ Async Clienr
- Support for shared subscription in EdgeXFoundry Jakarta 2.1 release
- "NO_CIPHERS_AVAILABLE", Unable to get flask_mqtt to work with hiveMQ cloud based mqtt broker (TLS)
- Python and MQTT foreverloop error ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:2423)
- HiveMQ client fails authentication
- Hive mq client connection lost
- How to subscribe to multiple mqtt topics in android hive MQ client
- Mqtt Last Will & Testament (LWT) message - issues with the timing of the LWT message
- Get permission to make changes on project with Apache License 2.0
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
@joghm!
Most certainly - the typical way this is implemented is by using multiple .addSubscription calls within a .subscribeWith().
Here is an example using the HiveMQ MQTT Java client (which I believe is the client in use here) and an MQTT3 client implementation :
More specific details can be found on the HiveMQ Community forum at this link : https://community.hivemq.com/t/subscribe-to-two-different-topics/137.
Please feel free to reach out on the community forum, as well, if there are any further questions regarding HiveMQ's libraries!
Best, Aaron from the HiveMQ Team