Delphi-TMQTT2
Delphi-TMQTT2 copied to clipboard
MQTT client for Delphi
Your flag handling isn't working at all - only if the default values are "accidentally" correct. Sample: MQTT := TMQTT.Create(eIP.Text, StrToInt(ePort.Text)); MQTT.Username := eUsername.Text; MQTT.Password := ePassword.Text; MQTT.WillTopic := '';...
I implemented an MQTT dashboard for Win64 using the unit MQTT. When an item from a list box of subscribed topics is selected, a button to unsubscribe the selected item...
The component library is somehow broken, if used with mosquitto releases after March 2021. Does anybody know hoe to fix it?
Hello, When I´m suscribed in a topic and the message in larger than 128 characters the system fails with the error "The MSB-LSB 2 bytes structure must be 2 Bytes...
When having: if MQTT.Connect then one get's True as return value even if the connect failed. Suggestion: in CONNACK the "Connect Return code" should be checked; any value other than...
1、Use mosca mqtt server https://github.com/mcollina/mosca 2、code ## create: MQTT := TMQTT.Create(jsonSetting.S['mip'], jsonSetting.I['mport']); MQTT.WillTopic := 'pubmsg'; MQTT.WillMsg := 'Broker died!'; // Events MQTT.OnConnAck := GotConnAck; MQTT.OnPublish := GotPub; MQTT.OnPingResp := GotPingResp;...