Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » Paho in 4DIAC FORTE on Raspberry Pi 4B - won't initialise(Paho in 4DIAC FORTE on Raspberry Pi 4B - won't initialise)
Paho in 4DIAC FORTE on Raspberry Pi 4B - won't initialise [message #1839525] Tue, 23 March 2021 11:16
Neil Higgins is currently offline Neil HigginsFriend
Messages: 18
Registered: September 2016
Location: Brisbane
Junior Member
I also sent this to the mailing list - sorry if that was incorrect.

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,
Neil
  • Attachment: MQTT.JPG
    (Size: 266.86KB, Downloaded 95 times)
Previous Topic:control publish rate of generated persistent messages
Next Topic:Java paho tls_set equivalent like in python
Goto Forum:
  


Current Time: Fri May 03 13:00:02 GMT 2024

Powered by FUDForum. Page generated in 0.03351 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top