Send command/data from Android directly to Embedded System via MQTT protocol

Home - Send command/data from Android directly to Embedded System via MQTT protocol

Michael Aditya asked 2 years ago

Hi, I want to send command/data from Android directly to Embedded via MQTT protocol; For instance, when I press a button in my Mesosfer Android app, it directly sends a command to turn on/off the lamp to my embedded system, and it will process that command in ‘real time’.
I’m planning to use an additional library, the Paho Android MQTT client library by Eclipse, but I’m wondering if there is a more efficient way to get it done without using an additional library (just using Mesosfer API)?
 
Thank you 🙂

2 Answers
Badrullami Staff answered 2 years ago

Hi Aditya,
Unfortunately, Android SDK for sending command to Embedded via MQTT has not avaliable. We will try provide it later.
For a while you can using and additional library such as Paho according to your plan.
Thanks.

Michael Aditya replied 2 years ago

Okay, thank you for your answer. Hope you will be able to provide it soon.

Girly Saputri Staff answered 2 years ago

Hi Aditya,
Are you satisfied with Badrullami’s answer? If yes, then please click the check button to solve this question. 
If you don’t, please let me know what can Mesosfer community do for you.

 

Your Answer