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:
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
Last edited: