B4J Library jMQTT - Official MQTT client

Status
Not open for further replies.
Implementation of MQTT client based on the Paho open source project: http://www.eclipse.org/paho/

See this tutorial for more information: https://www.b4x.com/android/forum/threads/iot-mqtt-protocol.59471/

jMQTT.zip holds the older version, which is compatible with B4A.
B4J_Only_jMQTT.zip - v1.25 - B4J only.

Note that it is an internal library in B4J.

If building a standalone package then add this to the main module:
B4X:
#PackagerProperty: AdditionalModuleInfoString = provides org.eclipse.paho.client.mqttv3.spi.NetworkModuleFactory with org.eclipse.paho.client.mqttv3.internal.TCPNetworkModuleFactory, org.eclipse.paho.client.mqttv3.internal.SSLNetworkModuleFactory,  org.eclipse.paho.client.mqttv3.internal.websocket.WebSocketNetworkModuleFactory, org.eclipse.paho.client.mqttv3.internal.websocket.WebSocketSecureNetworkModuleFactory;
 

Attachments

  • jMQTT.zip
    152 KB · Views: 3,177
  • B4J_Only_jMQTT.zip
    207.2 KB · Views: 1,198
Last edited:
Top