Recent

Author Topic: Lazarus MQTT Client - Server - raspberry  (Read 1347 times)

Mi-Ki

  • Jr. Member
  • **
  • Posts: 74
Lazarus MQTT Client - Server - raspberry
« on: February 18, 2024, 10:53:57 am »
Good day.
Recommend some MQTT Client - Server
Thank you.

bobihot

  • New Member
  • *
  • Posts: 36
Re: Lazarus MQTT Client - Server - raspberry
« Reply #1 on: February 18, 2024, 04:54:43 pm »
I was found ago a Delphi DLL and modify and using for Lazarus. I think was loading here, now not find it. Now I looking in my archives

Thaddy

  • Hero Member
  • *****
  • Posts: 14356
  • Sensorship about opinions does not belong here.
Re: Lazarus MQTT Client - Server - raspberry
« Reply #2 on: February 18, 2024, 05:10:44 pm »
https://github.com/prof7bit/fpc-mqtt-client
https://github.com/ZiCog/mqtt-free-pascal
But there are more, including servers, although some of those are commercial.
Both are good clients.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.


Mi-Ki

  • Jr. Member
  • **
  • Posts: 74
Re: Lazarus MQTT Client - Server - raspberry
« Reply #4 on: February 20, 2024, 08:40:34 am »
I tried some clients.
I can't find some good serve. :(

rvk

  • Hero Member
  • *****
  • Posts: 6161
Re: Lazarus MQTT Client - Server - raspberry
« Reply #5 on: February 20, 2024, 08:46:50 am »
I can't find some good serve. :(
I found at least 2 server codes in that list.
What was wrong with them?

Because if you can't tell us that, we can't advise you.

Thaddy

  • Hero Member
  • *****
  • Posts: 14356
  • Sensorship about opinions does not belong here.
Re: Lazarus MQTT Client - Server - raspberry
« Reply #6 on: February 20, 2024, 08:47:53 am »
you can install mosquitto and mosquitto-dev. One of the links contains Pascal headers for it. That is more or less the official code and runs on Raspberry Pi OS and Ubuntu on Raspberri Pi. (All of them, 1 to 5)
See here:
https://github.com/sigmdel/mosquitto-p
I played with it yesterday. It is in the default repository.
(This is client code, but a server can be written with it is well )
« Last Edit: February 20, 2024, 09:32:17 am by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

Mi-Ki

  • Jr. Member
  • **
  • Posts: 74
Re: Lazarus MQTT Client - Server - raspberry
« Reply #7 on: February 21, 2024, 08:15:21 am »
Thank you.
I try this.
https://github.com/bkeevil/mqtt/tree/master/Apps
There is a client and a server

af0815

  • Hero Member
  • *****
  • Posts: 1291
Re: Lazarus MQTT Client - Server - raspberry
« Reply #8 on: February 21, 2024, 08:25:08 pm »
I think this is a good choice, working here. Some dependencies can be easier solved,  but it is working for years here.
regards
Andreas

 

TinyPortal © 2005-2018