Questions tagged [paho]

Paho is an Eclipse project has been created to provide scalable open-source implementations of open and standard messaging protocols like MQTT aimed at new, exisiting, and emerging applications for Machine-to-Machine (M2M) and Internet of Things (IoT).

1173 questions
-3
votes
1 answer

Mqtt Service in conjunction with MqttAndroidClient

I have an app that is using Mqtt service with notifications set up. However, the client is not receiving messages when the app is forcefully closed. I notice that there is MqttServce. How do I use it in conjunction with the Android client?
lawonga
  • 832
  • 10
  • 20
-5
votes
1 answer

mqtt in C giving Error -1

Working on a driver development, I'm try to publish my data with MQtt in C its running but giving me Error code -1 (MQTTCLIENT_FAILURE you can see in that picture ) I installed ActiveMQ broker in my system and test in MQTTbox that its working…
-6
votes
2 answers

Why an instance of class MqttClient must be enclosed by try/catch?

I'm trying to figure it out. I have this line of code: MqttClient Client = new MqttClient(Broker, ClientId, Persistence); But shows an "Unhandled exception" error. So I fixed it by enclosing it with a try/catch. try { MqttClient Client =…
elwholer
  • 99
  • 1
  • 7
1 2 3
78
79