On Fri, 21 Oct 2022 16:32:17 +0200, Koenraad Lelong via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:

>FWIW,
>I'm using MQTT via cmd-line. I.e. I call
>  ExecuteProcess(MQTTExec,MQTTStrArr);
>while MQTTExec is /usr/bin/mosquitto_pub
>
>That's on a linux-server.

I can use mosquitto for the pub part because that is a one-timer for each
message to send.
The problem is the other side, the client subscribing to the data...

Here the mosquitto_cli is running constantly and printing data as they come in
to the terminal window.
How can I pick that up from an application that will handle the data and do
something other than wayching the screen?

If I could get at each output that mosquitto_cli writes into a script or such
then I would be good to go.


-- 
Bo Berglund
Developer in Sweden

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to