Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to deploy Moquette broker in Android?

Can we deploy a Moquette/Mosquitto broker inside Android for MQTT client communication?

I want to deploy a Moquette/Mosquitto broker inside Android and one MQTT client will communicate to another using that broker.

like image 411
yuvi Avatar asked Oct 20 '22 15:10

yuvi


1 Answers

Theoretical speaking, yes you can because Moquette is a java based broker, and Android uses java SDK, but practically, that should not ever be made.

You would need a mqtt client, which in your case, a Java client, such as paho client, and the broker should be running on a real server

like image 191
William Kinaan Avatar answered Oct 29 '22 02:10

William Kinaan