I followed the instructions for building 4DIAC FORTE with Paho on a Raspberry Pi 4B. I got a clean build of FORTE which runs non-Paho 4DIAC applications as expected.
When I try to configure the pub/sub function blocks for MQTT, I get an “INVALID_ID” error (followed by “NO_SOCKET” on the publisher). I have tried with both a public broker and also Mosquitto on my local /24 net.
I have also experimented with various forms of the ID string.
I have taken no steps in Mosquitto to authenticate the clients. If this is the problem, how can I rectify that?
I have attached a copy of the 4DIAC configuration screen with debug shown (I have been manually INITing the blocks for debugging).
The ID configuration string (a bit hard to read in the picture) is: raw.mqtt[tcp://192.168.0.185:1883,fortedev,foobar/in]
Thanks in advance,