This library was made based on MQTT Protocol
Installation instructions:
- Copy the .xml and .jar(s) files to your custom libraries folder
- Select in your REFERENCED LIBRARIES
	Version history:
V1.0 (First public release - Donationware):
- Initial version
MQTT
Author: Alberto Iglesias - alberto@visualnet.inf.br
Version: 1.01
- MQTT
Events:- connectionlost ( As )
 - deliverycomplete (Token As String)
 - messageArrived (Topic As String, Message As String)
 - onConnect (Status as boolean As )
 - onDisconnect (Status as boolean As )
 - onInitialized ( As )
 
- CleanSession As Boolean
 - KeepAliveInterval As Int
 - QoS_AtLeastOnce As Int
 - QoS_AtMostOnce As Int
 - QoS_ExactlyOnce As Int
 - generatedClientId As String
 
- About As String
 - Connect (broker As String, ClientID As String, Username As String, Password As String) As Boolean
 - Disconnect As Boolean
 - Initialize (eventname As String)
 - Publish (Topic As String, Message As String, Qos As Int, Retained As Boolean)
 - Subscribe (Topic As String)
 - Unsubscribe (Topic As String)
 - Version As String
 - isConnected As Boolean
 
 
	How works the MQTT protocol
	Communication Infrastructure
	References:
http://mqtt.org/
http://public.dhe.ibm.com/software/dw/webservices/ws-mqtt/mqtt-v3r1.html
Mosquitto Broker: http://mosquitto.org/
* This version is fully functional, the only one difference is when publishing a message the text "Donationware" is delivery with your message.
Please consider a simple €10 donation and I send to you the Library without "Donationware" text in a publish method.
Already available in B4A too:
https://www.b4x.com/android/forum/threads/mqtt-mq-telemetry-transport-for-b4a.48167/
Already available in B4i too:
https://www.b4x.com/android/forum/threads/mqtt-mq-telemetry-transport-for-b4i.50036/
Works on MAC
	Works on Windows
	Attachments
			
				Last edited: