Recent

Author Topic: MQTT made easier...  (Read 2087 times)

cdbc

  • Hero Member
  • *****
  • Posts: 2462
    • http://www.cdbc.dk
MQTT made easier...
« on: February 09, 2025, 12:01:58 pm »
Hi
edit:  Version 1.10.09.2025 of mqtt-311 released on Gitlab
Ok, so I've been busy  ...playing with MQTT, what good fun, that is \o/
@MI-KI put me on the track with a question here in the forum and I took the bait  :D
Some of you may have followed said thread, but now I've come so far, that I think I can share my work with you (it's still in motion).
Get it while it's hot
Have fun & let me know what you think  8-)
Regards Benny
« Last Edit: September 10, 2025, 03:55:20 pm by cdbc »
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6 -> FPC 3.2.2 -> Lazarus 4.0 up until Jan 2025 from then on it's both above &: KDE6/QT6 -> FPC 3.3.1 -> Lazarus 4.99

avra

  • Hero Member
  • *****
  • Posts: 2566
    • Additional info
Re: MQTT made easier...
« Reply #1 on: February 09, 2025, 05:03:13 pm »
Nice. Do you have any plans to support Sparkplug B?
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

cdbc

  • Hero Member
  • *****
  • Posts: 2462
    • http://www.cdbc.dk
Re: MQTT made easier...
« Reply #2 on: February 09, 2025, 07:10:17 pm »
Hi avra
Thanks mate  :)
TBH I didn't know Sparkplug B existed, until you mentioned it...  %)
Mind you, I have only /played/ with MQTT for 50 days, so you might call me a "Green Horn"... My thoughts were to sniff around in the authentication section next, to see what I could come up with...
A quick read, tells me, that Sparkplug B is a higher layer on top of MQTT, that lets you structure (and scale) your data and comms better... That is definitely not my 'peak competence'  ;D
So no, for the time being I'll leave that alone, but maybe some day...
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6 -> FPC 3.2.2 -> Lazarus 4.0 up until Jan 2025 from then on it's both above &: KDE6/QT6 -> FPC 3.3.1 -> Lazarus 4.99

Michael Collier

  • Sr. Member
  • ****
  • Posts: 329
Re: MQTT made easier...
« Reply #3 on: July 29, 2025, 04:46:33 pm »
Hi Benny

(Coming from thread..
https://forum.lazarus.freepascal.org/index.php/topic,43400.msg561893.html#msg561893
)

Thanks for uploading this, the username and password works for me :)

I added edit boxes for username & password on the main form, and assigned values to the mqtt client.


cdbc

  • Hero Member
  • *****
  • Posts: 2462
    • http://www.cdbc.dk
Re: MQTT made easier...
« Reply #4 on: July 29, 2025, 07:43:43 pm »
Hi
Cool  8-)
Glad you like it and got it to work =^ (thumb's up)
Yup I too, had a lot of fun playing with mqtt
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6 -> FPC 3.2.2 -> Lazarus 4.0 up until Jan 2025 from then on it's both above &: KDE6/QT6 -> FPC 3.3.1 -> Lazarus 4.99

cdbc

  • Hero Member
  • *****
  • Posts: 2462
    • http://www.cdbc.dk
Re: MQTT made easier...
« Reply #5 on: September 10, 2025, 03:57:57 pm »
Hi
Right, so finally I got around to updating this Gitlab repo, with compiler-switches to cater for the upcoming FPC 3.2.4 \o/\ö/\o/
Have fun and happy coding  8-)
Regards Benny
« Last Edit: September 10, 2025, 06:05:27 pm by cdbc »
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE6 -> FPC 3.2.2 -> Lazarus 4.0 up until Jan 2025 from then on it's both above &: KDE6/QT6 -> FPC 3.3.1 -> Lazarus 4.99

 

TinyPortal © 2005-2018